<?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>MaisonBisson.com &#187; code</title>
	<atom:link href="http://maisonbisson.com/blog/post/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://maisonbisson.com</link>
	<description>A bunch of stuff I would have emailed you about.</description>
	<lastBuildDate>Sat, 14 Nov 2009 20:14:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Plugin: wpSMS Supports Sending SMS Messages</title>
		<link>http://maisonbisson.com/projects/wpsms/</link>
		<comments>http://maisonbisson.com/projects/wpsms/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 16:21:46 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Dispatches]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[messaging]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/?p=12911</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-12911"><!-- &nbsp; --></abbr>
<abbr class="unapi-id" title="maisonbisson-12911"><!-- &nbsp; --></abbr>
<p><a title="wpSMS by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/3015632937/"><img src="http://farm4.static.flickr.com/3190/3015632937_45ed097017.jpg" alt="wpSMS" width="500" height="214" /></a></p>
<p><div class="contents innerindex"><h3>Contents</h3><ol><li><a href="http://maisonbisson.com/projects/wpsms/#12897_installation_1">Installation</a></li><li><a href="http://maisonbisson.com/projects/wpsms/#12897_usage_1">Usage</a></li><li><a href="http://maisonbisson.com/projects/wpsms/#12897_screenshots_1">Screenshots</a></li></ol></div>wpSMS enables the sending of <a href="http://en.wikipedia.org/wiki/Short_message_service">SMS messages</a> as easily as sending email (more easily, perhaps). An implementation of it can be seen at <a href="http://library.plymouth.edu/read/222334">my University&#8217;s library</a>, where they&#8217;ve used both <a href="http://about.scriblio.net/">Scriblio</a> and wpSMS to <a href="http://maisonbisson.com/blog/post/12094/scriblio-feature-text-this-to-me/">allow visitors to text information about a book to their cellies</a>.</p>
<h3 id="12897_installation_1" >Installation</h3>
<p>Simply <a href="http://wordpress.org/extend/plugins/wpsms/download/">download the plugin</a>, place the entire folder in your WordPress <code>/plugins/</code> folder, and activate.</p>
<h3 id="12897_usage_1" >Usage</h3>
<p>It currently uses <a href="http://www.clickatell.com/">Clickatell</a>&#8217;s gateway services, though more could be supported in the future. Once you <a href="https://www.clickatell.com/developers/api_http.php">get login credentials to Clickatell&#8217;s http gateway</a> you can start sending messages easily.</p>
<p>Simply instantiate the class with your credentials:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$mysms</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> wpSMS<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$API_ID</span><span style="color: #339933;">,</span> <span style="color: #000088;">$USERNAME</span><span style="color: #339933;">,</span> <span style="color: #000088;">$PASSWORD</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Then send your message:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$mysms</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">send</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$YOUR_MESSAGE</span><span style="color: #339933;">,</span> <span style="color: #000088;">$TO_PHONE_NUMBER</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>How you create the message or get the destination phone number is up to you.</p>
<h3 id="12897_screenshots_1" >Screenshots</h3>
<ul>
<li>You&#8217;ve found an interesting book in our library, but who wants to write down the location and call number when you can text it to yourself?<br /><a title="Text this book's location to your cell phone by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/3016513668/"><img src="http://farm4.static.flickr.com/3030/3016513668_36b30afe91_m.jpg" alt="Text this book's location to your cell phone" width="240" height="184" /></a></li>
<li>Clicking the &#8220;text this to me&#8221; link takes you to a screen where you preview the message and enter your mobile number.<br /><a title="Text this book's location to your cell phone by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/3016513420/"><img src="http://farm4.static.flickr.com/3276/3016513420_857777a686_m.jpg" alt="Text this book's location to your cell phone" width="240" height="184" /></a></li>
<li>The received message includes all the details you need to find the book on the shelf.<br /><a title="an SMS message from the catalog by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/2333754008/"><img src="http://farm4.static.flickr.com/3183/2333754008_27defb7113_m.jpg" alt="an SMS message from the catalog" width="240" height="144" /></a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/projects/wpsms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source Citation Extractors For Non-Structured Data</title>
		<link>http://maisonbisson.com/blog/post/12561/open-source-citation-extractors-for-non-structured-data/</link>
		<comments>http://maisonbisson.com/blog/post/12561/open-source-citation-extractors-for-non-structured-data/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 14:47:57 +0000</pubDate>
		<dc:creator>Casey</dc:creator>
				<category><![CDATA[Blink]]></category>
		<category><![CDATA[Libraries & Networked Information]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[citation]]></category>
		<category><![CDATA[citation extractor]]></category>
		<category><![CDATA[citations]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[FreeCite]]></category>
		<category><![CDATA[libraries]]></category>
		<category><![CDATA[ParsCit]]></category>
		<category><![CDATA[text analysis]]></category>
		<category><![CDATA[unstructured documents]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/?p=12561</guid>
		<description><![CDATA[
hmm-citation-extractor, ParsCit and FreeCite (not to be confused with FreeCite, the F/OSS EndNote-like app). FreeCite is available as a service and a download.
Still, wouldn&#8217;t a simple URL be easier than all these unstructured citation formats?
]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-12561"><!-- &nbsp; --></abbr>
<p><a title="Index of /~egh/hmm-citation-extractor" href="http://gales.cdlib.org/~egh/hmm-citation-extractor/">hmm-citation-extractor</a>, <a title="An open-source CRF Reference String Parsing Package" href="http://wing.comp.nus.edu.sg/parsCit/">ParsCit</a> and <a title="FreeCite" href="http://freecite.library.brown.edu/">FreeCite</a> (not to be confused with <a title="About FreeCite" href="http://www.freecite.org/FreeCite.html">FreeCite</a>, the F/OSS EndNote-like app). FreeCite is available as a <a href="http://freecite.library.brown.edu/welcome/api_instructions">service</a> and a <a href="http://github.com/miriam/free_cite/tree/master">download</a>.</p>
<p>Still, wouldn&#8217;t a simple URL be easier than all these unstructured citation formats?</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/12561/open-source-citation-extractors-for-non-structured-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Many Eyes, Bugs Being Shallow, All That</title>
		<link>http://maisonbisson.com/blog/post/12134/many-eyes-bugs-being-shallow-all-that/</link>
		<comments>http://maisonbisson.com/blog/post/12134/many-eyes-bugs-being-shallow-all-that/#comments</comments>
		<pubDate>Tue, 20 May 2008 08:45:34 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[register_taxonomy()]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/?p=12134</guid>
		<description><![CDATA[
WordPress 2.5.1 added a really powerful feature to register_taxonomy(): automatic registration of permalinks and query vars to match the taxonomy. Well, theoretically it added that feature. It wasn&#8217;t working in practice. After some searching yesterday and today, I finally found the bug and worked up a fix. I made a diff and set off to [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-12134"><!-- &nbsp; --></abbr>
<p>WordPress 2.5.1 added a really powerful feature to <code>register_taxonomy()</code>: automatic registration of permalinks and query vars to match the taxonomy. Well, theoretically it added that feature. It wasn&#8217;t working in practice. After some searching yesterday and today, I finally found the bug and worked up a fix. I made a diff and set off to open a ticket in Trac.</p>
<p>On the one hand I&#8217;m glad I searched first, because it turns out that a ticket on the very same issue was <a href="http://trac.wordpress.org/ticket/6981">opened on May 16th</a> and it already <a href="http://trac.wordpress.org/changeset/7940">has a fix</a>. On the other hand, it&#8217;s kind of a kicker to have lost my chance at reporting the bug and submitting a fix by only a few days.</p>
<p>The fix is committed for WordPress 2.6, but I&#8217;ve done a workaround for 2.5.1 (workarounds are easier to manage than core code changes). I&#8217;d say I wish I searched Trac first, but I wouldn&#8217;t have known what to search for if I didn&#8217;t figure out how to fix the bug first. And I guess I really can&#8217;t complain about <a href="http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html">a community that quickly finds and fixes bugs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/12134/many-eyes-bugs-being-shallow-all-that/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Compress CSS &amp; JavaScript Using PHP Minify</title>
		<link>http://maisonbisson.com/blog/post/11994/compress-css-javascript-using-php-minify/</link>
		<comments>http://maisonbisson.com/blog/post/11994/compress-css-javascript-using-php-minify/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 12:50:13 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Dispatches]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[minify]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/post/11994/compress-css-javascript-using-php-minify</guid>
		<description><![CDATA[
It was part of a long thread among WordPress hackers over the summer and fall, but this post at VulgarisOverIP just reminded of it: minify promises to be an easy way to compress external CSS and JavaScript without adding extra steps to your develop/deploy process. No, really, look at the usage instructions. (To be clear, [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-11994"><!-- &nbsp; --></abbr>
<p>It was part of a long thread among WordPress hackers over the summer and fall, but <a href="http://www.vulgarisoip.com/2007/06/21/minify-your-external-javascript-and-css-with-php/" title="“Minify” your external JavaScript and CSS with PHP at VulgarisOverIP">this post at VulgarisOverIP</a> just reminded of it: <a href="http://code.google.com/p/minify/">minify</a> promises to be an easy way to compress external CSS and JavaScript without adding extra steps to your develop/deploy process. No, really, look at <a href="http://code.google.com/p/minify/wiki/UserGuide" title="UserGuide - minify - Google Code">the usage instructions</a>. (To be clear, the Vulgaris and Google Code versions are different, one derived from the other and backported to PHP4 compatible. Still, the concept is the same.)</p>
<p>Vulgaris reports a nearly 300% decrease in time to download, definitely worth the effort.</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/11994/compress-css-javascript-using-php-minify/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Strips Classnames, And How To Fix It</title>
		<link>http://maisonbisson.com/blog/post/11674/wordpress-strips-classnames-and-how-to-fix-it/</link>
		<comments>http://maisonbisson.com/blog/post/11674/wordpress-strips-classnames-and-how-to-fix-it/#comments</comments>
		<pubDate>Tue, 15 May 2007 16:29:29 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[class names]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[kses]]></category>
		<category><![CDATA[semantic markup]]></category>
		<category><![CDATA[strip tags]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/post/11674/#wordpress-strips-classnames-and-how-to-fix-it</guid>
		<description><![CDATA[
WordPress 2.0 introduced some sophisticated HTML inspecting and de-linting courtesy of kses.
kses is an HTML/XHTML filter written in PHP. It removes all unwanted HTML elements and attributes, and it also does several checks on attribute values. kses can be used to avoid Cross-Site Scripting (XSS), Buffer Overflows and Denial of Service attacks.
It&#8217;s a good addition, [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-11674"><!-- &nbsp; --></abbr>
<p>WordPress 2.0 introduced some sophisticated HTML inspecting and de-linting courtesy of <a href="http://sourceforge.net/projects/kses/">kses</a>.</p>
<blockquote><p>kses is an HTML/XHTML filter written in PHP. It removes all unwanted HTML elements and attributes, and it also does several checks on attribute values. kses can be used to avoid Cross-Site Scripting (XSS), Buffer Overflows and Denial of Service attacks.</p></blockquote>
<p>It&#8217;s a good addition, but it was also removing the class names from some of the elements of my posts. The result is that the following structured XHTML was coming through without any structure.</p>
<p><code>&lt;ul class=“fullrecord”&gt;<br />
&lt;li class=“title”&gt;&lt;h3&gt;Title&lt;/h3&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;The Effects Of A Modified Ball In Developing The Volleyball Pass And Set For High School Students&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li class=“attribution”&gt;...</code></p>
<p>Without the semantic value of the classnames, the XHTML loses all the <a href="http://maisonbisson.com/blog/post/10729/">microformat</a><a href="http://microformats.org/">ting</a>, making it not only less re-usable/remixable but also harder to style.</p>
<p><code>&lt;ul&gt;<br />
&lt;li&gt;&lt;h3&gt;Title&lt;/h3&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;The Effects Of A Modified Ball In Developing The Volleyball Pass And Set For High School Students&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;...</code></p>
<p>A <a href="http://wordpress.org/support/topic/53647" title="WordPress › Support » WP 2.0 tag and attribute stripping">WordPress form post</a> pointed me to the <code>includes/kses.php</code> file, where the <code>$allowedposttags</code> array set the standards for the acceptable tags and attributes. It begins like this:</p>
<p><code>$allowedposttags = array ('address' =&gt; array (), 'a' =&gt; array ('href' =&gt; array (), 'title' =&gt; array (), 'rel' =&gt; array ()...</code></p>
<p>It&#8217;s a hack, but changing the entries for some of the tags got me through.</p>
<p><code>'ul' =&gt; array ('class' =&gt; array())</code></p>
<p><tags>WordPress, strip tags, kses, code, fix, hack, class names, semantic markup</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/11674/wordpress-strips-classnames-and-how-to-fix-it/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Parsing MARC Directory Info</title>
		<link>http://maisonbisson.com/blog/post/11513/parsing-marc-directory-info-is-easy/</link>
		<comments>http://maisonbisson.com/blog/post/11513/parsing-marc-directory-info-is-easy/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 17:35:11 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Libraries & Networked Information]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[libraries]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[marc]]></category>
		<category><![CDATA[marc directory]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[raw marc]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/post/11513/</guid>
		<description><![CDATA[
I expected a record that looked like this:
LEADER 00000nas  2200000Ia 4500
001    18971047
008    890105c19079999mau u p       0uuua0eng
010    07023955 /rev
040    DLC&#124;cAUG
049    PSMM
050    F41.5&#124;b.A64
090    F41.5&#124;b.A64
110 2  Appalachian Mountain Club
245 [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-11513"><!-- &nbsp; --></abbr>
<p>I expected a record that looked like this:</p>
<pre><code>LEADER 00000nas  2200000Ia 4500
001    18971047
008    890105c19079999mau u p       0uuua0eng
010    07023955 /rev
040    DLC|cAUG
049    PSMM
050    F41.5|b.A64
090    F41.5|b.A64
110 2  Appalachian Mountain Club
245 14 The A.M.C. White Mountain guide <img src='http://maisonbisson.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> ba guide to trails in
       the mountains of New Hampshire and adjacent parts of Maine
246 13 AMC White Mountain guide
246 13 White Mountain guide
246 13 A.M.C. White Mountain guide
260    Boston,|bThe Club,
300    v. <img src='http://maisonbisson.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> bill., maps (some fold., some col.) ;|c16 cm
362 0  1st-     ed.; 1907-
500    Title varies slightly
651  0 White Mountains (N.H. and Me.)|xGuidebooks</code></pre>
<p>but instead got a record that looked like this:</p>
<pre style="overflow: auto;"><code>00939cas  2200265Ia 4500001001300000003000700013005001700020008004100037020001500078040001800093050001600111110003100127245012200158246003000280246002600310246003200336246003000368260005500398300005700453362003600510500002700546650001100573651007300584999001600657
ocm18971047
OCoLC
20020918102844.0
890105c19079999mau u p       0   a0eng
  a0910146489
  aDLCcAUGdNHS
  aF41.5b.A64
2 aAppalachian Mountain Club.
14aThe A. M. C. White Mountain guide :ba guide to trails in the mountains of New Hampshire and adjacent parts of Maine.
13aAMC White Mountain guide.
13aWhite Mountain guide.
13aA.M.C. White Mountain guide
13aAMC White Mountain guide.
  aBoston, Mass. :bAppalachian Mountain Club,c1983.
  a550 p.bill., maps (some fold., some col.) ;c16 cm.
0 a1st- ed.; 1907- ; 25th ed. 1992
  aTitle varies slightly.
  aHiking
0aWhite Mountains (N.H. and Me.)xDescription and travelxGuide-books.
  aCL000018321</code></pre>
<p>(some of the non-printable characters have been replaced with newlines for readability.)</p>
<p>After staring at that record for entirely too long, forgetting about it for a while, then returning again to think about how unreadable it was, then forgetting about it again, then taking one last look, I had that *duh* moment that made me realize what I should have seen on first glance: this is a MARC record that hasn&#8217;t had <a href="http://www.loc.gov/marc/bibliographic/ecbdldrd.html#mrcbdir">its directory</a> parsed.</p>
<p>So here&#8217;s my short-but-handy-and-hopefully-usefull-to-somebody-sometime code to parse the directory and then the rest of the record. It assumes <code>$records</code> is an array of records.</p>
<pre style="overflow: auto;"><code>
foreach($records as $record){
	$temp = explode('', $record);
	$dir = $temp[0];
	$record = substr($record, (strlen($dir) + 1));

	$dir = substr($dir, 24);
	$dir_field = NULL;
	while($dir){
		$dir_field[] = substr($dir, 0, 12);
		$dir = substr($dir, 12);
	}

	$record = str_replace('', '|', $record);
	$marc = NULL;
	foreach($dir_field as $field){
		if(ereg_replace('[^0-9]', '', $field)){
			unset($temp);
			$len = substr($field, 3, 4);
			$pos = substr($field, 7, 5);
			$field = substr($field, 0, 3);
			$temp = substr($record, $pos, $len);
			if($field < 10)
				$temp = '  |'. $temp;
			$marc .= trim($field .'|'. $temp) .“\n”;
			$marc_array[$field] = $temp;
		}
	}
	echo $marc;
}
</code></code></pre>
<p>The actual output of that code on that record is this:</p>
<pre style="overflow: auto;"><code>001|  |ocm18971047
003|  |OCoLC
005|  |20020918102844.0
008|  |890105c19079999mau u p       0   a0eng
020|  |a0910146489
040|  |aDLC|cAUG|dNHS
050|  |aF41.5|b.A64
110|2 |aAppalachian Mountain Club.
245|14|aThe A. M. C. White Mountain guide <img src='http://maisonbisson.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> ba guide to trails in the mountains of New Hampshire and adjacent parts of Maine.
246|13|aAMC White Mountain guide.
246|13|aWhite Mountain guide.
246|13|aA.M.C. White Mountain guide
246|13|aAMC White Mountain guide.
260|  |aBoston, Mass. <img src='http://maisonbisson.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> bAppalachian Mountain Club,|c1983.
300|  |a550 p.|bill., maps (some fold., some col.) ;|c16 cm.
362|0 |a1st- ed.; 1907- ; 25th ed. 1992
500|  |aTitle varies slightly.
650|  |aHiking
651| 0|aWhite Mountains (N.H. and Me.)|xDescription and travel|xGuide-books.
999|  |aCL000018321
</code></pre>
<p>It includes a little bit of fudging that my other MARC parsing code demands, but works and is readable.</p>
<p><tags>code, libraries, library, marc, marc directory, parsing, php, raw marc</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/11513/parsing-marc-directory-info-is-easy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>