04-22-2010, 12:47 PM | #1831 | |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
Quote:
Code:
def print_version(self, url): raw = self.browser.open(url).read() soup = BeautifulSoup(raw.decode('utf8', 'replace')) print_link = soup.find('a', {'class':'printarticle'}) return 'www.infomotori.com' + print_link['href'] feeds = [(u'Ultime Novit\xe0', u'http://feeds.infomotori.com/ultimenovita')] Last edited by gambarini; 04-23-2010 at 03:08 AM. |
|
04-22-2010, 03:08 PM | #1832 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipe for Austrian newspaper Kurier:
|
04-22-2010, 11:58 PM | #1833 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2010
Location: Australia
Device: Kindle Global Wireless
|
Recipe for "The West Australian" newspaper?
Hello,
I'm very new to this fantastic service (calibre) and to this site as well. If I'm reading correctly, it seems people here more knowledgeable than I are willing to create recipes for newspaper sites. If so, I'd like to take advantage as I'm a complete newbie at this kind of thing. I'm interested in a new recipe for "The West Australian" newspaper, (thewest.com.au) Thanks so much. P.S. Many thanks for the existing service on some other Australian papers. |
04-23-2010, 12:55 AM | #1834 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2010
Device: Sony pocket edition
|
is it possible to create a recipe from a site that doesn't have a feed?
I would love to be able to pull all of the articles from the following page: http://www.321gold.com/archives/archive.php Please email me if you can help at jonny34@gmail.com Thanks! |
04-23-2010, 04:21 AM | #1835 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
|
|
04-23-2010, 10:20 AM | #1836 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipe for Australian newspapers The West Australian:
Last edited by kiklop74; 04-23-2010 at 10:27 AM. |
04-23-2010, 12:41 PM | #1837 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
|
||
04-23-2010, 01:55 PM | #1838 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2010
Device: sony 505
|
help with recipe
Could you kindly please help with the following recipe?
http://www.chinadaily.com.cn/rss/china_rss.xml |
04-23-2010, 10:03 PM | #1839 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2010
Location: Australia
Device: Kindle Global Wireless
|
Thank you
|
04-24-2010, 09:54 AM | #1840 |
Member
Posts: 10
Karma: 10
Join Date: Oct 2006
Device: SONY PRS-700, GEB 1150
|
Catholic News Recipe
I was hoping I could request a recipe for http://www.catholicnews.com. I tried doing it myself, but all the articles came up blank. There are 3 feeds. Top News, Vatican, and Movie Reviews........I would like all if possible.
Thanks in advance for the help......also is there any reason why just adding the feeds in Calibre doesn't work.........? Here is the code for what I tried to do: Code:
class AdvancedUserRecipe1272117202(BasicNewsRecipe): title = u'Catholic News' oldest_article = 7 max_articles_per_feed = 100 feeds = [(u'Top Stories', u'http://feedity.com/rss.aspx/catholicnews-com/UVNXUVU'), (u'Vatacan', u'http://feedity.com/rss.aspx/catholicnews-com/VVdQUFM'), (u'Movie Reviews', u'http://feedity.com/rss.aspx/catholicnews-com/VVRTW1Q')] |
04-24-2010, 10:43 AM | #1841 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
It worked. Since my standard recipe isn't too different from the default produced by Calibre, I wondered why yours didn't work, so I tried yours. It worked, too. So now I wonder why you think your recipe doesn't work? The default could be improved a bit, but it's certainly readable. Last edited by Starson17; 04-24-2010 at 11:04 AM. |
|
04-24-2010, 11:10 AM | #1842 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
04-24-2010, 01:54 PM | #1843 | |
Member
Posts: 10
Karma: 10
Join Date: Oct 2006
Device: SONY PRS-700, GEB 1150
|
Quote:
Thanks again. |
|
04-24-2010, 02:28 PM | #1844 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Edit: Do other recipes work for you? Last edited by Starson17; 04-24-2010 at 02:54 PM. |
|
04-24-2010, 08:16 PM | #1845 | |
Member
Posts: 10
Karma: 10
Join Date: Oct 2006
Device: SONY PRS-700, GEB 1150
|
Quote:
Sorry I am not making this up.........just weird!!! |
|
Thread Tools | Search this Thread |
|
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 |