Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2009, 01:57 PM   #1
howdypda
Junior Member
howdypda began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: sony prs-505
[PRS Recollect]A folder-hierarchy-based collection generator

Hey, everyone,

I wrote a ebook collection generator based on folder structure, for Sony PRS 505 (probably also useful for 500/700). Please check it out and give feedbacks:

http://code.google.com/p/prs-recollect/

howdypda

Quote:

Limitation/Requirement

At current stage, it only works for ebooks stored on SD and directories must have following structure:

Code:
SD root
    -Sony Reader
        -database
            cache.xml
        -books
            -collectionname1
                book1.pdf
            -collectionname2
                book2.epub
                book3.txt
            (etc)
How to use?

First time use:

1. Download the latest Windows binary from the download page.
2. Make sure you are not running Sony's Ebook Library or other ebook management software on PC, then plug your PRS to PC's USB port.
3. Create collection folders under "books" directory. The name of a folder is the same as its collection name. Put ebooks under their folders respectively.
4. Unplug USB, wait until the main menu appears and you can read ebooks normally, then plug the USB connection.
5. Copy the Windows executable to the "Sony Reader" folder and click on it. A new "cache.xml" will be generated under "Sony Reader". Copy the "cache.xml" to "database" folder to overwrite the old one.
6. Safely unplug the device and you have collections generated!

Repeat use: (assume you haven't deleted the executable under "Sony Reader" folder in SD)

1. Make sure you are not running Sony's Ebook Library or other ebook management software on PC, then plug your PRS to PC's USB port.
2. Create collection folders under "books" directory. The name of a folder is the same as its collection name. Put ebooks under their folders respectively.
3. Unplug USB, wait until the main menu appears and you can read ebooks normally, then plug the USB connection.
4. Click on the executable under "Sony Reader" folder. A new "cache.xml" will be generated under "Sony Reader". Copy the "cache.xml" to "database" folder to overwrite the old one.
5. Safely unplug the device and you have collections generated!

Problem Solving

If you have difficulties, try removing "cache.xml" under "database" folder, unplug USB and let your device generate a fresh cache.xml. Then restart from step #2 in "How to use" section.
howdypda is offline   Reply With Quote
Old 08-06-2009, 10:54 PM   #2
Kostas
Still wondering why
Kostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-books
 
Kostas's Avatar
 
Posts: 253
Karma: 800
Join Date: Jun 2009
Location: Athens, Greece
Device: PRS 505, (BlackBerry Bold ?)
Hi howdypda and thanks for sharing.

Correct me if I'm wrong: PRS recollect does not support subfolders, eg:

Code:
SD root
    -Sony Reader
        -database
            cache.xml
        -books
            -collectionname1
                book1.pdf
                -collectionname11
                  book11.epub
                  book12.lrf
            -collectionname2
                book2.epub
                book3.txt
            (etc)
Kostas is offline   Reply With Quote
Advert
Old 08-07-2009, 01:24 AM   #3
howdypda
Junior Member
howdypda began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: sony prs-505
Yes, unfortunately, the software only recognize ebooks that are stored under subfolders of "Sony Reader/books". I thought PRS505 doesn't support multi-level collections so a multi-level folder doesn't make much sense.

Quote:
Originally Posted by Kostas View Post
Hi howdypda and thanks for sharing.

Correct me if I'm wrong: PRS recollect does not support subfolders, eg:

Code:
SD root
    -Sony Reader
        -database
            cache.xml
        -books
            -collectionname1
                book1.pdf
                -collectionname11
                  book11.epub
                  book12.lrf
            -collectionname2
                book2.epub
                book3.txt
            (etc)
howdypda is offline   Reply With Quote
Old 08-07-2009, 10:49 AM   #4
Who are you?
Groupie
Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.
 
Who are you?'s Avatar
 
Posts: 184
Karma: 300001
Join Date: May 2009
Device: 505
But that's the whole point of wanting folder support, so you can have multiple levels.

Perhaps you could create collections with the full path as a name?
So for the example above you would get 3 collections (or even 4) collections.
collectionname1 with book1.pdf, book11.epub, book12.lrf
collectionname1\collectionname11 with book11.epub, book12.lrf
collectionname2 with book2.epub, book3.txt
collectionname11 with book11.epub, book12.lrf (this last option would/could be useful if collectionname2 were two have a subfolder also named collectionname11)
Who are you? is offline   Reply With Quote
Old 08-07-2009, 01:33 PM   #5
howdypda
Junior Member
howdypda began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: sony prs-505
Sounds like a good idea. I will try to add this feature to future versions in weekends. Please check out the google code page for update.

http://code.google.com/p/prs-recollect/

The python source code is also there for hacking and I welcome any kind of contribution to the project.

Quote:
Originally Posted by Who are you? View Post
But that's the whole point of wanting folder support, so you can have multiple levels.

Perhaps you could create collections with the full path as a name?
So for the example above you would get 3 collections (or even 4) collections.
collectionname1 with book1.pdf, book11.epub, book12.lrf
collectionname1\collectionname11 with book11.epub, book12.lrf
collectionname2 with book2.epub, book3.txt
collectionname11 with book11.epub, book12.lrf (this last option would/could be useful if collectionname2 were two have a subfolder also named collectionname11)
howdypda is offline   Reply With Quote
Advert
Reply

Tags
collection generator, python

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book Hierarchy jjansen Calibre 4 04-10-2010 10:39 AM
Collection order in PRS-505 Dster Calibre 5 11-09-2009 06:30 PM
Moving collection to SD card on PRS-500 phookoo Calibre 4 09-06-2009 05:13 PM
Loosing collection information on prs 505... Student1 Sony Reader 2 04-11-2009 12:35 PM
Very simple PRS-505 content/collection builder pepak Sony Reader Dev Corner 3 03-17-2008 01:40 PM


All times are GMT -4. The time now is 07:17 AM.


MobileRead.com is a privately owned, operated and funded community.