Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2010, 06:52 AM   #1
Movitz
Junior Member
Movitz began at the beginning.
 
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?
Movitz is offline   Reply With Quote
Old 05-09-2010, 11:17 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,933
Karma: 22669822
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
kovidgoyal is offline   Reply With Quote
Advert
Old 05-09-2010, 12:47 PM   #3
Movitz
Junior Member
Movitz began at the beginning.
 
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.
Movitz is offline   Reply With Quote
Old 05-09-2010, 01:34 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Movitz View Post
Im sorry if this has already come up, i have tried to search for it first. I only just downloaded calibre yesterday and it is fantastic.
For future info

Requests like this are best made in the Sticky thread Custom Recipes.
DoctorOhh is offline   Reply With Quote
Reply

Tags
economist, receipe


Forum Jump

Similar Threads
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


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


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