|
|
#1 |
|
Zealot
![]() ![]() Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
|
recipe for Pro Physik - german
Code:
import string, re
from calibre import strftime
from calibre.web.feeds.recipes import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import BeautifulSoup
class AdvancedUserRecipe1303841067(BasicNewsRecipe):
title = u'Pro Physik'
__author__ = 'schuster'
oldest_article = 4
max_articles_per_feed = 100
no_stylesheets = True
use_embedded_content = False
language = 'de'
remove_javascript = True
cover_url = 'http://www.pro-physik.de/Phy/images/site/prophysik_logo1.jpg'
def print_version(self, url):
return url.replace('leadArticle.do', 'print.do')
feeds = [(u'Hightech', u'http://www.pro-physik.de/Phy/hightechfeed.xml'),
(u'Forschung', u'http://www.pro-physik.de/Phy/forschungfeed.xml'),
(u'Magazin', u'http://www.pro-physik.de/Phy/magazinfeed.xml')]
|
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Please find below an update for this recipe. Feel free to use it and/or modify it to your needs.
Spoiler:
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T1, PocketBook 902
|
Hei divingduck,
thank you very much but as wit Aachener nachrichten, yesterdey no probs with Sony connected, today with Pocketbook pro an error message. If you have a hint? Best regards dkosse |
|
|
|
|
|
#4 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T1, PocketBook 902
|
Hi,
I have just tried with Sony T1 reader connected, the following error message: 'subset_embedded_fonts': False, 'tags': None, 'test': False, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: Recipe Input running Using custom recipe Python function terminated unexpectedly (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 186, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1009, in run File "site-packages\calibre\customize\conversion.py", line 239, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 109, in convert File "site-packages\calibre\web\feeds\news.py", line 891, in download File "site-packages\calibre\web\feeds\news.py", line 1063, in build_index File "site-packages\calibre\web\feeds\news.py", line 1480, in parse_feeds File "site-packages\calibre\web\feeds\news.py", line 381, in get_feeds NotImplementedError Best regards dkosse 'subset_embedded_fonts': False, 'tags': None, 'test': False, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: Recipe Input running Using custom recipe Python function terminated unexpectedly (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 186, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1009, in run File "site-packages\calibre\customize\conversion.py", line 239, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 109, in convert File "site-packages\calibre\web\feeds\news.py", line 891, in download File "site-packages\calibre\web\feeds\news.py", line 1063, in build_index File "site-packages\calibre\web\feeds\news.py", line 1480, in parse_feeds File "site-packages\calibre\web\feeds\news.py", line 381, in get_feeds NotImplementedError |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Just check the recipe with Calibre 0.9.8. Can't see any problems with the recipe.
Best regards, DD |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T1, PocketBook 902
|
With 0.9.8 no probs.
Many thanks! dkosse |
|
|
|
|
|
#7 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Please find below an update for this recipe. Feel free to use it and/or modify it to your needs.
|
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Please find below an update for this recipe. Feel free to use it and/or modify it to your needs.
Spoiler:
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| recipe for Bild.de - German | schuster | Recipes | 2 | 05-22-2016 05:00 AM |
| recipe for FAZ.net - german | schuster | Recipes | 10 | 05-28-2011 12:13 AM |
| recipe for Heise Newsticker - german | schuster | Recipes | 0 | 05-14-2011 12:45 PM |
| recipe for Welt der Physik - German | schuster | Recipes | 0 | 05-10-2011 09:18 AM |
| pro-linux.de recipe | Bobus | Recipes | 0 | 03-15-2011 01:30 PM |