Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-28-2011, 06:40 AM   #1
jdomingos76
Enthusiast
jdomingos76 began at the beginning.
 
Posts: 28
Karma: 12
Join Date: Jun 2010
Device: Kindle 2 and 3 Int
Wall Street Journal Europe

I'm trying to build a recipe for the european edition of the WSJ (for subscribers).
I've copied the code for the wsj.recipe and changed only the following line:

return self.index_to_soup('http://online.wsj.com/itp')
to:
return self.index_to_soup('http://online.wsj.com/itp/europe')

The result is ok except that it doesn't push the "Front Section" section.
I've tried to understand the code but I'm not a programmer.
Can someone more experienced look into it?
Thanks. I've just made a donation to this great application.
jdomingos76 is offline   Reply With Quote
Old 01-30-2011, 10:28 AM   #2
winterescape
Enthusiast
winterescape began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jan 2011
Device: none
Quote:
Originally Posted by jdomingos76 View Post
I've copied the code for the wsj.recipe and changed only the following line:

return self.index_to_soup('http://online.wsj.com/itp')
to:
return self.index_to_soup('http://online.wsj.com/itp/europe')

The result is ok except that it doesn't push the "Front Section" section.
I've tried to understand the code but I'm not a programmer.
I will preface this with I also am not a programmer

I am also looking at the WSJ recipe and I see that the link is used more than one place

Take a look at the code here.
http://bazaar.launchpad.net/~kovid/c...pes/wsj.recipe


I see that the US link is on line 69. I also see links that may need to be changed on line 102 and 109
winterescape is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request: recipe for Wall Street Journal Europe jdomingos76 Recipes 1 01-26-2011 09:18 AM
Wall Street Journal NewsFeed erichoch General Discussions 0 08-23-2010 07:40 PM
Wall Street Journal dieterpops Sony Reader 0 12-20-2009 05:51 PM
Wall Street Journal still not convinced Argel News 28 12-02-2009 05:48 PM
Wall Street Journal bullish on e-books Brian News 1 01-21-2006 08:32 AM


All times are GMT -4. The time now is 01:40 PM.


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