![]() |
#406 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 185
Karma: 3633418
Join Date: Mar 2009
Location: UK
Device: Kobo Libra
|
Quote:
I was using the flag.zip from the first post, I didn't realise there was an online version (except for eyrad's (I think that was his username) but that's been down since I stumbled upon this). I think I'm gonna have to read up some more on using recipes in calibre before bothering people with questions again lol. Basically what I want is to be able to input a story id somewhere and have the script pull down all the chapters and turn them into one file. Thank you for your help |
|
![]() |
![]() |
#407 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
The Calibre recipe is designed to retrieve a bunch of stories based on a feed. It's good if you want to, say, download all stories updated within the last few days or download all the stories by an author. For downloading individual stories, not so good.
If you just need to output individual stories to html, you can use the following URL: Code:
http://www.utterlyinsane.org/fflag/print.php?storyid=####### "C:\xampp\php\php.exe" "C:\xampp\htdocs\flag\fflag" -s ffnet -i storyid -f format -o filename.ext So far, currently supported formats include html, epub and lrf. Both epub and lrf formats require Calibre to be installed. I should be able to add support for other output formats supported by Calibre. P.S. For non-Calibre recipe inquiries (e.g. problems with the PHP script), please post on the FLAG thread in the future. I don't think it's good to continue cluttering up this thread with unrelated discussion. Last edited by ilovejedd; 03-29-2009 at 06:28 PM. |
![]() |
Advert | |
|
![]() |
#408 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 185
Karma: 3633418
Join Date: Mar 2009
Location: UK
Device: Kobo Libra
|
That is brilliant that's exactly what I'm looking for thank you.
I've now managed to get my head around how the recipes work after your previous post, the only problem I had was it put all the books into one big file which wasn't quite what I'm after, this will sort the problem perfectly thank you. Edit: When trying to use the URL you posted I get a 404. (I'm changing the storid not leaving the hashes ![]() On a side note when trying to use the CLI php.exe crashes for some reason when trying to create the epub file (can't do lrf as Stanza won't read it) is this format supported or should i reinstall php? Just want to check before going through the hassle of reinstalling. Sorry for all the questions and sorry to everybody if this is OT Edit 2: gah just saw your edit lol, i will take this to that thread thanks. Last edited by Mnementh; 03-29-2009 at 05:08 PM. |
![]() |
![]() |
#409 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2009
Device: PRS-505
|
Thanks!
|
![]() |
![]() |
#410 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 410
Karma: 2081
Join Date: Feb 2009
Location: Toronto, Canada
Device: Cybook Gen3, PRS600
|
|
![]() |
Advert | |
|
![]() |
#411 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2008
Device: iRex DR1000S
|
@kovidgoyal
Thanks for the tip, I will give it a try today. |
![]() |
![]() |
#412 |
space cadet
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 2999999
Join Date: Aug 2007
Location: Seattle area
Device: Rocket PRO, gen3, Pocketbook360
|
I'm using the standard included recipe for the Christian Science Monitor (and my breakthrough reason for starting to use Calibre is that the Monitor just converted to online only for daily news). I'm finding that there are blank pages at the beginning, so when I select the book on my cybook it looks like nothing happens - I have to page forward a couple times before I get to the Toc.
Any easy way to automatically get rid of the blank page? (After looking at this in Calibre's viewer of the Epub version, I *think* the blank page is still there, so it shouldn't be an artifact of the conversion to mobi.) And, is there an easy way to tell Calibre to use a standard image as the cover image to go with the resulting book? |
![]() |
![]() |
#413 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
this blank page is after the cover?
|
![]() |
![]() |
#414 |
space cadet
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 2999999
Join Date: Aug 2007
Location: Seattle area
Device: Rocket PRO, gen3, Pocketbook360
|
No, there wasn't a cover. I looked on the Monitor's website, and there really isn't a good image that would work as a cover. I went back to a print edition from weeks ago and tried to grab a logo to use as a default cover, and just wanted to know how to make the recipe grab it from my hard drive.
Now I've looked at the recipe results a little closer, and it seems incomplete. It uses the text edition page, but currently (at least so far this week, anyway) it doesn't actually list all the articles that normally would be included in the day's "edition". I trying to play a little bit with a new recipe to go off the rss feeds instead, but I'm gonna be slow at this. And I'm also going to send a note to the editors to see if they can't get the complete article list back on the Text Edition page. Could be just a product of not actually producing a paper edition this week. The blank page I was seeing is after where I would expect a cover to display. In the calibre viewer I had to page forward three times to get to the toc. On my cybook, I had to page forward twice, I think. |
![]() |
![]() |
#415 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the cover problem is a regression try re-downloading the latest calibre build (unless you're on linux, then you'll have to wait till the next release).
|
![]() |
![]() |
#416 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 410
Karma: 2081
Join Date: Feb 2009
Location: Toronto, Canada
Device: Cybook Gen3, PRS600
|
Bump
Quote:
Thanks. Mel |
|
![]() |
![]() |
#417 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Click the arrow next to the fetch news button and select add a custom news source, then click the advanced mode button and paste the recipe in
|
![]() |
![]() |
#418 |
Member
![]() Posts: 15
Karma: 10
Join Date: Nov 2008
Device: prs505
|
Washington Post recipe ('Nation', 'http://www.http://www.washingtonpost.com/wp-dyn...tion/index.xml'), needs to be ('Nation', 'http://www.washingtonpost.com/wp-dyn/rss/nation/index.xml'), ? (consistently shows as a failed feed)
|
![]() |
![]() |
#419 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I can't see any difference between the two links??
|
![]() |
![]() |
#420 |
Junior Member
![]() Posts: 6
Karma: 14
Join Date: Mar 2009
Device: Kindle 2
|
I would love some help with this feed for our local newspaper. When I just try the default news recipe the resultant book just lists 'you need to be signed in' for all the articles.
Thanks in advance for any help! http://rss.azstarnet.com/index.php?site=metro |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |