View Single Post
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