<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CodeDread Blog &#187; python</title>
	<atom:link href="http://www.codedread.com/blog/archives/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedread.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 02 Jan 2012 15:30:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Scrubs</title>
		<link>http://www.codedread.com/blog/archives/2009/05/17/scrubs/</link>
		<comments>http://www.codedread.com/blog/archives/2009/05/17/scrubs/#comments</comments>
		<pubDate>Sun, 17 May 2009 19:59:40 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/05/17/scrubs/</guid>
		<description><![CDATA[SVG is a pretty flexible format. Vector graphic editors often inject a lot of extraneous data to make their job easier. Unfortunately this excess data is just ignored by browsers and from that perspective just looks like bloat. In my opinion, output from editors such as Inkscape or Adobe Illustrator are not quite ready for [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" style="float:right" data="http://codedread.com/clipart/scour.svgz"><span/></object><a href="http://www.w3.org/Graphics/SVG" title="Scalable Vector Graphics">SVG</a> is a pretty flexible format.  Vector graphic editors often inject a lot of extraneous data to make their job easier.  Unfortunately this excess data is just ignored by browsers and from that perspective just looks like bloat.  In my opinion, output from editors such as Inkscape or Adobe Illustrator are not quite ready for the web, especially for purposes like clip-art.  It&#8217;s not at all rare to find files up on <a href="http://openclipart.org/">Open ClipArt</a> with large chunks of the file that are not even used (extraneous gradients, filters, etc).  I had an itching to learn a little <a href="http://python.org/">Python</a> so I used this as an excuse to create a script that would tidy up SVG files:  <a href="http://codedread.com/scour/">Scour</a>.  <span id="more-536"></span></p>
<p>The SVG Posse, <a href="http://schepers.cc/">Doug Schepers</a>, attended the <a href="http://www.libregraphicsmeeting.org/2009/">Libre Graphics Meeting</a> this month in Montreal and gave a <a href="http://river-valley.tv/scour-an-svg-scrubber/">quick 5-minute talk</a> on the script, which was kind of fun for me to watch.</p>
<p>Note that the purpose of this script is to make the SVG documents ready for web browsers &#8211; it shouldn&#8217;t be used on files that have already been manually edited.  The script strives to maintain a visually identical image, but it does not preserve all semantics (for instance, it might collapse groups).  I provide switches to turn off some features, but not all.  In addition, it doesn&#8217;t handle external CSS or &#60;style&#62; elements yet.</p>
<p>Anyway, time to start using the script. <a href="http://codedread.com/scour/">Download it</a>. <a href="https://answers.launchpad.net/scour">Ask questions</a>. <a href="https://bugs.launchpad.net/scour">Open bugs</a>. <a href="https://blueprints.launchpad.net/scour">Request features</a>. Send me patches.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2009/05/17/scrubs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

