Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2009, 07:32 PM   #1
cartesio
Member
cartesio began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Device: kindle 2
Unhappy New Yorker recipe not working ...

... since last week. It only produces an empty newspaper.
cartesio is offline   Reply With Quote
Old 08-11-2009, 08:41 PM   #2
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: 779
Karma: 194642
Join Date: Dec 2007
Location: Argentina
Device: Kindle PaperWhite, Motorola Xoom
Quote:
Originally Posted by cartesio View Post
... since last week. It only produces an empty newspaper.
Just tried it and it works fine. The problem is something on your machine or your internet connection.
kiklop74 is offline   Reply With Quote
Old 08-12-2009, 07:43 AM   #3
cartesio
Member
cartesio began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Device: kindle 2
Silly me, I know what happened. I have the recipe customized to fetch news only a week old, and fro some reason the new yorker has bi-weekly editions on august. There was just nothing to fetch this week.

I have noticed two things, though, with this recipe that you might want to improve for future versions. One is that, compared to other recipes, this one does not group articles by section, there are all scrambled together. Then again that might just be due to the source feed itself.

The other is a weird thing: in my Kindle 2, I am allowed to keep old editions of all my subscriptions, including those dowloaded through Calibre, with the exception of the New Yorker. The option to keep the old edition is missing.

Thanks a lot for your help and keep the great work.
cartesio is offline   Reply With Quote
Old 08-12-2009, 08:44 AM   #4
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: 779
Karma: 194642
Join Date: Dec 2007
Location: Argentina
Device: Kindle PaperWhite, Motorola Xoom
Quote:
Originally Posted by cartesio View Post
I have noticed two things, though, with this recipe that you might want to improve for future versions. One is that, compared to other recipes, this one does not group articles by section, there are all scrambled together. Then again that might just be due to the source feed itself.
This behavior is by design. I use feed that fetches all available articles. That could be changed at some point. With this new release there is a lot of work for me ahead since some recipes do not work well and some should be improved. Just be patient since right now I'm swarmed with my daily obligations.

Quote:
The other is a weird thing: in my Kindle 2, I am allowed to keep old editions of all my subscriptions, including those dowloaded through Calibre, with the exception of the New Yorker. The option to keep the old edition is missing.
I do not have kindle so I'm unable to help you there.
kiklop74 is offline   Reply With Quote
Old 08-12-2009, 11:56 AM   #5
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,462
Karma: 402333
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by cartesio View Post
The other is a weird thing: in my Kindle 2, I am allowed to keep old editions of all my subscriptions, including those dowloaded through Calibre, with the exception of the New Yorker. The option to keep the old edition is missing.
I believe if you add timefmt = '' (two single quotes) in the top section of the recipe, you will get the behavior you want on the Kindle.

When you're done, that section of the recipe should look like this:

Code:
encoding = 'cp1252'
timefmt = ''

You'll need to use the 'Customize builtin recipe' feature in 'Add custom news source' to do this. Make sure that the indent level is the same.

G
GRiker is offline   Reply With Quote
Old 08-14-2009, 08:00 AM   #6
cartesio
Member
cartesio began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Device: kindle 2
Many thanks for your help, GRiker.

Unfortunately, this does not solve the problem. Adding the instruction that you suggest does make old editions to go to the "Back Issues" folder, which is good. However, once there there is no option to keep a particular issue of the New Yorker as the folder gets full. This option does exist for the other periodicals, even those downloaded through calibre.

Thanks again
cartesio is offline   Reply With Quote
Old 08-14-2009, 08:27 AM   #7
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,462
Karma: 402333
Join Date: Mar 2009
Device: iPad
cartesio, here's what's happening, and a solution:

Kindle has 2 flavors of periodicals - blogs, and newspapers/magazines. Blogs are *flat* periodicals, meaning that all articles are presented in a single section. Newspapers/magazines are *structured* periodicals, meaning that articles are presented in sections. The recipe determines whether the downloaded content will be assembled as a flat or structured periodical, based on the number of feeds. 1 feed = flat, >1 feed = structured.

The Kindle GUI offers 'Keep This Issue' only for structured periodicals, not flat periodicals. So in other words, a recipe that creates its content in a single section will not have the option to save the issue. This is a Kindle issue, not a calibre issue.

Therefore, the recipe needs to download multiple sections, which will cause calibre to build it as a structured periodical, which will enable the Kindle to save the issue.

The individual RSS feeds for The New Yorker may be found at http://www.newyorker.com/services/rss/summary.

I modified the built-in recipe, changing the 'feeds=' line to the code below, and adding the timefmt='' line to enable archiving. (This is a sampling of the individual New Yorker sections, but you can adjust to taste):
feeds = [(u'Reporting & Essays', u'http://feeds.newyorker.com/services/rss/feeds/reporting.xml'), (u'Humor', u'http://feeds.newyorker.com/services/rss/feeds/humor.xml'), (u'Fiction & Poetry', u'http://feeds.newyorker.com/services/rss/feeds/fiction.xml'), (u'The Talk of the Town', u'http://feeds.newyorker.com/services/rss/feeds/talk.xml'), (u'Comment', u'http://feeds.newyorker.com/services/rss/feeds/comment.xml'), (u'The Financial Page', u'http://feeds.newyorker.com/services/rss/feeds/financial.xml'), (u'Politics', u'http://feeds.newyorker.com/services/rss/feeds/politics.xml'), (u'Movies', u'http://feeds.newyorker.com/services/rss/feeds/movies.xml'), (u'The Balance Sheet', u'http://www.newyorker.com/online/blogs/jamessurowiecki/rss.xml')]

That should get the behavior you want.

G
GRiker is offline   Reply With Quote
Old 08-14-2009, 10:35 AM   #8
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: 779
Karma: 194642
Join Date: Dec 2007
Location: Argentina
Device: Kindle PaperWhite, Motorola Xoom
Quote:
Originally Posted by GRiker View Post
cartesio, here's what's happening, and a solution:

Kindle has 2 flavors of periodicals - blogs, and newspapers/magazines. Blogs are *flat* periodicals, meaning that all articles are presented in a single section. Newspapers/magazines are *structured* periodicals, meaning that articles are presented in sections. The recipe determines whether the downloaded content will be assembled as a flat or structured periodical, based on the number of feeds. 1 feed = flat, >1 feed = structured.

The Kindle GUI offers 'Keep This Issue' only for structured periodicals, not flat periodicals. So in other words, a recipe that creates its content in a single section will not have the option to save the issue. This is a Kindle issue, not a calibre issue.

Therefore, the recipe needs to download multiple sections, which will cause calibre to build it as a structured periodical, which will enable the Kindle to save the issue.

The individual RSS feeds for The New Yorker may be found at http://www.newyorker.com/services/rss/summary.

I modified the built-in recipe, changing the 'feeds=' line to the code below, and adding the timefmt='' line to enable archiving. (This is a sampling of the individual New Yorker sections, but you can adjust to taste):
feeds = [(u'Reporting & Essays', u'http://feeds.newyorker.com/services/rss/feeds/reporting.xml'), (u'Humor', u'http://feeds.newyorker.com/services/rss/feeds/humor.xml'), (u'Fiction & Poetry', u'http://feeds.newyorker.com/services/rss/feeds/fiction.xml'), (u'The Talk of the Town', u'http://feeds.newyorker.com/services/rss/feeds/talk.xml'), (u'Comment', u'http://feeds.newyorker.com/services/rss/feeds/comment.xml'), (u'The Financial Page', u'http://feeds.newyorker.com/services/rss/feeds/financial.xml'), (u'Politics', u'http://feeds.newyorker.com/services/rss/feeds/politics.xml'), (u'Movies', u'http://feeds.newyorker.com/services/rss/feeds/movies.xml'), (u'The Balance Sheet', u'http://www.newyorker.com/online/blogs/jamessurowiecki/rss.xml')]

That should get the behavior you want.

G
I already plan on making updated version of that recipe. Until that is finished you can use this approach.
kiklop74 is offline   Reply With Quote
Old 08-14-2009, 02:25 PM   #9
cartesio
Member
cartesio began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Device: kindle 2
Thanks a lot to both of you.
GRiker, I will give it a try, your explanation makes a lot of sense.
cartesio is offline   Reply With Quote
Old 08-19-2009, 02:01 AM   #10
elmoglick
Groupie
elmoglick doesn't litterelmoglick doesn't litterelmoglick doesn't litter
 
Posts: 165
Karma: 206
Join Date: Dec 2007
Location: Kansas City
Device: Kindle1, Kindle DX, Kindle DXG
Quote:
Originally Posted by GRiker View Post
cartesio, here's what's happening, and a solution:


I modified the built-in recipe, changing the 'feeds=' line to the code below, and adding the timefmt='' line to enable archiving. (This is a sampling of the individual New Yorker sections, but you can adjust to taste):
feeds = [(u'Reporting & Essays', u'http://feeds.newyorker.com/services/rss/feeds/reporting.xml'), (u'Humor', u'http://feeds.newyorker.com/services/rss/feeds/humor.xml'), (u'Fiction & Poetry', u'http://feeds.newyorker.com/services/rss/feeds/fiction.xml'), (u'The Talk of the Town', u'http://feeds.newyorker.com/services/rss/feeds/talk.xml'), (u'Comment', u'http://feeds.newyorker.com/services/rss/feeds/comment.xml'), (u'The Financial Page', u'http://feeds.newyorker.com/services/rss/feeds/financial.xml'), (u'Politics', u'http://feeds.newyorker.com/services/rss/feeds/politics.xml'), (u'Movies', u'http://feeds.newyorker.com/services/rss/feeds/movies.xml'), (u'The Balance Sheet', u'http://www.newyorker.com/online/blogs/jamessurowiecki/rss.xml')]

G
I modified my recipe accordingly and it worked great. However, when I added a few more feeds, it ignored them. To wit:

(u'Think Tank', u'http://http://www.newyorker.com/online/blogs/stevecoll/rss.xml'),
(u'Hendrik Hertzberg', u'http://http://www.newyorker.com/online/blogs/hendrikhertzberg/rss.xml'),
(u'Sasha Frere-Jones', u'http://http://www.newyorker.com/online/blogs/sashafrerejones/rss.xml'),
(u'Interesting Times', u'http://http://www.newyorker.com/online/blogs/georgepacker/rss.xml'),
(u'The Book Bench', u'http://http://www.newyorker.com/online/blogs/books/rss.xml')]

I even made these the only feeds and it grabbed nothing. Any idea what I'm missing here?

Thanks,
El
elmoglick is offline   Reply With Quote
Old 08-19-2009, 03:17 PM   #11
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,462
Karma: 402333
Join Date: Mar 2009
Device: iPad
It looks like your urls are malformed. Note that the working urls look like this:
http://feeds.newyorker.com/services/rss/feeds/ ...

and yours ... don't.

Go to this url: http://feeds.newyorker.com/, then copy the links of the feeds you want, and paste them into the recipe.

That should solve it for you.

G
GRiker is offline   Reply With Quote
Old 08-20-2009, 01:24 AM   #12
elmoglick
Groupie
elmoglick doesn't litterelmoglick doesn't litterelmoglick doesn't litter
 
Posts: 165
Karma: 206
Join Date: Dec 2007
Location: Kansas City
Device: Kindle1, Kindle DX, Kindle DXG
Quote:
Originally Posted by GRiker View Post
It looks like your urls are malformed. Note that the working urls look like this:
http://feeds.newyorker.com/services/rss/feeds/ ...

and yours ... don't.

Go to this url: http://feeds.newyorker.com/, then copy the links of the feeds you want, and paste them into the recipe.

That should solve it for you.

G
Double http's.... sheesh. I guess I was seeing double by that late in the evening...(sigh).

Thanks for the assist. It works perfectly now.

El
elmoglick is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated New Yorker recipe doesn't fetch comics yekim54 Recipes 2 10-09-2010 10:47 PM
Guardian Recipe has stopped working jbambridge Calibre 2 04-11-2010 01:14 PM
The Economist (free) recipe not working paladin10000 Calibre 1 01-28-2010 12:44 PM
Google Reader recipe not working :( techie_007 Calibre 1 01-26-2010 09:58 PM
Recipe not working phkoech Calibre 3 08-13-2009 05:41 PM


All times are GMT -4. The time now is 05:53 AM.


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