![]() |
#76 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,395
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
To get the print version just use
Code:
return url.replace('haber.php', 'yazici.php') |
![]() |
![]() |
![]() |
#77 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2008
Device: PRS-505
|
Sorry, still getting the text from Article URL.
" This article is downloaded by Libprs500 from http://radikal.com.tr/haber.php?haberno=254668" Here is my full recipe if it helps: title = u'Radikal Gazetesi' oldest_article = 1 max_articles_per_feed = 15 no_stylesheets = True extra_css = 'h1 {font: sans-serif large;}\n.byline {font:monospace;}' html_description = True html2lrf_options = ['--ignore-tables'] remove_tags_before = dict(name='img' , attrs='src') remove_tags_after = dict(id='copy') feeds = [(u'Kose', u'http://www.radikal.com.tr/radikal_yazar.xml')] def print_version (self, url): return url.replace ('haber.php', 'yazici.php') Btw,i am not sure if it matters but the print_version URL is: http://www.radikal.com.tr/yazici.php?haberno=254484&tarih=01/05/2008&yollayan_sayfa='http%3A%2F%2Fwww.radikal.com.tr%2Fhaber.php%3Fha berno%3D254484' 1. print 2. date 3. sending_page |
![]() |
![]() |
![]() |
#78 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,395
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have to indent print_version so it is a part of the class. See attached.
|
![]() |
![]() |
![]() |
#79 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2008
Device: PRS-505
|
Sorry but i cant open the file. i tried opening it with notepad and dzsoft. What should i do??
|
![]() |
![]() |
![]() |
#80 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,395
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
use notepad++ (google it)
|
![]() |
![]() |
![]() |
#81 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2008
Device: PRS-505
|
Yep just got it. i triedwinrar and extract "test.py". winrar didnt see it automatically. Thank you....
And.. It's alive!! thank you so much. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RSS Feed | timezone | Feedback | 8 | 01-02-2010 06:55 PM |
RSS Feed questions | rambling | Calibre | 2 | 11-20-2008 05:35 AM |
Working User Profile for Wired.com RSS feeds for libprs500 | DaveNB | Calibre | 6 | 11-30-2007 07:00 AM |
RSS Feed Updates | Alexander Turcic | Announcements | 0 | 06-11-2004 04:11 PM |