<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Code on nostuff.org archive | Chris Keene</title>
    <link>https://nostuff.org/archive/tags/code/</link>
    <description>Recent content in Code on nostuff.org archive | Chris Keene</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Tue, 10 Jul 2012 19:35:39 +0000</lastBuildDate>
    <atom:link href="https://nostuff.org/archive/tags/code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A play with the Talis Aspire API</title>
      <link>https://nostuff.org/archive/posts/2012-07-10-/</link>
      <pubDate>Tue, 10 Jul 2012 19:35:39 +0000</pubDate>
      <guid>https://nostuff.org/archive/posts/2012-07-10-/</guid>
      <description>&lt;p&gt;I wanted to have a go with the Talis Aspire API and see what potential it had and how easy it was to use. Talis Aspire is a Reading List system with the key purposes being, firstly, a method to inform libraries which books and resources they need to buy, secondly, a unified way to access lists and content, especially as more and more stuff is online.&lt;/p&gt;&#xA;&lt;p&gt;But the array of systems across a University delivering the online ‘student experience’ is staggering and often confusing, hence the need to to investigate ways of embedding data from one system (such as this) in to other systems. My end goal is to display a list on a webpage outside of the Aspire website.&lt;/p&gt;</description>
    </item>
    <item>
      <title>MARC Tools &amp; MARC::Record errors</title>
      <link>https://nostuff.org/archive/2011/marc-tools-marcrecord-errors/</link>
      <pubDate>Fri, 15 Jul 2011 12:17:59 +0000</pubDate>
      <guid>https://nostuff.org/archive/2011/marc-tools-marcrecord-errors/</guid>
      <description>&lt;p&gt;I know next to nothing about MARC,though being a &lt;a href=&#34;http://www.shambrarian.org/&#34;&gt;shambrarian&lt;/a&gt; I have to fight it sometimes. My knowledge is somewhat binary, absolutely nothing for most fields/subfields/tags but ‘fairly ok’ for the bits I’ve had to wrestle with.&lt;/p&gt;&#xA;&lt;p&gt;[If you don’t know that MARC21 is an ageing bibliographic metadata standard, move on. This is not the blog post you’re looking for]&lt;/p&gt;&#xA;&lt;p&gt;Recent encounters with MARC&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Importing MARC files in to our Library System (&lt;del&gt;Talis&lt;/del&gt; Capita &lt;a href=&#34;http://www.talis.com/alto/&#34;&gt;Alto&lt;/a&gt;), mainly for our e-journals (so users can search our catalogue and find a link to a journal if we subscribe to it online). Many of the MARC records were of poor quality and often did not even state the item was (a) a journal (b) online. Additionally Alto will only import if there is a &lt;a href=&#34;http://www.loc.gov/marc/bibliographic/bd001.html&#34;&gt;001&lt;/a&gt; field, even though the first thing it does is move the 001 field to the &lt;a href=&#34;http://www.loc.gov/marc/bibliographic/bd035.html&#34;&gt;035&lt;/a&gt; field and create its own. To handle these I used a very simple script to run through the MARC file – using &lt;a href=&#34;http://search.cpan.org/dist/MARC-Record/&#34;&gt;MARC::Record&lt;/a&gt; – to add an 001/&lt;a href=&#34;http://www.loc.gov/marc/bibliographic/bd006.html&#34;&gt;006&lt;/a&gt;/&lt;a href=&#34;http://www.loc.gov/marc/bibliographic/bd007.html&#34;&gt;007&lt;/a&gt; where required.&lt;/li&gt;&#xA;&lt;li&gt;Setting up &lt;a href=&#34;http://sabre.sussex.ac.uk/&#34;&gt;sabre&lt;/a&gt; – a web catalogue which searches the records of both the University of Sussex and the University of Brighton – we need to pre-process the MARC records to add extra fields, in particular a field to tell the software (&lt;a href=&#34;http://vufind.org/&#34;&gt;vufind&lt;/a&gt;) which organisation the record was from.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;record-problems&#34;&gt;Record problems&lt;/h3&gt;&#xA;&lt;div&gt;&#xA;  One of the issues was that not all the records from the University of Brighton were present in sabre. Where were they going missing? Were they being exported from the Brighton system? copied to the sabre server ok? Being output through the perl scritp? lost during the vufind import process?&#xA;&lt;/div&gt;&#xA;&lt;div&gt;&#xA;  To answer these questions I needed to see what was in the MARC files, the problem is that MARC is a binary format so you can&amp;#8217;t just fire up vi to investigate. The first tool of the trade is a quick script using MARC::Record to convert a MARC file to text file. But this wasn&amp;#8217;t getting to the bottom of it. This lead me to a few PC tools that were of use.&#xA;&lt;/div&gt;&#xA;&lt;h3 id=&#34;pc-tools&#34;&gt;PC Tools&lt;/h3&gt;&#xA;&lt;div&gt;&#xA;  &lt;strong&gt;&lt;a href=&#34;http://people.oregonstate.edu/~reeset/marcedit/html/index.php&#34;&gt;MarcEdit&lt;/a&gt;&lt;/strong&gt; : Probably the best known PC application. It allows you to convert a MARC file to text, and contains an editor as well as a host of other tools. A good swiss army knife.&#xA;&lt;/div&gt;&#xA;&lt;div&gt;&#xA;  &lt;strong&gt;MARCView&lt;/strong&gt; : Originally from &lt;a href=&#34;http://www.systemsplanning.com/marconvert/&#34;&gt;Systems Planning&lt;/a&gt; and now &lt;a href=&#34;http://oclc.org/developer/content/marcviewmarconvert-software-description&#34;&gt;provided by OCLC&lt;/a&gt;, I had not come across MARCView until recently. It allows you to browse and search through a file containing MARC records. Though the browsing element does not work on larger files.&#xA;&lt;/div&gt;&#xA;&lt;div&gt;&#xA; &lt;a href=&#34;https://nostuff.org/archive/wp-content/uploads/2011/07/marcview.jpg&#34;&gt;&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; class=&#34;wp-image-700 size-large&#34; title=&#34;marcview&#34; src=&#34;https://nostuff.org/archive/wp-content/uploads/2011/07/marcview-1024x867.jpg&#34; alt=&#34;marcview&#34; width=&#34;620&#34; height=&#34;525&#34; /&gt;&lt;/a&gt;&#xA;  &lt;p&gt;&#xA;    &amp;nbsp;&#xA;  &lt;/p&gt;</description>
    </item>
    <item>
      <title>Dev8D</title>
      <link>https://nostuff.org/archive/2010/dev8d/</link>
      <pubDate>Sun, 28 Feb 2010 20:07:22 +0000</pubDate>
      <guid>https://nostuff.org/archive/2010/dev8d/</guid>
      <description>&lt;p&gt;This isn’t a comprehensive review of dev8d, checkout the &lt;a class=&#34;libx-autolink&#34; style=&#34;border-bottom: 1px dotted;&#34; href=&#34;http://twapperkeeper.com/dev8d/&#34;&gt;twitter stream&lt;/a&gt; (that link uses twapperkeeper by the way, the guy who created it was there and it was great talking to him), and &lt;a class=&#34;libx-autolink&#34; style=&#34;border-bottom: 1px dotted;&#34; href=&#34;http://wiki.2010.dev8d.org/w/Main_Page&#34;&gt;wiki&lt;/a&gt; for and much else on the web for what went on.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ircount development</title>
      <link>https://nostuff.org/archive/2009/ircount-development/</link>
      <pubDate>Thu, 26 Nov 2009 20:59:18 +0000</pubDate>
      <guid>https://nostuff.org/archive/2009/ircount-development/</guid>
      <description>&lt;p&gt;I’ve finally got around to spending a bit of time on the &lt;em&gt;&lt;a href=&#34;http://www.nostuff.org/ircount/&#34;&gt;ircount&lt;/a&gt;&lt;/em&gt; code.&lt;/p&gt;&#xA;&lt;p&gt;This post goes through some of the techy stuff behind it. If you’re just interested in features, I’m afraid there’s none yet, but you can now compare more than 4 repositories, but that’s as far as you’ll want to read.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
