Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2008, 11:04 PM   #301
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Thanks
kovidgoyal is offline   Reply With Quote
Old 04-09-2008, 12:08 AM   #302
megacoupe
Connoisseur
megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.
 
Posts: 79
Karma: 8682
Join Date: Aug 2007
Device: Sony eReader
Hey, thanks for taking the time to respond.

And huge Mazel Tov to you and your bride to be!
megacoupe is offline   Reply With Quote
Old 04-09-2008, 08:04 AM   #303
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
My pleasure
kovidgoyal is offline   Reply With Quote
Old 04-12-2008, 05:58 PM   #304
StDo
Translating Calibre...
StDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with others
 
StDo's Avatar
 
Posts: 657
Karma: 2902
Join Date: Aug 2007
Location: ER.de
Device: [PRS-500], PB360
Quote:
Originally Posted by kovidgoyal View Post
Unfortunately, I am travelling for three weeks (getting married) ...
The Fortune may be with you - and your wife.

Congratulations!
StDo is offline   Reply With Quote
Old 04-21-2008, 07:13 AM   #305
Bubble
Enthusiast
Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.
 
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
Quote:
Originally Posted by Rick C View Post
I was wondering if you might be interested in doing a script for a Canadian publication? I have tried to modify existing scripts to fit but so far no good.

Even if you had a look and gave me some guidance, I'd appreciate it.

Macleans weekly Canadian newsmagazine.
http://www.macleans.ca/rss/

Globe and Mail
http://www.theglobeandmail.com/frontpage/

Toronto Star
http://www.thestar.com/generic/article/111417

Thanks
Did you ever managed to get a working profile for any of these feeds Rick C?

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/')
I figured out how to add the profile through here

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.
Bubble is offline   Reply With Quote
Old 04-22-2008, 03:37 AM   #306
Bubble
Enthusiast
Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.
 
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.
Bubble is offline   Reply With Quote
Old 04-22-2008, 08:22 AM   #307
Rick C
Seeker
Rick C has a complete set of Star Wars action figures.Rick C has a complete set of Star Wars action figures.Rick C has a complete set of Star Wars action figures.Rick C has a complete set of Star Wars action figures.
 
Rick C's Avatar
 
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.
Rick C is offline   Reply With Quote
Old 04-25-2008, 05:42 AM   #308
Bubble
Enthusiast
Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.
 
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.
Bubble is offline   Reply With Quote
Old 04-25-2008, 06:04 AM   #309
Rick C
Seeker
Rick C has a complete set of Star Wars action figures.Rick C has a complete set of Star Wars action figures.Rick C has a complete set of Star Wars action figures.Rick C has a complete set of Star Wars action figures.
 
Rick C's Avatar
 
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?
Rick C is offline   Reply With Quote
Old 04-25-2008, 06:20 AM   #310
Bubble
Enthusiast
Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.
 
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.
Bubble is offline   Reply With Quote
Old 04-25-2008, 12:11 PM   #311
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
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/
kovidgoyal is offline   Reply With Quote
Old 04-26-2008, 12:30 AM   #312
Bubble
Enthusiast
Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.Bubble has a complete set of Star Wars action figures.
 
Posts: 32
Karma: 274
Join Date: Apr 2008
Device: Sony Reader PRS-500
Quote:
Originally Posted by kovidgoyal View Post
Doesn't the globe and mail have a print edition at http://www.theglobeandmail.com/frontpage/
I'm assuming you meant Print Edition as in online format that is downloadable? As far as I know, no.

Last edited by Bubble; 04-26-2008 at 12:43 AM.
Bubble is offline   Reply With Quote
Old 04-26-2008, 03:59 AM   #313
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
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.
kovidgoyal is offline   Reply With Quote
Old 04-26-2008, 10:54 AM   #314
Ben_B
Junior Member
Ben_B began at the beginning.
 
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?
Attached Files
File Type: txt GlobeMail.txt (4.1 KB, 165 views)

Last edited by Ben_B; 04-26-2008 at 01:26 PM.
Ben_B is offline   Reply With Quote
Old 04-27-2008, 07:12 PM   #315
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
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.
kovidgoyal is offline   Reply With Quote
Reply

Tags
libprs500, web2lrf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 09:42 PM.


MobileRead.com is a privately owned, operated and funded community.