<?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>pfhawkins.com &#187; python</title>
	<atom:link href="http://pfhawkins.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://pfhawkins.com</link>
	<description></description>
	<lastBuildDate>Fri, 29 Jan 2010 10:37:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Stupid Simple Bibsonomy to Delicious Migration</title>
		<link>http://pfhawkins.com/2008/08/11/stupid-simple-bibsonomy-to-delicious-migration/</link>
		<comments>http://pfhawkins.com/2008/08/11/stupid-simple-bibsonomy-to-delicious-migration/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 15:38:10 +0000</pubDate>
		<dc:creator>pf</dc:creator>
				<category><![CDATA[thought]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[bibsonomy]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://pfhawkins.com/?p=45</guid>
		<description><![CDATA[A while back I switched from delicious to bibsonomy to handle all my social bookmarking needs. I was all taken in by the RDF backing. I decided recently to switch back, since it didn&#8217;t have the user base and general ecosystem, it&#8217;s geared toward more academic pursuits, and RDF isn&#8217;t all it&#8217;s cracked up to [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I switched from <a href="http://delicious.com">delicious</a> to <a href="http://bibsonomy.org">bibsonomy</a> to handle all my social bookmarking needs. I was all taken in by the RDF backing. I decided recently to switch back, since it didn&#8217;t have the user base and general ecosystem, it&#8217;s geared toward more academic pursuits, and RDF isn&#8217;t all it&#8217;s cracked up to be. Here&#8217;s a tarball of the scripts I used to move the bookmarks back into delicious:</p>
<p>Download: <a href="http://pfhawkins.com/bib2del.tgz">bib2del</a></p>
<p>Caveats:</p>
<ol>
<li>bibsonomy handles unicode characters, delicious doesn&#8217;t. I opted to delete/edit the few bibsonomy bookmarks that were giving me those errors, but it will error out when you pass delicious a title with a smart apostrophe, smart quotes, em-dash, or other non-ascii character.</li>
<li>It is a dumb script. It will take all your bibsonomy bookmarks and add them one by one, with a 1.1 second delay in between to keep delicious happy. If, for some reason, you pass delicious a unicode character and it errors out, it will attempt to readd all the bookmarks you successfully added the last go round.</li>
<li>You will need to ask bibsonomy nicely for a developer&#8217;s api key. delicious only needs username and password.</li>
</ol>
<p>I could have written something that stored the bibsonomy bookmarks locally, cleaned up the unicode, and then pushed everything to delicious, but this does 99% of what I wanted it to do.</p>
<p>I&#8217;d like to give a shout-out to two fabulous webservices that allow RESTful api access to the information they store on my behalf, and to those brave souls who wrote python bindings to those apis.</p>
<p>P.S. Not only does delicious choke on unicode, but it stores tags as space-delimited strings. Strings! Boggles the mind, it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://pfhawkins.com/2008/08/11/stupid-simple-bibsonomy-to-delicious-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
