![]() |
#1321 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 428
Karma: 2370
Join Date: Jun 2006
Location: Germany
Device: Nokia 770, Ilead, Cybook G3, Kindle DX, Kindle 2, iPad, Kindle 3, PW
|
Quote:
![]() I hope you'll maybe finde the time to look in this later cause its one of my favorite newspapers here in germany and their PDF epaper doesn't work in the kindle (a pitty but another story). |
|
![]() |
![]() |
#1322 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 2000
Join Date: Jan 2010
Device: Kindle DX, Kindle 4, Kindle PW2
|
NY Times editorials
Hi,
The NY Times (subscription) recipe doesn't seem to download Editorials and Op-Eds any more. Does anyone else have this problem? Thanks. |
![]() |
![]() |
#1323 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I just posted a possible "bug" in the tracker, and it occurs to me that this recipe thread might be a good place to get more info on whether others see it as a bug, and/or whether my proposed solution might have problems. Here is my bug track post:
Quote:
|
|
![]() |
![]() |
#1324 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2009
Device: Kindle 2
|
I'd like to get a recipe for New Straits Times (Malaysia) .
http://www.nst.com.my/ Thanks in advance. |
![]() |
![]() |
#1325 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2010
Device: Aluratek Libre
|
New version of Discover and Métro Montréal
Hi,
Attached you will find the new version of Discover Magazine and Métro Montréal. These versions include the pictures related to the articles. I also cleaned the code up a little bit. I also noticed that there is already a recipe for the Gazette called Montreal Gazette and made by Nick Redding. This is a better recipe than mine so I think you can delete my recipe. I don't see any reason to have two recipes for the same newspaper. Regards, JC |
![]() |
![]() |
#1326 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2010
Device: none
|
Recepies
I found a list of all Nordic feeds. or most of them.
http://www.djh.dk/ejour/arkiv/RSS.html#Norge If you want me to I can try to create recepies for them for you so you can add them easy. please tell me how you like them if you want me to do this. Per Erik Last edited by PerErik87; 02-01-2010 at 09:17 PM. |
![]() |
![]() |
#1327 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 12392
Join Date: Nov 2009
Location: Canada
Device: Kobo Vox
|
PS3 Center.net
There was a very nice gentleman who was working on a recipe that I requested: That of www.ps3center.net. I'd still like to have this if possible, and don't know how to do it myself otherwise I'd would.
![]() |
![]() |
![]() |
#1328 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2010
Device: PRS-900
|
|
![]() |
![]() |
#1329 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2009
Device: PRS 600
|
TAZ Recipe
Quote:
Code:
#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2010, Lars Jacob jacob.lars at gmail.com' __docformat__ = 'restructuredtext de' ''' www.taz.de/digiabo ''' import os, re, urllib2, zipfile, tempfile from calibre.web.feeds.news import BasicNewsRecipe class TazDigiabo(BasicNewsRecipe): title = u'Taz Digiabo' description = u'Das EPUB DigiAbo der Taz' language = 'de' lang = 'de-DE' __author__ = 'Lars Jacob' needs_subscription = True conversion_options = { 'no_default_epub_cover' : True } def build_index(self): if self.username is not None and self.password is not None: domain = "http://www.taz.de" url = domain + "/digitaz/.digiabo" index = urllib2.urlopen(url) reg = "<a href=\"([^\"]*)\">taz_[0-9]{4}_[0-9]{2}_[0-9]{2}\.epub</a>" find = re.search(reg,index.read()) issue = domain + find.group(1) auth_handler = urllib2.HTTPBasicAuthHandler() auth_handler.add_password(realm='TAZ-ABO', uri=issue, user=self.username, passwd=self.password) opener = urllib2.build_opener(auth_handler) urllib2.install_opener(opener) try: f = urllib2.urlopen(issue) except urllib2.HTTPError as e: self.report_progress(0,_('Can\'t login to download %s.')%issue) return tmp = tempfile.TemporaryFile() self.report_progress(0,_('downloading epub')) tmp.write(f.read()) zfile = zipfile.ZipFile(tmp, 'r') self.report_progress(0,_('extracting epub')) zfile.extractall(self.output_dir) tmp.close() index = os.path.join(self.output_dir, 'content.opf') self.report_progress(1,_('epub downloaded and extracted')) return index I have to say that i'm a little bit underwhelmed with the result. Calibre reformats the whole book, which actually works quite well, but destroys the header quite a bit... Would be much nicer if Calibre supports the direct download of epub and other ebook files. cheers, jaclar |
|
![]() |
![]() |
#1330 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2009
Device: prs-505
|
Request
|
![]() |
![]() |
#1331 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2010
Device: none
|
easier way
i ran into quite a few
usles divs <!-- google_ad_section_start --> thethingsineed <!-- google_ad_section_end--> usles divs <!-- google_ad_section_start --> thethingsineed <!-- google_ad_section_end--> How do i take advantage of these. i think the answer is here somewhere. http://docs.python.org/library/re.html#re-syntax |
![]() |
![]() |
#1332 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2010
Device: PRS 300
|
Scinexx
Hi,
i tried Scinexx, a science magazine from german Springer Verlag. Its kinda raw, but more or less working... Code:
from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1265145870(BasicNewsRecipe): title = u'Scinexx.de' language = 'de' __author__ = 'JSuer' oldest_article = 14 max_articles_per_feed = 100 no_stylesheets = True feeds = [(u'Scinexx.de', u'http://feeds.feedburner.com/scinexx')] remove_tags = [{'class':['text1fett']}] remove_tags = [{'href':['javascript:window.print()']}] def print_version(self, url): murxb = url.rfind('2010') - 6 murxc = url[murxb :-5] murxx = 'http://www.scinexx.de/inc/artikel_drucken.php?id=' + murxc + '&a_flag=1' return murxx |
![]() |
![]() |
#1333 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2010
Device: none
|
Generic recipe
Do we have a generic recipe? Say I go to a blog site and I'm interested in an article which I want to store in my ebook reader. Currently what I do is Fetch News -> Add custom news source, create a new recipe using the GUI then go to Fetch news, and finally download the page. Too much work. It would be wonderful if we had "Generic Recipe" - enter the URL at the Recipe and download the article; done. Sort of what we would do using web2disk http://xxyy.com but would like to have this feature on the GUI. |
![]() |
![]() |
#1334 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
|
|
![]() |
![]() |
#1335 |
Enthusiast
![]() Posts: 41
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
TidBITS Mac magazine
Is there a recipe for TidBITS.com? (The world's longest-running and possibly best Macintosh newsletter.)
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |