Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-03-2009, 10:31 PM   #421
bds4242
Junior Member
bds4242 began at the beginning.
 
Posts: 6
Karma: 14
Join Date: Mar 2009
Device: Kindle 2
Quote:
Originally Posted by kovidgoyal View Post
Hmm I can't see any difference between the two links??
The difference is that there's an extra 'http://www' in the bad one it would seem...
bds4242 is offline  
Old 04-03-2009, 11:04 PM   #422
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: 45,398
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by bds4242 View Post
The difference is that there's an extra 'http://www' in the bad one it would seem...
Ah! Got it
kovidgoyal is online now  
Advert
Old 04-04-2009, 04:20 AM   #423
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by bds4242 View Post
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
Here is the recipe for Arizona Daily Star:
Attached Files
File Type: zip azstarnet.zip (1.3 KB, 242 views)
kiklop74 is offline  
Old 04-04-2009, 10:51 AM   #424
bds4242
Junior Member
bds4242 began at the beginning.
 
Posts: 6
Karma: 14
Join Date: Mar 2009
Device: Kindle 2
It works great! Thanks very much for doing that for me.

Bill
bds4242 is offline  
Old 04-06-2009, 01:55 AM   #425
weijiajun
Junior Member
weijiajun began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2009
Location: Utah, USA
Device: SONY PRS-505
MSDN

So, I was looking for script to get the feed from MSDN Magazine.

FEED: http://msdn.microsoft.com/en-us/maga...aspx?z=z&iss=1
SITE: http://msdn.microsoft.com/en-us/magazine/default.aspx

I have tried a few scripts but nothing seems to work. If anyone could help out I would appreciate it. Also if there is a great source for documentation explaining the calibre python library I would appreciate it.
weijiajun is offline  
Advert
Old 04-06-2009, 09:32 PM   #426
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
New recipe for MSDN magazine in english:
Attached Files
File Type: zip msdnmag_en.zip (1.8 KB, 284 views)
kiklop74 is offline  
Old 04-06-2009, 10:54 PM   #427
iNdioNicarao
Junior Member
iNdioNicarao began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2009
Device: PRS-505
I keep getting a blank table of contents for La Prensa - Nicaragua.
The New York Times - non member - errors out. I think someone already mentioned this.

Thank you for your time and efforts.
iNdioNicarao is offline  
Old 04-07-2009, 07:22 AM   #428
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
New York times for non-members is not being used any longer. Having that one in the list implicates you are using older version of calibre. Update to the latest version of calibre to get updated recipe for La Prensa. I just tried it again and it works fine.
kiklop74 is offline  
Old 04-07-2009, 10:22 AM   #429
weijiajun
Junior Member
weijiajun began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2009
Location: Utah, USA
Device: SONY PRS-505
Thanks for the MSDN recipe. Works like a champ!
weijiajun is offline  
Old 04-08-2009, 04:48 PM   #430
motdiem
Junior Member
motdiem began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2009
Device: PRS-505
NYMag.com recipe help

So, I was looking to build a recipe for NY Magazine - I've tried building my own, but my python/beautiful soup skills are not so great...

the toc is here: http://nymag.com/includes/tableofcontents.htm but it gets redirected to a different page each week with the format: http://nymag.com/nymag/toc/YYYYMMDD/ (where DD is the next monday...)

I've managed to strip the page down to what I need, but I don't understand how to fetch the articles, etc...

Basically:
Code:
remove_tags_before = dict(id='magazine-toc')
remove_tags_after  = dict(attrs={'class':['attention']})
remove_tags = [dict(attrs={'class':['cover']}),
                dict(name=['h2'])]
It leave with a page where the structure of an article is:
Code:
<h5><a href="link_to_article">article title</a></h5>
<p>article blurb</p>
(but no enclosing div or anything) - So I'm unsure how to link the article title to the key, link, etc

... I then want to replace the article url to go to the print version, which is basically:
Code:
http://www.printthis.clickability.com/pt/cpt?action=cpt&title=ARTICLE-TITLE&expire=&urlID=STRANGE-NUMBER&fb=Y&url=ARTICLE-URL
I can't figure out where the STRANGE-NUMBER is coming from in the article page either....


Hope this makes sense - Thanks for your help

Last edited by motdiem; 04-08-2009 at 04:56 PM.
motdiem is offline  
Old 04-11-2009, 08:16 AM   #431
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
New recipe for moneynews.com:
Attached Files
File Type: zip moneynews.zip (862 Bytes, 256 views)
kiklop74 is offline  
Old 04-13-2009, 08:10 AM   #432
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Created a recipe for www.derstandard.at .
---
Für den Standard (www.derstandard.at) gibts jetzt auch ein calibre Rezept. viel Spass beim lesen!
Attached Files
File Type: zip derStandardRecipe.zip (866 Bytes, 260 views)
laborg is offline  
Old 04-13-2009, 01:07 PM   #433
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Attached: diePresse (www.diepresse.at) - an austrian newspaper
----
Die Presse als calibre Rezept.
Attached Files
File Type: zip diepresserecipe.zip (636 Bytes, 309 views)
laborg is offline  
Old 04-14-2009, 01:53 PM   #434
dsip
Connoisseur
dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.dsip ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 495694
Join Date: Feb 2009
Device: Between Devices..
Would someone be so kind to make one for NZZ:
http://www.nzz.ch/rss_1.109.html

Please?

edit:
Thanks alot, kiklop74!

Last edited by dsip; 04-15-2009 at 05:11 AM.
dsip is offline  
Old 04-14-2009, 02:44 PM   #435
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
New recipe "Nzz Online":
Attached Files
File Type: zip nzz.zip (1.8 KB, 232 views)
kiklop74 is offline  
Closed Thread


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:54 AM.


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