![]() |
#2476 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
#2477 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 87858
Join Date: Dec 2009
Device: Kindle 3
|
La Jornada recipe is now included in 0.7.15. Thanks Kovid :-)
|
![]() |
Advert | |
|
![]() |
#2478 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Question for you Starson17 or anyone else for that matter
If you wanted to subcat your feeds how would you do so in code?
More specifically: Lets say I have Quote:
Thanks again. |
|
![]() |
![]() |
#2479 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 400001
Join Date: Aug 2010
Device: Sony Reader PRS-600
|
Hi folks, I have a question:
Is there any way to grab a feed from a magazine which is online but which does not publish an RSS feed? I'm specifically interested in Tikkun.org. I'm also trying to get commentarymagazine.com, though in that case, it's a matter of my learning the programming to be able to write the recipe for it. They only give you summaries so I have to learn how to write something that will grab the whole article. However in the case of Tikkun, I'm wondering if it's even possible to do something with it. If anyone knows how and can explain it to me, I'd greatly appreciate it. My level of programming knowledge BTW is that I did some programming when I was in college and I know how to do most kinds of HTML scripting. I've never tried Python before, though I have dabbled with other scripting and programming languages, so I know I can figure it out. It's just a matter of taking enough time to learn. Thanks, Eric |
![]() |
![]() |
#2480 |
Enthusiast
![]() Posts: 34
Karma: 54
Join Date: Jul 2008
Device: not yet
|
Hi !
I will need your help for making a recipe or simply try to transpose an existing recipe to that one. I would like to get the rss from Lloyd's List to calibre the website: http://www.lloydslist.com/ I am an user of the website and we have to login to the website to be able to look into the article. Even loggeg on firefox calibre will only take the page that are for non members of the website. Could you tell me if you have any tutorial or recipe that could help me to make one for that website? (with authentification) and maybe directly take the text from the print version ? Thank you for your help ! |
![]() |
Advert | |
|
![]() |
#2481 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Are you asking how to format the list of feeds in the first index.html? I'm not aware of any tools in the Calibre recipe system to do that.
|
![]() |
![]() |
#2482 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
#2483 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 400001
Join Date: Aug 2010
Device: Sony Reader PRS-600
|
Thanks. I see what's involved now. This is at least a full day of work for me to figure it all out, so I'll get to it eventually.
Eric |
![]() |
![]() |
#2484 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#2485 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 400001
Join Date: Aug 2010
Device: Sony Reader PRS-600
|
I took a look at the recipe for The Atlantic, which is mentioned in the example you sent me. However, looking at the website more closely, it's going to be very complicated to adapt the recipe to it because only some things are made available. I imagine someone who knows what they're doing could be done in an hour or so, but for me, I have to do a lot of trial and error until I get all the details of the scripting language figured out.
Thanks again for pointing me in the right direction though. It's something I'll try to work on it some weekend when I'm not very busy with anything else. |
![]() |
![]() |
#2486 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Here is the Atlanta Journal Constitution Feed
In the recipe you will notice I commented out some of the feeds for the individual counties. Of course just take and remove the # to enable them.
Last edited by TonytheBookworm; 08-23-2010 at 10:16 PM. Reason: Modified Recipe to be cleaner and include images |
![]() |
![]() |
#2487 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
If one wanted to remove only the Comment portion of the following
Code:
<p id="BlogDate" class="calibre9">Posted By <u class="calibre10">admin</u> On August 21, 2010 @ 10:15 am In <u class="calibre10">Uncategorized</u> | <u class="calibre10"><a href="#comments_controls" class="calibre6">No Comments</a></u></p> Posted By Jim Jones On August 21,2010 @ 10:15am In Uncategorized again leaving off the comments_controls. How would this be done. I thought maybe using remove_tags() but I'm not certain what dict and attrb I would use. I tried with no luck the following: Code:
remove_tags = [dict(name='a', attrs={'href':'#comment controls'})] i attached the recipe i have so far. it works just would like to remove the comment control thing... Last edited by TonytheBookworm; 08-22-2010 at 12:31 AM. Reason: added working version of http://www.notalwaysright.com |
![]() |
![]() |
#2488 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Code:
remove_tags = [dict(name='a', attrs={'href':'#comments_controls'})] Last edited by Starson17; 08-22-2010 at 09:35 AM. |
|
![]() |
![]() |
#2489 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Aug 2010
Device: Kindle DX
|
Quote:
|
|
![]() |
![]() |
#2490 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
I have no particular expertise on CSS or the Kindle so I can't really give you the fix, but try looking at the css file in your EPUB resulting from the recipe. Look at the masthead text and the css that controls it. Change the css until it works, then add it to your recipe. Here is some stock extra css as an example that can be added to a recipe: Code:
extra_css = ''' h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;} h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;} p{font-family:Arial,Helvetica,sans-serif;font-size:small;} body{font-family:Helvetica,Arial,sans-serif;font-size:small;} ''' |
|
![]() |
![]() |
|
![]() |
||||
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 |