![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2010
Device: prs-300
|
Economist (payed) update
Hi,
Im sorry if this has allready come up, i have tried to search for it first. I only just downloaded calibre yesterday and it is fantastic. When trying to download the payed version of economist though the meter froze after 34%. I made a small change to the receipe and succeded to download the paper. The changes are due to that the ""Classified ads" name is not under a H1 tag but an H2 one. Now: def economist_parse_index(self): ... if 'Classified ads' in text: break if tag.name == 'h1': if 'The world this week' in text or 'The world this year' in text: index_started = True if not index_started: continue before: def economist_parse_index(self): ... if tag.name == 'h1': if 'The world this week' in text or 'The world this year' in text: index_started = True if 'Classified ads' in text: break if not index_started: continue How do i contribute these kind of changes in a more effecient way, i guess this board isnt the ultimate way of doing so? Is there a svn server i can download from and create patches? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Instructions for setting up a calibre development environment are here
http://calibre-ebook.com/user_manual/develop.html |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2010
Device: prs-300
|
I just downloaded the source and found that you had put in the required changes to the receipe. Next time i will hopefully be able to post a ticket with a patch (or merge as it seems to be called in Bazaar) directly to make it easier.
Thanks again for some great software. |
![]() |
![]() |
![]() |
#4 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Requests like this are best made in the Sticky thread Custom Recipes. |
|
![]() |
![]() |
![]() |
Tags |
economist, receipe |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Economist Error | dieterpops | Calibre | 1 | 10-21-2009 04:57 PM |
The Economist and WSJ? | ziegl027 | Sony Reader | 8 | 10-14-2009 11:22 PM |
Problems with Economist recipe 0.5.1 | MTBSJC | Calibre | 7 | 03-23-2009 01:54 PM |
Economist on the Kindle | SpiderMatt | Amazon Kindle | 11 | 03-09-2009 10:07 AM |
The Economist: E-books are becoming popular | hidari | News | 6 | 02-15-2009 11:36 AM |