<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rube Goldberg machines for libraries &#187; Uncategorized</title>
	<atom:link href="http://ronallo.wordpress.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronallo.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 17 Aug 2009 12:56:49 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ronallo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/92f6ac96b5516ff4cb94eedc991d47d0?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Rube Goldberg machines for libraries &#187; Uncategorized</title>
		<link>http://ronallo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ronallo.wordpress.com/osd.xml" title="Rube Goldberg machines for libraries" />
		<item>
		<title>ye olde booke catalogue</title>
		<link>http://ronallo.wordpress.com/2008/01/25/ye-olde-booke-catalogue/</link>
		<comments>http://ronallo.wordpress.com/2008/01/25/ye-olde-booke-catalogue/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 20:10:03 +0000</pubDate>
		<dc:creator>jr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[catalog]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ronallo.wordpress.com/?p=7</guid>
		<description><![CDATA[I recently launched my first web application. Handlist takes a file of MARC records and turns them into an alphabetically sorted book catalog of titles, authors and subject headings.
It was mostly an excuse to use merb and learn some web programming, but the gem that I wrote behind it was useful for me in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ronallo.wordpress.com&blog=1363711&post=7&subd=ronallo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently launched my first web application. <a href="http://handlist.ronallo.com/" title="Handlist">Handlist</a> takes a file of MARC records and turns them into an alphabetically sorted book catalog of titles, authors and subject headings.</p>
<p>It was mostly an excuse to use <a href="http://merbivore.com/">merb</a> and learn some web programming, but the gem that I wrote behind it was useful for me in a part-time job, so maybe it will be useful for someone else.</p>
<p>If you have a file of some MARC records handy (and less than 2MB) could you give it a test? What could I have done differently? Since I&#8217;m new to this I&#8217;m all ears. Hopefully soon I&#8217;ll post about some of the things I learned while working on this project.</p>
<p><a href="http://handlist.ronallo.com/" title="Handlist">http://handlist.ronallo.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ronallo.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ronallo.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ronallo.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ronallo.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ronallo.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ronallo.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ronallo.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ronallo.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ronallo.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ronallo.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ronallo.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ronallo.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ronallo.wordpress.com&blog=1363711&post=7&subd=ronallo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ronallo.wordpress.com/2008/01/25/ye-olde-booke-catalogue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a231303c86ed61ca4424778220c749f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jr</media:title>
		</media:content>
	</item>
		<item>
		<title>zcc 0.1.0</title>
		<link>http://ronallo.wordpress.com/2007/07/24/zcc-010/</link>
		<comments>http://ronallo.wordpress.com/2007/07/24/zcc-010/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 20:27:02 +0000</pubDate>
		<dc:creator>jr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ronallo.wordpress.com/2007/07/24/zcc-010/</guid>
		<description><![CDATA[I just released version 0.1.0 of zcc, my Ruby copy cataloging script. Lot&#8217;s of improvements and new features. Find out more here:
http://zcc.rubyforge.org/zcc.html
I&#8217;m really happy with the progress I&#8217;ve made with this release. Finally I think I&#8217;m starting to get Object Oriented programming. I rewrote much of the code to create reusable classes in the hopes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ronallo.wordpress.com&blog=1363711&post=3&subd=ronallo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just released version 0.1.0 of zcc, my Ruby copy cataloging script. Lot&#8217;s of improvements and new features. Find out more here:</p>
<p><a href="http://zcc.rubyforge.org/zcc.html">http://zcc.rubyforge.org/zcc.html</a></p>
<p>I&#8217;m really happy with the progress I&#8217;ve made with this release. Finally I think I&#8217;m starting to get Object Oriented programming. I rewrote much of the code to create reusable classes in the hopes that I could play with some of the same code with a simple Rails based application.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ronallo.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ronallo.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ronallo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ronallo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ronallo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ronallo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ronallo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ronallo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ronallo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ronallo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ronallo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ronallo.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ronallo.wordpress.com&blog=1363711&post=3&subd=ronallo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ronallo.wordpress.com/2007/07/24/zcc-010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a231303c86ed61ca4424778220c749f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jr</media:title>
		</media:content>
	</item>
		<item>
		<title>Rube Goldberg machines</title>
		<link>http://ronallo.wordpress.com/2007/07/13/hello-world/</link>
		<comments>http://ronallo.wordpress.com/2007/07/13/hello-world/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 13:48:25 +0000</pubDate>
		<dc:creator>jr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I was trying to tackle a little problem. There is the right way to do it, and then a way that might just work.
ruby-marc doesn&#8217;t do character conversion from MARC-8 to UTF-8. This is a problem as most MARC records are still trapped in MARC-8 character encoding. It&#8217;s particularly a problem for something I&#8217;d like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ronallo.wordpress.com&blog=1363711&post=1&subd=ronallo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was trying to tackle a little problem. There is the right way to do it, and then a way that might just work.<br />
<a href="http://www.textualize.com/ruby_marc">ruby-marc</a> doesn&#8217;t do character conversion from MARC-8 to UTF-8. This is a problem as most MARC records are still trapped in MARC-8 character encoding. It&#8217;s particularly a problem for something I&#8217;d like to add to <a href="http://zcc.rubyforge.org">my copy cataloging script</a>.</p>
<p>Right now I use <a href="http://ruby-zoom.rubyforge.org/">ruby-zoom</a> to grab records from Z39.50 targets. These z-targets, even if they store their information as UTF-8, still usually present their records to the world as MARC-8 encoded records.  In normal workflow this isn&#8217;t a problem. As a C-binding to ZOOM, ruby-zoom does character conversion through YAZ. I can grab a record and, besides checking leader byte 9 to double check the current character set, ruby-zoom does the work of conversion.</p>
<p>But what if I want to read in a MARC-8 encoded record from file using ruby-marc and convert it to UTF-8? I&#8217;m outta luck. And as part of my script I&#8217;d like to be able to do just that. I&#8217;d then be able to maintain the same workflow: accept records, run through a macro, edit subfields, and create a csv file for labelmaking. And there&#8217;s no straightforward way I&#8217;ve found to move a ruby-marc record object into a ruby-zoom record object to do the conversion.</p>
<p>So I thought what if I could get the record from file into ruby-zoom first, do the conversion and then accept the record as a marc object? So in order to mock something up really quick I created a fake SRU server with WEBrick that always responded with the contents of the file supplied on the command line. The file was in MARC-8 and to work with SRU it was converted to MARCXML&#8211;except with the MARC-8 character encoding still. Very bad idea I&#8217;m sure to have MARC-8 XML.</p>
<p>I wanted to put the server into a thread that would stop when the program terminated and then in the same script slurp up the record using zoom, convert to UTF-8 and then move the record into a ruby-marc record object. For some reason I couldn&#8217;t do both things from the same script.</p>
<p>So then I wrote another script that could use SRU in zoom to grab the awful MARC-8 MARCXML record, do character conversion and move it over to a marc record. Even if I did a system call from the first script to this other script it failed. So I opened up another terminal to run the slurping script.</p>
<p>In the end I got it working. Who knows if the character encoding on it would have been any good. The main problem was how slow it was and how I needed to use two different scripts to get it to work. I learned a lot about SRU and WEBrick, but in the end it was a Rube Goldberg machine.</p>
<p>Soon I hope to share my current idea that&#8217;s forming on how to solve this problem for <a href="http://zcc.rubyforge.org">ZCC</a>. Let&#8217;s hope it doesn&#8217;t end up the same mess as this one.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ronallo.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ronallo.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ronallo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ronallo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ronallo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ronallo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ronallo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ronallo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ronallo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ronallo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ronallo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ronallo.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ronallo.wordpress.com&blog=1363711&post=1&subd=ronallo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ronallo.wordpress.com/2007/07/13/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a231303c86ed61ca4424778220c749f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jr</media:title>
		</media:content>
	</item>
	</channel>
</rss>