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 10-16-2011, 03:30 PM   #1
julio:map
Member
julio:map began at the beginning.
 
Posts: 19
Karma: 12
Join Date: Jul 2011
Device: Cool-er
"El Pais" recipe correction

The International section of "El Pais" is not working well. (it shows no contents in the news, but the hyperlinks do work and direct you - if online - to the correct pieces of news)

I think it is because the articles are in a div with class "cuerpo_noticia' which is not listed in the keep_only_tags.

I have tried to include it, and at least today it has worked.

Just replacing:

keep_only_tags = [ dict(name='div', attrs={'class':['cabecera_noticia_reportaje estirar','cabecera_noticia_opinion estirar','cabecera_noticia estirar','contenido_noticia','caja_despiece']})]

with:
keep_only_tags = [ dict(name='div', attrs={'class':['cabecera_noticia_reportaje estirar','cabecera_noticia_opinion estirar','cabecera_noticia estirar','contenido_noticia','cuerpo_noticia','caja_despiece']})]

Hope this helps anybody.
julio:map is offline   Reply With Quote
Old 10-16-2011, 08:32 PM   #2
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 780
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle PaperWhite, Motorola Xoom
I will look into this and update the recipe. Thanks.
kiklop74 is offline   Reply With Quote
Old 11-03-2011, 06:08 AM   #3
pezrez
Junior Member
pezrez began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2011
Device: Kindle
I hoped that update 0.8.23 might sort this problem out, as it listed El Pais as an improved news source, but I still find that the hyperlinks don't really work, which means in practice that I don't read it because I don't want to have to scroll through all the other articles. They work for some of the Spanish domestic content, but as before they don't work for the international stuff. Is there any chance of getting a definitive fix?
Thanks
pezrez is offline   Reply With Quote
Old 11-04-2011, 03:28 PM   #4
julio:map
Member
julio:map began at the beginning.
 
Posts: 19
Karma: 12
Join Date: Jul 2011
Device: Cool-er
Quote:
Originally Posted by pezrez View Post
I hoped that update 0.8.23 might sort this problem out, as it listed El Pais as an improved news source, but I still find that the hyperlinks don't really work, which means in practice that I don't read it because I don't want to have to scroll through all the other articles. They work for some of the Spanish domestic content, but as before they don't work for the international stuff. Is there any chance of getting a definitive fix?
Thanks
It does work for me

Maybe it is a problem with your reader?

Please try (as a test) with Calibre ebook viewer.

Thanks.
julio:map is offline   Reply With Quote
Old 11-21-2011, 04:13 AM   #5
pezrez
Junior Member
pezrez began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2011
Device: Kindle
Unhappy

Hi, sorry for the delay here. I have tried it but it doesn't work in Calibre e viewer either. The articles about spain are all fine, but in the table of contents if I click on 'Oriente Proximo' then I get a list of the main categories. If I do manage to find myself at the list of articles for the section 'Oriente Proximo', if I click on one it links me to a list of articles in the 'Espana' section, for example. The content is all fine but the hyperlinks don't work to the extent that it's not useful, as I want to read the world news in Spanish. Please help me if you can! Thanks

Pezrez
pezrez 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
Updated "Ming Pao - Hong Kong" recipe (2011/10/07) tylau0 Recipes 0 10-07-2011 09:32 AM
Recipe for "Galicia Confidencial" and "De L a V" roebek Recipes 1 07-19-2011 10:17 AM
Recipe for Dutch newspaper "Dagblad van het Noorden" reijndert Recipes 2 05-18-2011 08:52 AM
Calibre recipe for daily Portuguese newspaper "Correio da Manhã" jmst Recipes 2 11-01-2010 02:01 PM


All times are GMT -4. The time now is 07:37 PM.


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