Quote:
Originally Posted by drgrittani
Starson17, it says you are a wizard so please post your results if you get it to work. Wizards can usually do these things more quickly.
|
This will grab the most recent EPUB on the feed (actually, the one nearest the top - which is the most recent). If you hadn't posted, and Kovid hadn't commented about the Taz Digiabo recipe, I never would have thought about doing it this way.
This recipe skips the parts of the recipe system that get the RSS feed, gets the masthead image and cover, parses the feed for articles, retrieves the articles, removes tags from articles, etc. All of those steps ultimately produce a local directory structure that looks just like an unzipped EPUB.
What this recipe does is to simply grab the link to one EPUB (the first in the RSS feed), saves the EPUB locally, extracts it, and passes the result back into the recipe system as though all the other steps had been completed normally. It was very interesting. (There's no easy way I see to combine multiple EPUBs from the feed.)