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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-14-2012, 01:05 PM   #1
Chillhelm
Junior Member
Chillhelm began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2012
Device: Kobo Touch
Fetching news DELIVERED as PDF

Hello everyone,

this my first post here, so please be gentle. Also I should state that I of course searched the forums and google first, but for my particular problem the search results were not helpful.

The situation is this: Im subscribed to a news feed (rss-feed) that delivers its articles (homework assignments from my university) as pdf files.
Currently I use a little self-written script (in the Microsoft PowerShell language, but I could rewrite it to python, if that helps at all) to automatically check for new assignments, download them and (if avaiable) copy them to my eBook reader.
However, I'd like for Calibre to do that for me. I tried setting up a newsfeed but that parses all the articles as if they were HTML.
My question then has 3 parts.
a) Is it possible to have calibre fetch those PDFs for me each week, like it does with any regular newsfeed?
b) If so, is a heavily rewritten recipe the way to do it? (Ie overwriting the preexisting download functions etc...)
c) Is there maybe someone out there who already has done this work for me and is willing to share?

And while Im busy with wishful thinking: Can Calibre merge PDFs? (So that all my homework assignments could be stored in one file instead of 10 files for 10 weeks)
Chillhelm is offline   Reply With Quote
Old 11-17-2012, 10:44 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: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can do it by hacking the recipe system to downlaod the pdf and autoadd it to the db using calibredb. I believe it's been done before, but you'll have to do some googling to find it.

As for merging, calibre wont do it out of the box but it should be trivial to make a user interface plugin that does it either using pdftk or the podofo module that calibre ships with.
kovidgoyal is offline   Reply With Quote
Reply

Tags
pdf, rss feed

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetching News UI fafaforza Calibre 3 08-24-2012 12:59 AM
Fetching News Zerenthal Library Management 4 08-15-2011 03:17 PM
time-stamp of delivered news articles does not correct ummae Conversion 0 07-05-2011 08:44 PM
Fetching news. Timeout? Sciamano Recipes 9 04-13-2011 06:30 AM
Trouble fetching news jpustin Calibre 6 06-28-2010 01:57 PM


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


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