![]() |
#1 |
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
How to prevent recipe read "files" pdf on web rss?
Hi, i have some Rss news about important documents, but only need to know the title and date of publication, the problem is that IN Calibre go and read pdf files That was how a web page ...
Code:
%PDF-1.4 %âãÏÓ 2 0 obj endobj 1 0 obj/M(D:20101102110028+01'00')/Name(Firma de prueba)/SubFilter/adbe.pkcs7.detached/ByteRange [0 155 9629 121469 ] /FT/Sig>> endobj 3 0 obj endobj 4 0 obj stream hÞì{ÛŽ%ÉmíûþŠý8# Sq¿ ×ë—_üJÞýåÕ]ÿtõuÌ®]ÿvõîúÏ×ûw¹ùŸ—þüËâüõ�×Ë_ä“NþùëØk(ýšÝzº>¼åí·—Üã£\>^¾¼üfÔåC¥ò±]æ8¦.üè»Í¦`67éÃ?û£Íä/—Ñù,ÿ¯-…kîyñ:´äÇÖ¯ýÝå7×?_„°(SH2ƒ5¹©¡+÷Ñû ¹iŒôÓå \p=c¸/ç×ñ;¿ôN&vgj;!×1…pMU(«˜œ¿z[¦Ïþã¿Æ‡ßþù~ûýãoÇ߽ä†�ÆžS¼ŽÎ…t}ó“Ëgÿçÿÿ×x�¥öøä¬½“OùyÖÖ£Æ4æ>uZúü^(~É8¹à~ªE'îËX|¹òbíµ_kÈc”µ{�UûÅ[ýÉO¼øáϼÊmK(Æ\ Ëc–4'ËîåWÆsÎCl?ûù¯ü‹Ÿþë¯~�¹Ê*ÈêUp�2ýÙþ·ßü`õ¿}öÅ�~õæóÚÇöÙ�~ü¯¿øÑçÿþæ—”òŸ™&%ú™é�wcÓ‰„kha\e£w©õhL©wýÆ�ýO?}óÿ~õùP!1Ÿýúg¿øâ?ú'4›4òùØ? onle need "Index"!, not open pdf.. (Obviously if the following versions of Calibre, it is able to read pdf, "the better", but ... meanwhile ... ;-) Regards from Spain. |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
post all of your code.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
![]() |
#4 | ||
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#5 | |
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
Hi, I not insert, because rss are on other text language....
Quote:
http://www.gobcantabria.es/rss/fichero94.xml http://www.gobcantabria.es/rss/fichero93.xml not indicated that because as I was in another language I just needed "RSS sumary" and if possible "date, year, month, day, leaving only a code, but did not want to read a pdf, "unless you can translate" the first paragraph to mobi format, I guess that would be necessary to deploy software Calibre. but "perhaps avoid, read the pdf you can get"? recipe basic: Spoiler:
Bye, and thanks for read... |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
still dont understand what you want exactly, but try this:
Code:
class AdvancedUserRecipe1289246400(BasicNewsRecipe): title = u'RSS sumary not access file pdf link' oldest_article = 7 max_articles_per_feed = 100 feeds = [(u'Start page info', u'http://www.gobcantabria.es/rss/fichero93.xml'), (u'Info news only dates and first text', u'http://www.gobcantabria.es/rss/fichero94.xml')] def print_version(self, url): url='http://www.mocv.mv.com/webend.html' return url |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I'm also not quite sure what he wants, but this will ignore an RSS feed link and get only the RSS feed summary.
Code:
use_embedded_content = True |
![]() |
![]() |
![]() |
#8 | |
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
Quote:
Do not bother because I do not trust your code, it's nothing personal, but I never know where we will find some bad bug ... of some, or other type ... I have nothing to run custom programs lightly, just because someone typed in any forum, to do that I have to understand the code. "Do not give fish to the hungry, teach him to fish" I will Try searching the manual calibre... Thank you for taking the great trouble to respond, I'll give you all the karma points you can, so you can buy something nice. balance Regars, from Spain. Last edited by KRorschachZ; 11-08-2010 at 07:07 PM. |
|
![]() |
![]() |
![]() |
#9 |
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
|
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
If you want to prevent the recipe from following the link, you set use_embedded_content = True. |
|
![]() |
![]() |
![]() |
#11 | |
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
Quote:
Spoiler:
insert use_embedded_content = false. (false of not read, not jump link).... But see img when insert your code: Last edited by KRorschachZ; 11-09-2010 at 10:19 PM. |
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
My Spanish is rusty, but I'm pretty certain it's telling you that you made a mistake when you inserted the line of code I posted. You have indented it incorrectly. Do not use tabs, and give it the same indent as oldest_article = 7.
|
![]() |
![]() |
![]() |
#13 | |
Update
![]() ![]() ![]() Posts: 100
Karma: 212
Join Date: Nov 2010
Device: kindle DX graphite, we need update/firmware with optios PDF Kindle 3
|
Quote:
main image, product selection, open text article, "but not open" code .... pdf (now, not see a big text "%PDF-1.4 %âãÏÓ 2 0 obj endobj 1 0 obj/M(D:201", when select article) thanks I was unaware that influenced the bleeding line, I was accustomed to languages and compilers such as C, years ago, and the developer chose the line tab, only visual selections ... but now I already know ... ;-) about suggestion for program, about this: https://www.mobileread.com/forums/sho...3&postcount=73 as open and run the pdf link can be slow and costly, the option to download depending on certain characteristics, size small, name, etc ... as a separate file to the recipe, put in outstanding tasks in the system, to send the reader, the same time send the recipe, which would indicate a brief overview of the file sent to the reader ... thanks and best regards from spain. Last edited by KRorschachZ; 11-10-2010 at 03:05 PM. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre recipe for daily Portuguese newspaper "Correio da Manhã" | jmst | Recipes | 2 | 11-01-2010 01:01 PM |
Help with a recipe for "What the Duck" web comic | jphphotography | Recipes | 2 | 10-12-2010 10:20 PM |
Problem "saving to disk" pdf files | lucone | Calibre | 1 | 06-28-2010 05:29 AM |
"Cleansing" of PDF files | psychomike | 4 | 02-18-2010 03:27 PM | |
I need info on the DR1000s for "searching with in" .pdf files | cs2501 | iRex | 11 | 12-25-2008 04:22 AM |