![]() |
#2416 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
You may want to post this as a bug, so it eventually gets fixed. I wrote the Big Oven recipe, and that site has completely changed, so it's on my list of recipes to fix. MSNBC also has some problems - I started doing some work on that one, but ran out of time.
|
![]() |
![]() |
#2417 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Updated Recipe: Big Oven
Spoiler:
Since I wrote this recipe a few weeks ago, this site has been totally redesigned, and is currently in beta. In the redesign, they've removed a lot of the class and id tag labels previously found on this site, so the recipe has some interesting (to me) methods of removing tags by identifying text within a sub-tag and removing the parent tag. |
![]() |
Advert | |
|
![]() |
#2418 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipe for The Financial Express:
|
![]() |
![]() |
#2419 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2010
Device: iphone
|
how do you do this news source from the Philippines with clickable links (the links lead to a page which is also saved so i don't have to be connected). thanks!
http://www.inquirer.net/ and http://www.abs-cbnnews.com/ Last edited by NatCh; 08-13-2010 at 08:51 AM. |
![]() |
![]() |
#2420 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
thanks for the recipe
![]() http://www.financialexpress.com/feprint.php covering all the sections like you made it for business week magazine take your time whenever you get time please can you make this for the whole page Last edited by bhandarisaurabh; 08-13-2010 at 04:59 AM. |
![]() |
Advert | |
|
![]() |
#2421 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
I will not enter into discussion with ungrateful people. This is all the work I'm willing to do for this site for free. That is my final word.
|
![]() |
![]() |
#2422 |
onlinenewsreader.net
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
masthead_url issue?
The custom masthead seems to be broken -- I get this
Code:
Traceback (most recent call last): File "site-packages\calibre\web\feeds\news.py", line 1012, in download_masthead File "site-packages\calibre\web\feeds\news.py", line 1004, in _download_masthead File "site-packages\calibre\web\feeds\news.py", line 1085, in prepare_masthead_image TypeError: create_canvas() takes exactly 3 arguments (2 given) |
![]() |
![]() |
#2423 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
Meanwhile you can circumvent this bug by implementing get_cover_url since it is called before masthead and set class field masthead_url there like this: Code:
def get_cover_url(self): #your code here self.masthead_url = 'some url value' return None |
|
![]() |
![]() |
#2424 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2010
Device: Nokia N800, EeePC 4G Surf
|
El Pais (Spain)
I haven't been using Calibre very long for my news feeds, but I'm consistently getting the following errors for the El Pais recipe. Is anybody else having this problem? If so, is there an updated recipe?
(Sorry if I included too many error messages. I tried to just include the actual errors). R. == ... File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088) XMLSyntaxError: Entity 'squot' not defined, line 5, column 559 ... File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088) XMLSyntaxError: Entity 'squot' not defined, line 5, column 395 ... File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088) XMLSyntaxError: Entity 'M' not defined, line 82, column 350 ... File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088) XMLSyntaxError: Entity 'M' not defined, line 82, column 350 ... File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088) XMLSyntaxError: Entity 'artes' not defined, line 52, column 27 ... Referenced file '/comunes/player/video_iframe.html%3fxref%3d20100812elpepunac_1.Ves %26conf%3d%26id%3d864532%26logo%3d%26skin%3delpais Mini%26referer%3d' not found Referenced file 'feed_13/index.html' not found Referenced file 'feed_4/article_3/20100812elpepieco_8/Tes' not found Referenced file '/comunes/player/video_iframe.html%3fxref%3d20100726elpepucin_1.Ves %26conf%3d%26id%3d17177%26logo%3d%26skin%3delpaisM ini%26referer%3d' not found Referenced file '/comunes/player/video_iframe.html%3fxref%3d20100812elpepunac_2.Ves %26conf%3d%26id%3d57471%26logo%3d%26skin%3delpaisM ini%26referer%3d' not found Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 19, in <module> sys.exit(main()) File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 99, in main result = func(*args, **kwargs) File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert plumber.run() File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 787, in run self.input_plugin) File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 911, in create_oebbook reader()(oeb, path_or_stream) File "/usr/lib/calibre/calibre/ebooks/oeb/reader.py", line 72, in __call__ self._all_from_opf(opf) File "/usr/lib/calibre/calibre/ebooks/oeb/reader.py", line 588, in _all_from_opf self._manifest_from_opf(opf) File "/usr/lib/calibre/calibre/ebooks/oeb/reader.py", line 243, in _manifest_from_opf self._manifest_add_missing(invalid) File "/usr/lib/calibre/calibre/ebooks/oeb/reader.py", line 204, in _manifest_add_missing if not self.oeb.container.exists(href): File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 433, in exists path = os.path.join(self.rootdir, urlunquote(path)) File "/usr/lib/calibre/calibre/startup.py", line 103, in my_join res = res.decode(encoding) File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode bytes in position 18-21: invalid data |
![]() |
![]() |
#2425 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@nickredding: That's a bug, fixed in 0.7.14
|
![]() |
![]() |
#2426 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
Edit: Actually which El Pais recipe? I did the printed edition recipe, and there is another one that uses rss feeds developed by Lorenzo Vigentini? Last edited by kiklop74; 08-13-2010 at 11:46 AM. |
|
![]() |
![]() |
#2427 | |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2010
Device: Nokia N800, EeePC 4G Surf
|
Quote:
It's the Lorenzo Vigentini one - it was included in the Calibre install. I'll do a search through the forum to find your recipe and try that one (is it posted here?) R. == |
|
![]() |
![]() |
#2428 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
It is included in latest version of Calibre. Look for El País - printed edition.
|
![]() |
![]() |
#2429 | |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2010
Device: Nokia N800, EeePC 4G Surf
|
Quote:
Is there by chance any way to just use the recipe? The reason I ask is I have the version installed through the Ubuntu Lucid repository (0.6.42). I've tried to uninstall that and manually install the latest version as explained elsewhere here. Turns out it needs the dev poppler-qt4 libraries, which in turn need another 60-some megs of other libraries installed. Since I'm on a netbook, I don't even have the space to get the required libraries to install the latest Calibre version. Thanks for any info. R. == |
|
![]() |
![]() |
#2430 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |