10-27-2010, 03:35 AM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2010
Location: Slovenia
Device: Kindle 3G
|
Please help to clean-up recipe
As a newbie I try to learn how to create recipe by following examples in Calibre User manual.
For creating recipe from RSS – in order to get full article and not just summary – I should use Print version URL (in manual is example for “bbc.co.uk”). I have a problem that I can’t get the URL to full article, because the link is “javascript:window.print()”. So, I tried different approach - by removing and keeping certain tags. The problem is that now I don’t get the articles from specific section (each section has its own RSS URL). Articles are divided in sections, but they are all the same in different sections. The recepit is here: Spoiler:
Link to Sections (RSS URL’s): http://www.dnevnik.si/kaj_je_rss RSS link to specific section: http://www.dnevnik.si/rss/?articleTy...icleSection=14 Article link: http://www.dnevnik.si/novice/svet/1042398632 Print link (label “Natisni”): javascript:window.print() Well, if this can be done without "remove" and "keep" tags - by using full article URL from "javascript" command, that would be perhaps better (and easier). Another think: I still look for some kind expert to create recipe for magazine. |
10-27-2010, 04:19 AM | #2 |
Zealot
Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
try reading this.
if that does not work you could try using TamperData to see the request that is posted and recreate it. is there any way to get to see the print version in your browser? not just have it spit out to the printer? Last edited by marbs; 10-27-2010 at 04:24 AM. |
10-27-2010, 05:27 AM | #3 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2010
Location: Slovenia
Device: Kindle 3G
|
Thank you for the link. I did read it - and understood very little. However in the 4. Getting obfuscated content part they mention JavaScript function. But where should I copy this (if I add this to my recipe, then I get an error). So I think, there is something missing.
I did some changes to recipe - just copy&paste from that instructions: Spoiler:
Now, my ebook is empty. I tried TamperData and the "javascript:window.print()" calls for same URL of the article. So there is no way - at least I don't know any - to see the "print version" in browser. |
10-27-2010, 05:57 AM | #4 | |
Member
Posts: 15
Karma: 10
Join Date: Oct 2010
Location: Slovenia
Device: Kindle 3G
|
OK, I solved the problem.
Didn't bother with javascript, because I didn't understand that stuff. So I just searched for tags and followed other examples. The recipe is for Slovenian newspaper "Dnevnik.si" Quote:
Last edited by BlonG; 10-27-2010 at 11:59 PM. Reason: Managed to create recipe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Screen clean | haino | Sony Reader | 1 | 04-25-2010 12:44 PM |
The best way to clean a white PP? | Dr. Drib | Astak EZReader | 6 | 02-10-2010 02:26 AM |
PRS-600 How should i clean the screen? | sazono | Sony Reader | 13 | 09-13-2009 01:16 PM |
Best way to get clean HTML | JSWolf | Kindle Formats | 18 | 04-02-2009 11:00 AM |
How to clean lightwedge | PsyDocJoanne | Sony Reader | 9 | 10-01-2008 07:03 PM |