| 
			
			 | 
		#331 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 39 
				Karma: 20 
				Join Date: Oct 2007 
				Location: Czech Republic 
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, I'm using Windows XP Professional SP2 (Czech language). Same experience on several machines.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#332 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ah ok i'll add some possible fixes in 0.4.65
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#333 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 39 
				Karma: 20 
				Join Date: Oct 2007 
				Location: Czech Republic 
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks, kovidgoyal. Web2lrf now works with the sample site. Great. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Fetching news using calibre GUI, I still get few errors (but most of the sites work now). Washington Post, Reuters...: Code: 
	'NoneType' object is unsubscriptable Detailed traceback: Traceback (most recent call last): File "main.py", line 716, in news_fetched File "main.py", line 442, in _add_books File "calibre\ebooks\metadata\meta.pyo", line 81, in get_metadata File "calibre\ebooks\metadata\__init__.pyo", line 96, in smart_update TypeError: 'NoneType' object is unsubscriptable  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#334 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			0.4.66 should have a fix that fixes that error
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#335 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 39 
				Karma: 20 
				Join Date: Oct 2007 
				Location: Czech Republic 
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		  It works. Now's time for me to create my user profiles.I was following this example: http://calibre.kovidgoyal.net/wiki/UserProfiles but I've spent some time before I realized I have to use "from calibre.ebooks.lrf.web.profiles import DefaultProfile" instead of "from libprs500.ebooks.lrf.web.profiles import DefaultProfile".  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#336 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Use this http://calibre.kovidgoyal.net/user_manual/news.html 
		
	
		
		
		
		
		
		
		
		
		
		
	
	to learn how to create recipes for feeds  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#337 | 
| 
			
			
			
			 Sleeper. 
			
			![]() Posts: 109 
				Karma: 10 
				Join Date: Dec 2007 
				
				
				
				Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro 
				
				
				 | 
	
	
	
		
		
			
			 
				
				convert just one website?
			 
			
			
			Kovid, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	is it possible to use calibre / web2lrf for converting single webistes? I mean just websites, not newsfeeds. When I save a website to disk the pictures won't be saved. Calibre does a great job at fetching RSS feeds, so just fetching one website should be easy right? How could I do this? Thanks, jo.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#338 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			search for the bookit firefox extension
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#339 | 
| 
			
			
			
			 Sleeper. 
			
			![]() Posts: 109 
				Karma: 10 
				Join Date: Dec 2007 
				
				
				
				Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Thanks for your always quick and helpful answers, Kovid. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I already installed the BookIt extension. I like the idea of being able to just "browse & click" for new stuff that I then can comfortably read on an eReader. I even started considering a Sony Reader, mostly because of your work on calibre and the broad support for this device that seems to be out there - but one big disadvantage held me back: support for Chinese fonts. It is possible, but very cumbersome. So I will stick to my decision to buy a Hanlin for once. Still, it seems like I need to figure out how to work with LRF files, because that seems to be the most available format, at least Mac-software-wise. I think BookIt has an "add to calibre" feature so that I could work from there. Calibre would have to be the pivotal point for conversion. Hoping for the best, Cheers jo.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#340 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jul 2008 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi, Kovid! Many thanks for your work!  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Can you kindly help me with an issue with web2rlf? When I run Code: 
	web2lrf.exe default --url="http://spinet.ru/conference/printview.php?t=2154&start=0" -o 1.lrf --match-regexp kafadzy.com Thanks in advance, Mikhail  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#341 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Add the --verbose option and run it
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#342 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jul 2008 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can't make it output to a file with --verbose option; it prints something like that: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			[DEBUG] __init__.pyo:489: fetching http://kafadzy.com/spine/images/skrew_wrong.jpg [warning] __init__.pyo:489: could not fetch link http://kafadzy.com/spine/images/skrew_wrong.jpg [DEBUG] __init__.pyo:489:error: decode() argument 1 must be string, not None Traceback (most recent call last): File "...simple.py", line 335, in process_link File "..__init__.pyo", line 62, in xml_to_unicode Typeerror:decode() argument 1 must be string, not None Hope it'll help Mikhail Last edited by MiketheMan; 07-09-2008 at 04:21 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#343 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Will be fixed in the next release.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#344 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jun 2008 
				
				
				
				Device: Sony eReader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kovidgoyal, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I want to add my thanks to all the other Sony users for your wonderfule work. Calibre has been a real godsend and I hardly use the Sony SW at all. Keep up the great work.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#345 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jun 2008 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I still have the UnicodeDecodeError problem, I use windows xp pro(chinese version) sp2, and just updated my calibre to v0.4.79. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	.... Traceback (most recent call last): File "main.py", line 151, in <module> File "main.py", line 146, in main File "main.py", line 134, in run_recipe File "calibre\web\feeds\news.pyo", line 473, in download File "calibre\web\feeds\news.pyo", line 646, in build_index File "calibre\web\feeds\news.pyo", line 538, in feed2index File "calibre\utils\genshi\core.pyo", line 179, in render File "calibre\utils\genshi\output.pyo", line 60, in encode File "calibre\utils\genshi\output.pyo", line 210, in __call__ File "calibre\utils\genshi\output.pyo", line 753, in __call__ File "calibre\utils\genshi\output.pyo", line 592, in __call__ File "calibre\utils\genshi\output.pyo", line 710, in __call__ File "calibre\utils\genshi\core.pyo", line 494, in escape UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 2: ordinal not in range(128)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| 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-15-2008 12:41 AM | 
| web2lrf: La Repubblica | alexxxm | Sony Reader | 1 | 11-13-2007 01:27 PM |