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

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2012, 04:25 AM   #1
forceps
Enthusiast
forceps doesn't litterforceps doesn't litter
 
Posts: 26
Karma: 168
Join Date: May 2005
Location: Wuhan, China
Device: Kindle DXG
minor modified Foreign Affairs receipe

there are three modifications:
1) fetch issue cover
2) toggle ignore premium articles
3) extract proper section names, ie. "Comments", "Essay"
Attached Files
File Type: gz foreignaffairs.recipe.gz (1.7 KB, 63 views)
forceps is offline   Reply With Quote
Old 03-05-2012, 02:52 AM   #2
besianm
Member
besianm began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2012
Device: kindle touch
Hi,

I have a paid subscription and this recipe (or the original one included in calibre) doesn't fetch paid articles.
besianm is offline   Reply With Quote
 
Advertisement
Old 03-06-2012, 04:26 AM   #3
forceps
Enthusiast
forceps doesn't litterforceps doesn't litter
 
Posts: 26
Karma: 168
Join Date: May 2005
Location: Wuhan, China
Device: Kindle DXG
have you tried change INCLUDE_PREMIUM in the receipe from "false" to "true"?

The receipe basically tells Calibre how to read the html file, without subscription, it is hard to tell the structure of the premium page, therefore hard to write a receipe. You can post an real premium article in html here, but then that will be a violation of copyright. So I am afraid you must modify the receipt yourself.
forceps is offline   Reply With Quote
Old 03-06-2012, 11:43 PM   #4
besianm
Member
besianm began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2012
Device: kindle touch
forceps I apologize I have no prior experience with recipes or any sort of programing.

However, as you suggested, I changed INCLUDE_PREMIUM to "True" and it didn't fetch all the articles in the first few trials but it finally worked. Thank you very much.

There remains one little issue: it doesn't fetch any of the articles on the "Recent Books" section (see: http://www.foreignaffairs.com/magazine lower right side). Any suggestions how to fix that? If this is fixed, this will be a perfectly complete recipe.

Thank you once more.
besianm 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
Swedish Dagens Nyheter newspaper receipe not working... meehrcat Recipes 1 05-15-2011 01:40 PM
New receipe: novinky.cz - czech news portal latal.tomas Recipes 2 04-30-2011 10:16 AM
Receipe Request: Media Guardian SteveMW Recipes 5 02-08-2011 03:18 PM
Foreign Affairs subscription - I don't understand the pricing. adriatikfan Amazon Kindle 9 11-08-2009 01:05 AM
Foreign Affairs Replacing Previous Issue Spankypoo Amazon Kindle 6 07-08-2009 01:31 PM


All times are GMT -4. The time now is 09:33 AM.


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