![]() |
#1276 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
|
Ok, I've tried to add the feeds, but calibre gives an error qhen I try to load it:
Quote:
Code:
feeds = [ (u'Breaking News', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=1') ,(u'Practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=512') ,(u'Behind the headlines', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=468') ,(u'Analysis', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=62') ,(u'Acute Care news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=5') ,(u'Primary Care news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=231') ,(u'Mental Health news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=27') ,(u'Management news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=32') ,(u'Infection control news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=456') ,(u'Older people's news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=181') ,(u'Paediatric news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=170') ,(u'Respiratory news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=177') ,(u'Wound care news', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=182') ,(u'Acute Care practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=261') ,(u'Primary Care practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=303') ,(u'Mental Health practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=319') ,(u'Infection control practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=400') ,(u'Older people's practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=365') ,(u'Paediatric practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=342') ,(u'Respiratory practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=416') ,(u'Wound care practice', u'http://www.nursingtimes.net/XmlServers/navsectionRSS.aspx?navsectioncode=377') ] |
|
![]() |
![]() |
#1277 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
|
Aha! I think I know what's the problem! One of the titles has an «'», so that section name must be between " instead of '.
You did it right the first time, but when I started to add feed, I though I had placed the " by mistake and changed to '. Now calibre acepted the recipe and I'm fetching the news. ![]() |
![]() |
Advert | |
|
![]() |
#1278 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
|
Strange... It didn't sign in to get the feeds I've added, but it fetches the other feeds, although all of them need registering...
![]() Please, help! ![]() Last edited by Over; 01-25-2010 at 05:42 PM. |
![]() |
![]() |
#1279 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
|
Quote:
Or do your editing in a Python syntax aware text editor. That would have flagged this error right on the spot. |
|
![]() |
![]() |
#1280 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,462
Karma: 6061516
Join Date: May 2008
Location: Cascais, Portugal
Device: Kindle PW, Samsung Galaxy Note Pro 12.2", OnePlus 6
|
Problem solved!
![]() ![]() @evanmaastrigt: thanks for the tip. ![]() |
![]() |
Advert | |
|
![]() |
#1281 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
No. You can, however, submit a feature request for that functionality. |
|
![]() |
![]() |
#1282 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Kindle 2
|
New recipe for JazzTimes
jazztimes.com Code:
class jazztimes(BasicNewsRecipe): title = 'JazzTimes' __author__ = 'cix3' description = 'Widely regarded as the worlds leading jazz publication' timefmt = ' [%b %d, %Y]' oldest_article = 30 max_articles_per_feed = 100 no_stylesheets = True remove_tags = [dict(name='div', attrs={'id':['logo', 'comments', 'related_objects', 'inset module', 'footer', 'strip_control', 'header', 'navigation']}), dict(name='hr'), dict(name='img')] feeds = [ ('jazztimes', 'http://jazztimes.com/feeds/all.rss') ] http://jazztimes.com/issues/201002 Last edited by cix3; 01-25-2010 at 10:09 PM. |
![]() |
![]() |
#1283 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
This is an improved recipe for the Raleigh News & Observer.
It improves/replaces the existing News and Observer recipe. Had to clean up some added features the paper added to their site. Icon included. |
![]() |
![]() |
#1284 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2010
Device: Aluratek Libre
|
Metro Montreal, The Montreal Gazette and an improved version of Discover Magazine
Hi All,
My apologies for the delay. I was really busy and didn't have the time to check the latest posts. OK, here they are: Recipes for the newspaper Metro Montreal, The Gazette from Montreal and an improved version of Discover Magazine. Regards, JC |
![]() |
![]() |
#1285 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2009
Device: kindle
|
extracting links from common web page
Quote:
|
|
![]() |
![]() |
#1286 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2010
Device: Sony touch edition
|
Hi!
Is there a recipe for onionnew.com ? It would be fun to have this one. Thank you! |
![]() |
![]() |
#1287 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
You already have a recipe for The Onion
|
![]() |
![]() |
#1288 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2010
Device: Sony touch edition
|
ahhh yes, thank you!
|
![]() |
![]() |
#1289 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2010
Device: Nook
|
Could you come up with a recipe for the Journal News?
Thanks |
![]() |
![]() |
#1290 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
How about a link to that site. I have no idea what journal news is or where its located.
|
![]() |
![]() |
|
![]() |
||||
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 |