04-08-2008, 11:04 PM | #301 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Thanks
|
04-09-2008, 12:08 AM | #302 |
Connoisseur
Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
Hey, thanks for taking the time to respond.
And huge Mazel Tov to you and your bride to be! |
Advert | |
|
04-09-2008, 08:04 AM | #303 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
My pleasure
|
04-12-2008, 05:58 PM | #304 |
Translating Calibre...
Posts: 657
Karma: 2902
Join Date: Aug 2007
Location: ER.de
Device: [PRS-500], PB360
|
|
04-21-2008, 07:13 AM | #305 | |
Enthusiast
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
|
Quote:
So far this is what I have as the profile for the Toronto Star Code:
class TheStar(BasicNewsRecipe): title = 'TheStar' timefmt = ' [%a, %d %b, %Y]' html_description = True oldest_article = 7 no_stylesheets = True feeds = [ ('Top News Stories', 'http://www.thestar.com/rss/000-082-672?searchMode=Lineup'), ('Toronto & GTA', 'http://www.thestar.com/rss/97427?searchMode=Lineup'), ('Ontario', 'http://www.thestar.com/rss/0?searchMode=Query&categories=311'), ('Canada', 'http://www.thestar.com/rss/000-097-467?searchMode=Lineup'), ('World', 'http://www.thestar.com/rss/000-098-744?searchMode=Lineup'), ('Top Business Stories', 'http://www.thestar.com/rss/000-082-796?searchMode=Lineup'), ('Top Entertain. Stories', 'http://www.thestar.com/rss/117741?searchMode=Lineup'), ('Top Living Stories', 'http://www.thestar.com/rss/000-082-839?searchMode=Lineup'), ('Health', 'http://www.thestar.com/rss/000-082-844?searchMode=LineupAndQuery&categories=299'), ('Top Sci-Tech Stories', 'http://www.thestar.com/rss/82848?searchMode=Query&categories=300'), ('Ideas', 'http://www.thestar.com/rss/93199?searchMode=Lineup'), ] def print_version(self, url): return url.replace('http://www.thestar.com/article/', 'http://www.thestar.com/printArticle/') So far, it work! Need to figure out how to edit it so the font is smaller though... And maybe removing the banner... Last edited by Bubble; 04-22-2008 at 03:18 AM. |
|
Advert | |
|
04-22-2008, 03:37 AM | #306 |
Enthusiast
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
|
Can someone help us Canadians out by looking at the RSS feed of Maclean's which is here and suggest where to start making a profile for it?
The Print option is a javascript that call up a custom print.css. So should we start by removing all the classes? Or try to force that print.css stylesheet as the default? I might not be making much sense here.. PS: I'm not sure if Macleans can be done... I found out that even their RSS feed contain faulty links. Last edited by Bubble; 04-22-2008 at 04:09 AM. |
04-22-2008, 08:22 AM | #307 |
Seeker
Posts: 53
Karma: 363
Join Date: Mar 2008
Location: Ontario, Canada
Device: Sony PRS-505
|
Hey Bubble-nice work,looks like you have a winner here with the Star.
I've been too busy to look at libprs for a couple of weeks,and have not even looked at the new user manual you linked to.Actually I am really glad to see your post this morning and will have a closer look at how you made it work later on.I have tested what you did and it looks to work great. I was really disappointed that the Google reader recipe from Davec seems to be effectively useless, because the concept was such a good one.If this program could be made to fetch from one of the RSS aggregators that is available on the net,it might make it a lot easier to use for those of us who don't have time or inclination to learn python programming. |
04-25-2008, 05:42 AM | #308 |
Enthusiast
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
|
Hmm...
Well... I looked at the Globe and Mail and the same problem appear with Macleans. They don't have a HTML-link Print output, but rather, just popup the Print menu of Windows. If anyone want to give us a clue on how to integrate these type of sites for libprs500, please reply. |
04-25-2008, 06:04 AM | #309 |
Seeker
Posts: 53
Karma: 363
Join Date: Mar 2008
Location: Ontario, Canada
Device: Sony PRS-505
|
Deputy Dawg had a quick look at these a while back and said as much;that Macleans and the Globe would not be very conducive to our purposes.
So we 've got the Star(you might want to post it to Kovid's site-he might include it in an iteration of libprs500 for future Canuck users),what other distinctly Canadian feeds can you try,Bubble? |
04-25-2008, 06:20 AM | #310 |
Enthusiast
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
|
I can't think of any at the moment Rick. Those 3 are basically the foundation when it comes to Canadian news.
PS - T'is pRogz ROX TkissHX kovidgoyal! Grtz on WEDING! Last edited by Bubble; 04-25-2008 at 06:42 AM. |
04-25-2008, 12:11 PM | #311 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Doesn't the globe and mail have a print edition at http://www.theglobeandmail.com/frontpage/
|
04-26-2008, 12:30 AM | #312 | |
Enthusiast
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
|
Quote:
Last edited by Bubble; 04-26-2008 at 12:43 AM. |
|
04-26-2008, 03:59 AM | #313 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I meant an online edition that is typically an index that links to simplified HTML pages that are suitable for printing and therefore suitale for conversion to an ebook.
|
04-26-2008, 10:54 AM | #314 |
Junior Member
Posts: 7
Karma: 10
Join Date: Apr 2008
Location: British Columbia, Canada
Device: Sony PRS-505
|
Profile for Globe and Mail
Here is the profile I use for the Globe and Mail. It worked splendidly until version 0.4.49. I tried to revert back to version 0.4.42, but am having problems with a 'unicode' object has no attribute 'needs_subscription' traceback error.
P.S.-- looks like this was a known bug in 0.4.42. Does anyone know where I can find a pre 0.4.49 (windows) version of libprs500? Last edited by Ben_B; 04-26-2008 at 01:26 PM. |
04-27-2008, 07:12 PM | #315 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Migrating a profile to work with 49 should be simple, see http://libprs500.kovidgoyal.net/user...es-to-recipese
If you cant do it, I'll take a look. |
Tags |
libprs500, web2lrf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
web2lrf to capture blog archive? | Deputy-Dawg | Sony Reader Dev Corner | 1 | 02-14-2008 11:41 PM |
web2lrf: La Repubblica | alexxxm | Sony Reader | 1 | 11-13-2007 12:27 PM |