<?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>Sheila&#039;s Blog &#187; lrs</title>
	<atom:link href="http://sheilapollard.com/tag/lrs/feed/" rel="self" type="application/rss+xml" />
	<link>http://sheilapollard.com</link>
	<description>Software Development</description>
	<lastBuildDate>Wed, 24 Mar 2010 17:19:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Editing LRF files for the Sony EReader</title>
		<link>http://sheilapollard.com/2009/03/12/editing-lrf-files-for-the-sony-ereader/?utm_campaign=feed&utm_medium=feed&utm_source=blog</link>
		<comments>http://sheilapollard.com/2009/03/12/editing-lrf-files-for-the-sony-ereader/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:40:07 +0000</pubDate>
		<dc:creator>Sheila</dc:creator>
				<category><![CDATA[gadgets]]></category>
		<category><![CDATA[lrf]]></category>
		<category><![CDATA[lrs]]></category>
		<category><![CDATA[sony ereader]]></category>

		<guid isPermaLink="false">http://sheilapollard.wordpress.com/?p=68</guid>
		<description><![CDATA[One of the things that took me a while to figure out with the Sony Ereader was the best way to manage my book collection, and what to do if I wanted to fix an annoying typo in one of my books.  As it turns out, it was easier to do than I thought&#8230;
Rather [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things that took me a while to figure out with the Sony Ereader was the best way to manage my book collection, and what to do if I wanted to fix an annoying typo in one of my books.  As it turns out, it was easier to do than I thought&#8230;</p>
<p>Rather than using the software supplied by Sony, I&#8217;ve been using the free open source tool <a href="http://sheilapollard.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2NhbGlicmUua292aWRnb3lhbC5uZXQv">Calibre</a> to manage my books from the start.  It&#8217;s a python tool that runs on windows and linux.  It takes only a short time to get used to it, and it can be used to convert ebooks of many different formats into Sony&#8217;s LRF format.  You can manage all the books you have in your library and update content to your Ereader.  In addition to all that there are also options for pulling content from websites and converting those into a readable format offline.</p>
<p>When it came to actually making small edits to books I spent some time looking at PDF editors before realising that I could skip the PDFs altogether and start with the LRF file.  As part of the Calibre install you already get a bunch of conversion tools.  The useful ones in this case are lrf2lrs and lrs2lrf.  While LRF is a binary format that isn&#8217;t editable, lrs is an xml version that is.  You can simply open a command prompt and use <em><strong>lrf2lrs book.lrf</strong></em> to convert your book to a book.lrs file.  You can open this in a normal text editor to fix any typos.  When you&#8217;ve updated the lrs file, just use <em><strong>lrs2lrf book.lrs</strong></em> to update book.lrf with your changes.  Simple as that!  You can do more complicated editing of the lrs file including the table of contents, but it does mean getting very familiar with the lrs format.  More on that another time.</p>
<p>You can also edit the metadata for each book in Calibre.  You need to be careful that you don&#8217;t lose those changes if you decide to backup and restore your calibre library though as the metadata in the LRF files themselves does not get updated. If you just copy the folders containing the books and reimport them, you&#8217;ll lose any metadata changes.  You need to choose the &#8220;Save to disk&#8221; option which will copy the folders, lrf files and also create an opf file in each folder.  When you reimport these folders the updated metadata will be retained.</p>
<br /><a href="http://sheilapollard.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NoZWlsYXBvbGxhcmQud29yZHByZXNzLmNvbS8/cD02OCNjb21tZW50cw==" title=\"Comments on &quot;Editing LRF files for the Sony EReader&quot;\"><img src="http://sheilapollard.com/wp-content/plugins/feed-comments-number/image.php?68" alt="Comments" /></a> <img src="http://sheilapollard.com/wp-content/plugins/feed-statistics.php?view=1&post_id=68" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://sheilapollard.com/2009/03/12/editing-lrf-files-for-the-sony-ereader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
