|
|
#106 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
|
|
|
|
|
|
#107 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2008
Device: prs-505 or prs-700?
|
|
|
|
| Advert | |
|
|
|
|
#108 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Dec 2008
Device: Sony PRS-505
|
OK, this seems to work for Slashdot, it just takes an hour and a half on my PC...
Code:
class AdvancedUserRecipe1230335014(BasicNewsRecipe):
title = u'Slashdot'
oldest_article = 7
max_articles_per_feed = 100
feeds = [(u'Slashdot', u'http://rss.slashdot.org/Slashdot/slashdot')]
def get_article_url(self, article):
return article.get('feedburner_origlink', None)
Last edited by Overlord44; 01-06-2009 at 08:33 PM. |
|
|
|
|
#109 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipe for famous joelonsoftware.com blog.
|
|
|
|
|
#110 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Jan 2009
Device: Sony PRS-T1, Kindle4NT
|
German Heise Telepolis
Hi,
i'm trying to create an recipe for german heise telepolis. I use this recipe: Code:
#!/usr/bin/env python
__license__ = 'GPL v3'
__copyright__ = '2008, Friedhelm Buescher'
'''
www.heise.de/tp/
'''
from calibre.web.feeds.news import BasicNewsRecipe
class HeiseTelepolis(BasicNewsRecipe):
title = u'heise-tp'
__author__ = 'Friedhelm Buescher'
description = 'Heise Telepolis'
oldest_article = 7
max_articles_per_feed = 50
no_stylesheets = False
use_embedded_content = False
keep_only_tags = [
dict(name='table' , attrs={'class':'blogtable' }),
dict(id='HEISETEXT')
]
feeds = [
(u'tp', u'http://www.heise.de/tp/news-atom.xml')
]
def print_version(self, url):
return url + '?printable=true'
can someone help, please? regards, Friedhelm. |
|
|
| Advert | |
|
|
|
|
#111 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
I'll take a look during weekend if I find time. |
|
|
|
|
|
#112 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 570
Join Date: Nov 2008
Device: iPad 1 and iPad 4, KF HD 8.9"
|
|
|
|
|
|
#113 | |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Jan 2009
Device: Sony PRS-T1, Kindle4NT
|
Quote:
hi kiklop74. Maybe, http://www.heise.de/tp/pdanews/default.html would then be a good place to start? I have no idea, how to parse an html-page as an index-page. |
|
|
|
|
|
#114 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
This : Code:
feeds = [
(u'Top stories from Times Online', u'http://www.timesonline.co.uk/tol/feeds/rss/topstories.xml' ),
('Latest Business News', 'http://www.timesonline.co.uk/tol/feeds/rss/business.xml'),
('Economics', 'http://www.timesonline.co.uk/tol/feeds/rss/economics.xml'),
('World News', 'http://www.timesonline.co.uk/tol/feeds/rss/worldnews.xml'),
('UK News', 'http://www.timesonline.co.uk/tol/feeds/rss/uknews.xml'),
('Travel News', 'http://www.timesonline.co.uk/tol/feeds/rss/travel.xml'),
('Sports News', 'http://www.timesonline.co.uk/tol/feeds/rss/sport.xml'),
('Film News', 'http://www.timesonline.co.uk/tol/feeds/rss/film.xml'),
('Tech news', 'http://www.timesonline.co.uk/tol/feeds/rss/tech.xml'),
]
Code:
feeds = [
(u'Top stories from Times Online', u'http://www.timesonline.co.uk/tol/feeds/rss/topstories.xml' ),
('Latest Business News', 'http://www.timesonline.co.uk/tol/feeds/rss/business.xml'),
('Economics', 'http://www.timesonline.co.uk/tol/feeds/rss/economics.xml'),
('World News', 'http://www.timesonline.co.uk/tol/feeds/rss/worldnews.xml'),
('UK News', 'http://www.timesonline.co.uk/tol/feeds/rss/uknews.xml'),
('Travel News', 'http://www.timesonline.co.uk/tol/feeds/rss/travel.xml'),
('Sports News', 'http://www.timesonline.co.uk/tol/feeds/rss/sport.xml'),
('Film News', 'http://www.timesonline.co.uk/tol/feeds/rss/film.xml'),
('Tech news', 'http://www.timesonline.co.uk/tol/feeds/rss/tech.xml'),
('Times literary suplement', 'http://www.timesonline.co.uk/tol/feeds/rss/thetls.xml'),
]
|
|
|
|
|
|
#115 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Here is the recipe for Heise Telepolis
|
|
|
|
|
#116 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 570
Join Date: Nov 2008
Device: iPad 1 and iPad 4, KF HD 8.9"
|
thanks kiklop74!
|
|
|
|
|
#117 |
|
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Dec 2008
Location: Germany
Device: SONY PRS-500
|
Recipe for Common Dreams
Hi,
I'm attaching a recipe (calibre_0.4.127__pr7nl.py) for Common Dreams (http://www.commondreams.org/). Common Dreams is a Web site that presents progressive news and views. Enjoy... Xanthan Gum |
|
|
|
|
#118 |
|
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
hm, i tried to add the feeds from my google reader using the integrated recipe, and i got this error message (and no ebook) :
Spoiler:
anybody know what's wrong ? |
|
|
|
|
#119 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,616
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Looks like a forbidden error, did you provide the correct username and password?
|
|
|
|
|
#120 |
|
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 03:52 AM |
| Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 01:33 PM |
| How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 06:08 AM |
| Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 05:54 PM |
| Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 03:37 PM |