![]() |
#1 |
Zealot
![]() ![]() Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
|
how to fetch printversion //help\\
hey there,
i need your help for the beginning to fetch same news. on the news-site there is a link to a print-version of the feed. but i don`t know how to realize. i would be very nice if anyone could help me. for example this is the page url: http://www.ngz-online.de/grevenbroic...recke-1.876586 and this the url to the printversion: http://www.ngz-online.de/grevenbroic...pPageLayout.ot i'm very confused, please help a beginner schuster |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() Posts: 43
Karma: 136
Join Date: Mar 2011
Device: Kindle Paperwhite
|
Looks pretty straight forward, the print version of http://www.ngz-online.de/grevenbroic...recke-1.876586 is http://www.ngz-online.de/grevenbroic...pPageLayout.ot
All you need to do is to add the "?ot=de.circit.rpo.PopupPageLayout.ot" to the URL. This should do it: Code:
def print_version(self, url): return url + '?ot=de.circit.rpo.PopupPageLayout.ot' |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
|
thanx aerodynamik,
now it's clear. recipe is done well, now. is this usable also to remove parts from url? greatz schuster |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't fetch Metadata | DarkLoki82 | Calibre | 18 | 02-07-2011 04:36 PM |
Fetch Annotations | atjnjk | Calibre | 2 | 01-23-2011 09:59 PM |
Fetch news | chewi | Recipes | 0 | 11-30-2010 05:09 AM |
Can't Fetch News | Catew | Calibre | 2 | 07-19-2009 07:46 PM |
Fetch News | philipdavies | Calibre | 5 | 10-08-2008 04:33 AM |