On Tue, Aug 11, 2009 at 10:40 AM, Karen Coyle<[log in to unmask]> wrote:
> Ed, I have NO IDEA how you got to rdf/xml from the OL author link -- do
> tell, and I'll take a look! There is no RDF/XML export template for authors,
> but one could be created. The URI/URL is simply the address of the author
> page, and also considered the author identifier on OL.
The nice thing about this linked data stuff is all you have to do is
follow your nose:
--
ed@rorty:~$ curl --include --header "Accept: application/rdf+xml"
http://openlibrary.org/a/OL1518080A
HTTP/1.1 200 OK
Content-Type: application/rdf+xml; charset=utf-8
Date: Tue, 11 Aug 2009 15:01:32 GMT
Server: lighttpd/1.4.19
Transfer-Encoding: chunked
Connection: Keep-Alive
Age: 0
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
xmlns:ol='http://openlibrary.org/type/author'
>
<ol:name>Lawrence Lessig</ol:name>
<ol:personal_name>Lawrence Lessig</ol:personal_name>
<ol:key>/a/OL1518080A</ol:key>
<ol:type>http://openlibrary.org/type/author.rdf</ol:type>
<ol:id>5209974</ol:id>
</rdf:RDF>
--
//Ed
|