<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Ross Burton</title><link>http://www.burtonini.com/blog</link><description>A potted account of Ross' life</description><language>en</language><ttl>60</ttl><dc:creator>Ross Burton</dc:creator><admin:generatorAgent rdf:resource="http://pyblosxom.sourceforge.net/"/><admin:errorReportsTo rdf:resource="mailto:ross@burtonini.com"/><item><title>Web Page Thumbnails</title><guid isPermaLink="false">computers/mozilla-thumbnail-20040614</guid><link>http://www.burtonini.com/blog/computers/mozilla-thumbnail-20040614</link><description>Matt Biddulph wrote a nice little hack to create a thumbnail of any URL using Mozilla and Python. In awe ...</description><content:encoded><![CDATA[  <p>
    Matt Biddulph wrote a nice little hack to <a
    href="http://www.hackdiary.com/archives/000055.html">create a thumbnail of
    any URL</a> using Mozilla and Python.  In awe of the coolness this could
    give, I grabbed it and had a quick play.  Matt and myself both spotted the
    deliberate error he introduced in the script he uploaded, then I replaced
    the usage of PIL with GDK (thus doing the rescale in memory without going to
    disk), and fiddle the size of the thumbnail. Et volia:
  </p>
  <p>
    <img src="http://www.burtonini.com/computing/screenshots/burtonini-thumbnail.png" alt="Thumbnail of burtonini.com"/>
  </p>
  <p>
    There are still issues: sadly Mozilla won't render the page to a window
    without the window being visible on screen. Maybe a lower-level API would
    allow this, but for now it does the the job rather well. Well done Matt.  My
    hacked copy is <a
    href="http://www.burtonini.com/computing/screenshot-tng.py">available
    here</a>.
  </p>
  <p>
    <small>NP: <cite>Liquid Swords</cite>, GZA.</small>
  </p>
]]></content:encoded><category domain="http://www.burtonini.com">/computers</category><dc:date>2004-06-14T13:09:48Z</dc:date></item></channel></rss>