<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: OpenBook Plugin: Grabbing the Book Data</title>
	<atom:link href="http://johnmiedema.ca/2008/05/29/openbook-plugin-grabbing-the-book-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmiedema.ca/2008/05/29/openbook-plugin-grabbing-the-book-data/</link>
	<description>books, libraries, technology</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:07:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: John</title>
		<link>http://johnmiedema.ca/2008/05/29/openbook-plugin-grabbing-the-book-data/comment-page-1/#comment-2349</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 29 May 2008 21:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://johnmiedema.ca/?p=466#comment-2349</guid>
		<description>Paul, I knew there was a good reason for blogging this process. I will definitely use your first suggestion, and I will have a good look at the second. OL is working on a cover image API, but till then your suggestion might work. Much appreciated.</description>
		<content:encoded><![CDATA[<p>Paul, I knew there was a good reason for blogging this process. I will definitely use your first suggestion, and I will have a good look at the second. OL is working on a cover image API, but till then your suggestion might work. Much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Rodriguez</title>
		<link>http://johnmiedema.ca/2008/05/29/openbook-plugin-grabbing-the-book-data/comment-page-1/#comment-2348</link>
		<dc:creator>Paul Rodriguez</dc:creator>
		<pubDate>Thu, 29 May 2008 20:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://johnmiedema.ca/?p=466#comment-2348</guid>
		<description>Two small suggestions. If you write

echo &quot;Title:&quot; . ucwords($title);

It will return with proper capitalization:

Title: Revolting Librarians Redux

For the cover, OpenLibrary seems to use a fairly consistent system. I presume they will eventually integrate the cover URLs into their API, but until then, you could use:

$full_cover_url = &quot;http://openlibrary.org/static/bookcovers/full/&quot; . substr($result-&gt;{&#039;isbn_10&#039;}, 0, 1} . &quot;/&quot; . substr($result-&gt;{&#039;isbn-10&#039;}, 1, 1) . &quot;/&quot; . $result-&gt;{&#039;isbn_10&#039;} . &quot;.jpg&quot;;
$thumb_cover_url = &quot;http://openlibrary.org/static/bookcovers/thumb/&quot; . substr($result-&gt;{&#039;isbn_10&#039;}, 0, 1} . &quot;/&quot; . substr($result-&gt;{&#039;isbn-10&#039;}, 1, 1) . &quot;/&quot; . $result-&gt;{&#039;isbn_10&#039;} . &quot;.jpg&quot;;
echo &quot;Full cover: &quot;;
echo &quot;Thumbnail cover: &quot;;</description>
		<content:encoded><![CDATA[<p>Two small suggestions. If you write</p>
<p>echo &#8220;Title:&#8221; . ucwords($title);</p>
<p>It will return with proper capitalization:</p>
<p>Title: Revolting Librarians Redux</p>
<p>For the cover, OpenLibrary seems to use a fairly consistent system. I presume they will eventually integrate the cover URLs into their API, but until then, you could use:</p>
<p>$full_cover_url = &#8220;http://openlibrary.org/static/bookcovers/full/&#8221; . substr($result-&gt;{&#8216;isbn_10&#8242;}, 0, 1} . &#8220;/&#8221; . substr($result-&gt;{&#8216;isbn-10&#8242;}, 1, 1) . &#8220;/&#8221; . $result-&gt;{&#8216;isbn_10&#8242;} . &#8220;.jpg&#8221;;<br />
$thumb_cover_url = &#8220;http://openlibrary.org/static/bookcovers/thumb/&#8221; . substr($result-&gt;{&#8216;isbn_10&#8242;}, 0, 1} . &#8220;/&#8221; . substr($result-&gt;{&#8216;isbn-10&#8242;}, 1, 1) . &#8220;/&#8221; . $result-&gt;{&#8216;isbn_10&#8242;} . &#8220;.jpg&#8221;;<br />
echo &#8220;Full cover: &#8220;;<br />
echo &#8220;Thumbnail cover: &#8220;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
