<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
	<channel>
		<language>en_GB</language>
		<title>html2highlight</title>
		<link>http://tobyinkster.co.uk/article/html2highlight/</link>
		<description>====&lt;br&gt;
&lt;p&gt;&lt;span class=&quot;software&quot;&gt;html2highlight&lt;/span&gt; is a a script that converts
an &lt;abbr title=&quot;Hypertext Markup Language&quot;&gt;&lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;&lt;/abbr&gt; or any other &lt;abbr title=&quot;eXtensible Markup Language&quot;&gt;&lt;span class=&quot;caps&quot;&gt;XML&lt;/span&gt;&lt;/abbr&gt;-like &lt;abbr title=&quot;Standard Generalised Markup Language&quot;&gt;&lt;span class=&quot;caps&quot;&gt;SGML&lt;/span&gt;&lt;/abbr&gt; document into a &lt;abbr title=&quot;Hypertext Markup Language&quot;&gt;&lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;&lt;/abbr&gt; page showing the document&amp;#8217;s source code with na&amp;#239;ve syntax highlighting. The output document requires a &lt;span class=&quot;caps&quot;&gt;CSS&lt;/span&gt;-capable browser.&lt;/p&gt;

&lt;p&gt;The colours for the syntax highlighting are inspired by Mozilla&amp;#8217;s &amp;#8220;View Source&amp;#8221; function.&lt;/p&gt;

&lt;p&gt;Although it is a Perl script, it is reasonably efficient. It typically takes about 1 minute to convert a 100&lt;abbr title=&quot;kilobyte&quot;&gt;KB&lt;/abbr&gt; document on my 400&lt;abbr title=&quot;megahertz&quot;&gt;MHz&lt;/abbr&gt; Pentium Celery with 256&lt;abbr title=&quot;megabytes&quot;&gt;MB&lt;/abbr&gt; &lt;abbr title=&quot;random access memory&quot;&gt;&lt;span class=&quot;caps&quot;&gt;RAM&lt;/span&gt;&lt;/abbr&gt;. Output documents are about 2 to 5 times the size of the original.&lt;/p&gt;

&lt;h2&gt;Examples&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The alt.music.bootlegs &amp;lt;abbr title=&amp;#8221;Frequently Asked&amp;#8230;</description>
	</channel>
</rss>
