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 11-22-2010, 03:45 PM   #1
sps
Junior Member
sps began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle
Ebook from pdf

Hi
Is it possible to make an ebook of an online pdf magazine.
The complete magazine location:
http://emagazine.tehelka.com/tehelka...f/pagetemp.pdf

The entire magazine comes in the web-browser if I use this link.
However, when I use this as a feed on Calibre, it gives an error and cannot download anything.

I am not a Python user, so I do not know how to ask Calibre to convert the file format (from pdf to MOBI.)
(If this works) I would also like advice on how to automate the process. The part "http://emagazine.tehelka.com/tehelkaenglish/" remains the same. The next number is the issue "27112010" stands for 27Nov2010 and the end remains same.
I looked at bbc example and in that a prefix is added to each feed. If I use 'http://emagazine.tehelka.com/tehelkaenglish/' as feed, then it goes to the present issue. Is there a way to add 'pdf/pagetemp.pdf' at the end.

Thanks a lot.
Sumeet
sps is offline   Reply With Quote
Old 11-22-2010, 04:29 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by sps View Post
Hi
Is it possible to make an ebook of an online pdf magazine.
Yes, but not as a recipe that automatically downloads. Since you are in the recipe area, I assume that is what you want, and you can't do it (or at least not easily). If you just want the book, download it and add it to Calibre.
Starson17 is offline   Reply With Quote
Old 11-22-2010, 04:43 PM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Starson17 View Post
Yes, but not as a recipe that automatically downloads.
You can write scripts that grab the pdf (using a 3d party program like wget), then converts the book (using Calibre's ebook-convert) then adds it to Calibre, but it's not treated as a news recipe is treated. You would run the script using a scheduler program for your OS. I can even think of ways to trick a recipe into thinking the downloaded converted pdf =>EPUB is the source for a recipe, (similar to the way that a recipe can grab an EPUB, even though it can't grab a PDF) but all of this would be a major hack.
Starson17 is offline   Reply With Quote
Old 11-26-2010, 01:02 AM   #4
sps
Junior Member
sps began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle
Thanks for the replies. I am downloading the pdf and having the program be my to-do list alerts
sps is offline   Reply With Quote
Old 01-10-2011, 01:15 PM   #5
naravive
Enthusiast
naravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animalsnaravive is kind to children and small, furry animals
 
Posts: 28
Karma: 6534
Join Date: Jan 2011
Device: Kindle, Boox M92
Sumeet, if I may, I think maybe you're asking the wrong question here-- to download as pdf then convert would be the long way around. What we need is a script that just goes to the tehelka main website -- http://www.tehelka.com/ scrapes the stories and compiles the ebook. As a non-python user, I tried to do it by going to the rss feed page: http://www.tehelka.com/feeds/tehfeed.xml and adding that to the Basic Recipe. But this has many problems -- the images are dropped for some reason, and the feeds come undistinguished by issue or without an index to tell you which section it comes from.

Now: the help we need from the wizards on this forum: we need a recipe that would pull section by section from the site (click section headers on main page) -- Current Affairs, Business, Culture and Society, etc --by clicking into each link on each section, then assemble the week's issue (this is a weekly) with a section based index.

Can anyone help us with writing this recipe, or point to a preloaded recipe for a site that's organised in the same way, that I could try to modify to fit Tehelka's? Tehelka, by the way, is one of the best Indian weeklies and with a major commitment to investigative journalism, so I think it's important that there's a recipe for it.
naravive is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eBook PDF - free tool for creating PDF eBooks from text files KACartlidge PDF 6 01-04-2012 09:41 AM
Ebook saved directory poco06 Calibre 0 01-14-2010 08:25 AM
directory structure Dopedangel Calibre 7 08-20-2009 06:17 AM
iLiad Directory Tree The GreatGonzo iRex Developer's Corner 2 09-18-2007 11:52 AM


All times are GMT -4. The time now is 02:37 AM.


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