10-16-2011, 02:30 PM | #1 |
Member
Posts: 23
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. |
10-16-2011, 07:32 PM | #2 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
I will look into this and update the recipe. Thanks.
|
Advert | |
|
11-03-2011, 05:08 AM | #3 |
Junior Member
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 |
11-04-2011, 02:28 PM | #4 | |
Member
Posts: 23
Karma: 12
Join Date: Jul 2011
Device: Cool-er
|
Quote:
Maybe it is a problem with your reader? Please try (as a test) with Calibre ebook viewer. Thanks. |
|
11-21-2011, 03:13 AM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
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 |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updated "Ming Pao - Hong Kong" recipe (2011/10/07) | tylau0 | Recipes | 0 | 10-07-2011 08:32 AM |
Recipe for "Galicia Confidencial" and "De L a V" | roebek | Recipes | 1 | 07-19-2011 09:17 AM |
Recipe for Dutch newspaper "Dagblad van het Noorden" | reijndert | Recipes | 2 | 05-18-2011 07:52 AM |
Calibre recipe for daily Portuguese newspaper "Correio da Manhã" | jmst | Recipes | 2 | 11-01-2010 01:01 PM |