Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2011, 11:02 AM   #1
Kaitatsu
Junior Member
Kaitatsu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Creating a Book for each Article / replacing old books of the same source

I'm thinking of creating a custom download process for various fanfiction sites using the recipe system for fetching the sites.

My Idea is to generate a Newsfeed containing all books which have to be updated.
Then, using the recipe system, each Book (the "Article") is downloaded.

When looking through the API and some examples, however, i found some issues with my plan.

The existent News-Fetch recipes create a single book for all downloaded contend, not separating by Article.
Is there a Flag or option to create a book for each single Article, or another way to accomplish similar behavior?

Also, it seems a new Book will be generated each time i Fetch the content. I guess you could just delete the old book in a few lines of code, but maybe there is some other way, using recipes directly.

The Workflow which i thought of would be as following:

* Create a List of Stories you want to keep track of (using a Plugin/external program)
* Create Recipes for downloading Stories for each Fanfiction site using Feeds as source of Links (This makes adding support for new sites rather easy)
* When starting a Fetch process for a single site, the external program filters all stories for the site, checks if there are updates and creates a RSS Feed containing only Stories for the specific Download site which have new Updates
* The Downloaded stories replace the existing ones, so that only one version with the latest updates is remaining.

Using the automatic scheduler for each site allows to automatically update all Stories.
Kaitatsu is offline   Reply With Quote
Old 02-20-2011, 12:17 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's no way for a single recipe to yield more than one book. You can use the automatic expiry function to have previous recipe downloads deleted after a set number of days.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
fanfiction, recipe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Article on creating a free ebook Hatgirl News 8 05-27-2010 09:51 AM
Amazon Replacing Kindle Books With Corrected Versions poohbear_nc Amazon Kindle 4 05-21-2010 05:34 PM
Creating multiple ebook formats from same source files! nrapallo Workshop 91 07-27-2009 03:54 AM
New York Review of Books Article on Google Books BenG News 2 01-26-2009 05:50 PM
TIP: Attention: All Book Designer users creating .IMP books... nrapallo IMP 19 03-08-2008 06:32 PM


All times are GMT -4. The time now is 02:51 PM.


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