![]() |
#2656 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
In ebook-convert recipename.recipe foldername --test -vv>recipename.txt it's in the .txt file. Alternatively, start the GUI with calibre-debug -g and it will appear there.
|
![]() |
![]() |
#2657 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
![]() c:\Program Files\Calibre2>ebook-convert recipenamehere.recipe output_dir --test -vv > myrecipe.txt so when you run that and you have for instance print 'HERE IS WHAT WILL PRINT: ', print_url then it will take and output to the file myrecipe.txt what the print_url is and you can find it easily in the log by looking for HERE IS WHAT WILL PRINT. It keeps you from having to guess per say. |
|
![]() |
![]() |
#2658 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2008
Device: PRS505, Kindle 3G
|
oh I see - I didn't realise there was the command line option - I'd been running them from the GUI! I'll give your tips a try - thanks!
|
![]() |
![]() |
#2659 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#2660 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
recipe for fast company has been already made but can anyone make the recipe for print edition using this link
http://www.fastcompany.com/magazine/148 thanks in advance |
![]() |
![]() |
#2661 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
If your calling the "print edition" what you see currently on the screen when you go to that link I don't see the point in doing it. Because each month/week that the issue changes you are going to have to change the feed reference from 148 to Nth Or am I'm missing your question completely ? |
|
![]() |
![]() |
#2662 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2010
Device: K3
|
Thanks to both cynvision and TonytheBookworm for their helpful recipes and posts. My wife laughed uncontrollably when I said I'm trying to learn computer programming.
cynvision--the rss feeds are hidden. If you click on the red tab across the top, they show up in each section. I really appreciate your help and have been able to use your work to customize some other things I'm interested in. Grateful for the 178 pages here that I read through, and each of you helpful people, Thanks so much! Matt |
![]() |
![]() |
#2663 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2008
Device: PRS505, Kindle 3G
|
Starson17 - those links have rapidly been bookmarked - very useful! Thanks for posting them.
|
![]() |
![]() |
#2664 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
You're welcome. I go back to them repeatedly, especially the recipe API and Beautiful Soup. Whenever I want to learn how to actually use something I see in the API or BS, I search for it in the built-in recipes in resources/recipes.
|
![]() |
![]() |
#2665 | |
Zealot
![]() ![]() Posts: 115
Karma: 150
Join Date: Jul 2008
Location: Netherlands Veenendaal
Device: Palm T5, Sony PRS-505, Nook Color
|
Quote:
Code:
for post in soup.findAll(True, attrs={'class' : 'post'}) : Code:
for post in soup.findAll(True, attrs={'class' : 'post '}) : This fixes this recipe but one problem remains now that it generates an epub. How to get rid of the comments section. Can't remember that I had those a couple of weeks ago so that part must have changed also but adding things like: remove_tags.append(dict(name = 'h3', attrs = {'class' : 'reacties'})) doesn't seem to help much. But looking a bit further and experimenting I found the ideal mix. The complete recipe is as follows: Spoiler:
Kovid, will you please update the builtin recipe with this updated code? Thanks in advance, Joop |
|
![]() |
![]() |
#2666 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
![]() ![]() |
|
![]() |
![]() |
#2667 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,210
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@JdvW: Done
|
![]() |
![]() |
#2668 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2008
Device: PRS505, Kindle 3G
|
Tony - I hope I didnt misunderstand your post - but did you know that you can set up an email address in Calibre and have it automatically send any news items to your free kindle address, so it will automatically download the sent news whenever you're in a wifi zone? Saves leaving the content server running too.
I have 15 feeds set up to run at 6am, then, as I'm getting ready to commute, without taking the Kindle out of my bag, I flick the power switch - it downloads everything so that when I sit down on the train, I have all the latest news at my fingertips - gotta love Calibre! edit: doh - you have a kindle 2 - in that case, ignore me! |
![]() |
![]() |
#2669 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
|
|
![]() |
![]() |
#2670 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Everyone is so friendly here, I know it's a temptation to stray off topic, but you probably should go to another thread with this. The recipe thread is tough to wade through as it is with all the lengthy recipes. <GRIN>
|
![]() |
![]() |
|
![]() |
||||
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 |