![]() |
#1 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
![]()
The Japan Times recipe was update some days ago. In the "old" recipe I could replace the main feed with the sub feeds for News & Business and for Features. (I'm not interested in all the Sport stories). Now Calibre says: 'tuple' object is not callable. I have no idea what that means. My mistake or a bug?
|
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates you have a syntax error in your updated recipe.
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Sep 2011
Device: Sony PRS-350, Kindle Touch
|
Quote:
If i modify the recipe like this: Code:
feeds = [(u'News & Business', u'http://feeds.feedburner.com/japantimes_news'), (u'Features', u'http://feeds.feedburner.com/japantimes_features')] But furthermore, the addresses of these feeds have a slightly different format. You have to modify print_version like this Code:
def print_version(self, url): return url.replace('/rss/','/print/') |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
Great, that worked! I must have made some mistake, although I regularly change or delete some sub-feeds.
Thanks a lot |
![]() |
![]() |
![]() |
Tags |
japan times |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Times Of India, DNA recipes broken? | mihirp | Recipes | 1 | 09-23-2011 03:09 PM |
Which New York Times recipe? | jdomingos76 | Recipes | 1 | 03-25-2011 08:40 PM |
NY Times Recipe Changes | bcollier | Recipes | 1 | 03-04-2011 11:52 AM |
New York Times recipe broken? | gianfri | Calibre | 1 | 03-20-2010 09:52 AM |
The Times news recipe? | AprilHare | Calibre | 1 | 10-10-2008 01:48 PM |