<?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"
	>

<channel>
	<title>τεχνοσοφια &#187; APIs</title>
	<atom:link href="http://lackoftalent.org/michael/blog/category/development/apis/feed/" rel="self" type="application/rss+xml" />
	<link>http://lackoftalent.org/michael/blog</link>
	<description>The occasional rambling of a digital library artisan</description>
	<pubDate>Mon, 08 Sep 2008 12:15:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>ORE plugin updated</title>
		<link>http://lackoftalent.org/michael/blog/2008/07/25/ore-plugin-updated/</link>
		<comments>http://lackoftalent.org/michael/blog/2008/07/25/ore-plugin-updated/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 17:19:29 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[OAI-ORE]]></category>

		<category><![CDATA[Repositories]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/?p=135</guid>
		<description><![CDATA[
I&#8217;ve been using my time at RepoCamp today to get the OAI-ORE plugin for WordPress validating again.  I&#8217;m having some trouble using the validator so I say that with some diffidence.  But the latest code which is now checked in to the WordPress plugins svn repo ought to be close, if not fully conformant, to [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:135"><!-- &nbsp; --></abbr>
<p>I&#8217;ve been using my time at <a href="http://barcamp.org/RepoCamp" target="_blank">RepoCamp</a> today to get the OAI-ORE <a href="http://lackoftalent.org/michael/blog/ore-wordpress-plug-in/" target="_blank">plugin</a> for WordPress <a href="http://african.lanl.gov/ovalnet/validate.jsp" target="_blank">validating</a> again.  I&#8217;m having some trouble using the validator so I say that with some diffidence.  But the latest code which is now checked in to the WordPress plugins svn repo ought to be close, if not fully conformant, to the 0.9 version of the ORE spec.</p>
<p>I&#8217;m not sure the plugin is really useful; it&#8217;s just an Atom feed of all posts and pages in a WP instance.  I can think of some ways to make this more useful, by allowing blog authors to create their own aggregations, pulling in content outside of the particular instance.  I am certain that others can come up with even better uses.  I&#8217;m open to suggestions.</p>
<p>Thanks to Jay Datema for <a href="http://www.bookism.org/open/2008/07/17/repurposing-metadata/" target="_blank">prodding</a> me a bit, if indirectly.</p>
]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2008/07/25/ore-plugin-updated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OAI-ORE ResourceMap for WordPress</title>
		<link>http://lackoftalent.org/michael/blog/2007/12/14/oai-ore-resourcemap-for-wordpress/</link>
		<comments>http://lackoftalent.org/michael/blog/2007/12/14/oai-ore-resourcemap-for-wordpress/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 21:14:38 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[Digital Libraries and Archives]]></category>

		<category><![CDATA[OAI-ORE]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/2007/12/14/oai-ore-resourcemap-for-wordpress/</guid>
		<description><![CDATA[
This is very rough, but here&#8217;s a WordPress plugin that provides a resource map for the aggregation of all posts within an installation of WordPress.  I&#8217;ll be working on this some more, but for now, it does appear to work and validate (as Atom).  Useful?  If so, I&#8217;ll zip it up and [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:111"><!-- &nbsp; --></abbr>
<p>This is very rough, but here&#8217;s a WordPress plugin that provides a <a href="http://lackoftalent.org/michael/blog/wp-content/plugins/oai-ore/rem.php" target="_blank">resource map</a> for the aggregation of all posts within an installation of WordPress.  I&#8217;ll be working on this some more, but for now, it does appear to work and validate (as Atom).  Useful?  If so, I&#8217;ll zip it up and commit it to the wp-plugins svn.</p>
<p>Note:<a href="http://inkdroid.org/journal/" target="_blank">Ed</a> reminds me that xsltproc can be used to transform the Atom-based resource map into RDF via GRDDL:</p>
<p><code>xsltproc http://www.openarchives.org/ore/atom-grddl.xsl http://lackoftalent.org/michael/blog/wp-content/plugins/oai-ore/rem.php</code></p>
<p><strong>Update:</strong> The plugin has its own <a href="http://lackoftalent.org/michael/blog/ore-wordpress-plug-in/" target="_blank">page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2007/12/14/oai-ore-resourcemap-for-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RESTful Fedora?</title>
		<link>http://lackoftalent.org/michael/blog/2007/06/19/restful-fedora/</link>
		<comments>http://lackoftalent.org/michael/blog/2007/06/19/restful-fedora/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 23:40:26 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[REST]]></category>

		<category><![CDATA[Repositories]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/2007/06/19/restful-fedora/</guid>
		<description><![CDATA[
Matt Zumwalt of MediaShelf, LLC has been hard at work thinking about how to make Fedora RESTful.  There is now a proposal on the Fedora wiki based on a PDF he sent to the fedora-commons-developers list.
It&#8217;s an interesting proposal.  I&#8217;ve read over the PDF version quickly but it does bear a closer read. [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:97"><!-- &nbsp; --></abbr>
<p>Matt Zumwalt of <a href="http://yourmediashelf.com/" target="_blank">MediaShelf, LLC</a> has been hard at work thinking about how to make <a href="http://fedora.info/" target="_blank">Fedora</a> <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer" target="_blank">RESTful</a>.  There is now a <a href="http://www.fedora.info/wiki/index.php/RESTful_Fedora_Proposal" target="_blank">proposal on the Fedora wiki</a> based on a PDF he sent to the <a href="http://sourceforge.net/mailarchive/forum.php?forum_name=fedora-commons-developers" target="_blank">fedora-commons-developers list</a>.</p>
<p>It&#8217;s an interesting proposal.  I&#8217;ve read over the PDF version quickly but it does bear a closer read.  </p>
<p>Whether SOAP or REST is more appropriate for a Fedora API is something I&#8217;m not sure about, though I don&#8217;t mean to imply it&#8217;s an either/or situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2007/06/19/restful-fedora/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fedora marches forward</title>
		<link>http://lackoftalent.org/michael/blog/2006/12/22/fedora-marches-forward/</link>
		<comments>http://lackoftalent.org/michael/blog/2006/12/22/fedora-marches-forward/#comments</comments>
		<pubDate>Fri, 22 Dec 2006 22:31:51 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[Digital Libraries and Archives]]></category>

		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Libraries]]></category>

		<category><![CDATA[Repositories]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/2006/12/22/fedora-marches-forward/</guid>
		<description><![CDATA[
I was pleased to see the note that Sandy Payette sent to the fedora-users mailing list earlier today, updating the community on the Fedora 2.2 release date.  Version 2.2 is going to include a bunch of features, some of which have been long-awaited and are quite, well, sexy.  Some of the highlights:

Database support [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:65"><!-- &nbsp; --></abbr>
<p>I was pleased to see the note that Sandy Payette sent to the fedora-users mailing list earlier today, updating the community on the <a target="_blank" href="http://comm.nsdl.org/pipermail/fedora-users/2006-December/002330.html">Fedora 2.2 release date</a>.  Version 2.2 is going to include a bunch of features, some of which have been long-awaited and are quite, well, sexy.  Some of the highlights:</p>
<ul>
<li>Database support has been extended to include Postgres, which should make all the MySQL-haters happy</li>
<li>Fedora may now be deployed via a .war file in an existing servlet container, such as Tomcat, rather than requiring its very own Tomcat server</li>
<li>A Lucene- or Zebra-backed search service has been included, which is more robust than the previous search service that used the built-in Dublin Core-populated database</li>
</ul>
<p>These are but a few of the enhancements, and I can&#8217;t wait to put it through its paces when it&#8217;s released on January 19th.</p>
<p>For a more complete set of feature enhancements, click on the link above to read Sandy&#8217;s message.</p>
<p>Now if we can come together as a community and work on some more UIs, and get them used in some high-profile projects, many of the gripes against Fedora may be silenced.  It&#8217;s still not a perfect product, but what is?   That it uses XML as a storage format and exposes its functions via web-services APIs and allows use of any metadata schema, in my humble opinion, puts it <strong>head and shoulders above</strong> many other library repository solutions.  And for that, it&#8217;s at least worth consideration.</p>
]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2006/12/22/fedora-marches-forward/feed/</wfw:commentRss>
		</item>
		<item>
		<title>unAPI revision 1-compliant</title>
		<link>http://lackoftalent.org/michael/blog/2006/03/08/unapi-revision-1-compliant/</link>
		<comments>http://lackoftalent.org/michael/blog/2006/03/08/unapi-revision-1-compliant/#comments</comments>
		<pubDate>Wed, 08 Mar 2006 08:04:33 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[code4lib]]></category>

		<category><![CDATA[unAPI]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/2006/03/08/unapi-revision-1-compliant/</guid>
		<description><![CDATA[
I noticed Dan Chudnov&#8217;s earlier note about the launch of the unAPI website and noted in particular the the unAPI revision 1 specification.  I decided to give Technosophia a run through some error cases and some of the errors came up as 400 where they should have been 404 or 406.  I made a few minor tweaks [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:29"><!-- &nbsp; --></abbr>
<p>I noticed <a title="dchud's unAPI.info announcement" href="http://onebiglibrary.net/projects/unapi/unapi-info" target="_blank">Dan Chudnov&#8217;s earlier note</a> about the launch of the <a title="unAPI.info" href="http://unapi.info/" target="_blank">unAPI website</a> and noted in particular the the <a title="unAPI revision 1 spec" href="http://unapi.info/specs/" target="_blank">unAPI revision 1 specification</a>.  I decided to give Technosophia a run through some error cases and some of the errors came up as 400 where they should have been 404 or 406.  I made a few minor tweaks to <a title="unAPI WP plugin" href="http://www.wallandbinkley.com/quaedam/?p=59" target="_blank">pbinkley&#8217;s unAPI WordPress plug-in</a> and I believe Technosophia is now fully compliant with unAPI revision 1. </p>
<p>Here are the test cases I used:</p>
<ul>
<li><a href="http://www.lackoftalent.org/michael/blog/unapi.php" target="_blank">/unapi.php</a><br />
<strong>200 Ok</strong></li>
<li><a href="http://www.lackoftalent.org/michael/blog/unapi.php?uri=oai%3Alackoftalent.org%3Atechnosophia%3A25" target="_blank">/unapi.php?uri=oai%3Alackoftalent.org%3Atechnosophia%3A25</a><br />
<strong>300 Multiple Choices</strong></li>
<li><a href="http://www.lackoftalent.org/michael/blog/unapi.php?uri=oai%3Alackoftalent.org%3Atechnosophia%3A25&#038;format=mods" target="_blank">/unapi.php?uri=oai%3Alackoftalent.org%3Atechnosophia%3A25&#038;format=mods</a><br />
<strong>200 Ok</strong></li>
<li><a href="http://www.lackoftalent.org/michael/blog/unapi.php?uri=oai%3Alackoftalent.org%3Atechnosophia%3A25&#038;format=BADFORMAT" target="_blank">/unapi.php?uri=oai%3Alackoftalent.org%3Atechnosophia%3A25&#038;format=BADFORMAT</a><br />
<strong>406 Not Acceptable</strong></li>
<li><a href="http://www.lackoftalent.org/michael/blog/unapi.php?uri=BADURI&#038;format=mods" target="_blank">/unapi.php?uri=BADURI&#038;format=mods</a><br />
<strong>404 Not Found</strong></li>
<li><a href="http://www.lackoftalent.org/michael/blog/unapi.php?format=mods" target="_blank">/unapi.php?format=mods</a><br />
<strong>400 Bad Request</strong></li>
</ul>
<p>Woohoo?</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2006/03/08/unapi-revision-1-compliant/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Maps JavaScript problem in IE</title>
		<link>http://lackoftalent.org/michael/blog/2005/12/02/google-maps-javascript-problem-in-ie/</link>
		<comments>http://lackoftalent.org/michael/blog/2005/12/02/google-maps-javascript-problem-in-ie/#comments</comments>
		<pubDate>Sat, 03 Dec 2005 06:51:00 +0000</pubDate>
		<dc:creator>Michael Giarlo</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://lackoftalent.org/michael/blog/2005/12/02/google-maps-javascript-problem-in-ie/</guid>
		<description><![CDATA[
Internet Explorer likes to throw the &#8220;Operation Aborted&#8221; error when trying to hook into the Google Maps API via JavaScript, at least when the JavaScript is placed where it is supposed to, i.e., a reference to the Google Maps JavaScript in the page HEAD and the actual rendering of the map within the DIV tag.
To [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="oai:lackoftalent.org:technosophia:13"><!-- &nbsp; --></abbr>
<p>Internet Explorer likes to throw the &#8220;Operation Aborted&#8221; error when trying to hook into the Google Maps API via JavaScript, at least when the JavaScript is placed where it is supposed to, i.e., a reference to the Google Maps JavaScript in the page HEAD and the actual rendering of the map within the DIV tag.</p>
<p>To fix this in IE, move the DIV block JavaScript code near the bottom of your HTML. Place it right between the terminating BODY tag and the terminating HTML tag. The problem seems to be that IE gets all confused when JavaScript attempts to make modifications to the page &#8212; e.g., sucking down a map from Google &#8212; while still rendering the body HTML. There are a couple other fix options here:</p>
<p>http://www.mapki.com/index.php?title=FAQs#Browser_Problems</p>
<p>It is worth noting that this &#8220;fix&#8221; does not break functionality in Firefox. And, really, who cares about the other browsers? Communists and robots, my friend.</p>
<p>In the HEAD of your page, you may include the initial JavaScript</p>
<blockquote><p><code>&lt;script src="http://maps.google.com/maps?file=api&#038;v=1&#038;key=BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAH" mce_src="http://maps.google.com/maps?file=api&#038;v=1&#038;key=BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAH" type="text/javascript"&gt;&lt;/script&gt;</code> </p></blockquote>
<p>Though it surprised me that I couldn&#8217;t remove the terminating SCRIPT tag and instead make the first SCRIPT tag self-terminating, i.e., instead of <code>&lt;script foo="bar"&gt;&lt;/script&gt;</code>, I tried <code>&lt;script foo="bar"/&gt;</code> and it didn&#8217;t work.</p>
<p>The JavaScript that actually renders the map within the DIV tag, <em>cleverly</em> named &#8220;map&#8221;, should look similar to the following:</p>
<blockquote><p><code><br />
&lt;/BODY&gt;<br />
&lt;script type="text/javascript"&gt;<br />
//&lt;![CDATA[ </p>
<p>var map = new GMap(document.getElementById("map"));<br />
map.setMapType(G_HYBRID_TYPE);<br />
map.addControl(new GSmallMapControl());<br />
map.addControl(new GMapTypeControl());<br />
map.centerAndZoom(new GPoint(-666.666,66.6666), 2);<br />
map.openInfoWindowHtml(map.getCenterLatLng(), "100 Main St.&lt;BR&gt;Nowheresville, ZZ 99999<br />
ZZZ");</p>
<p>//]]&gt;<br />
&lt;/script&gt;<br />
&lt;/HTML&gt;<br />
</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://lackoftalent.org/michael/blog/2005/12/02/google-maps-javascript-problem-in-ie/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
