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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-16-2009, 11:04 AM   #106
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
That is a known feature of epub format on sony reader. Sony reader uses different fonts for displaying epub files than LRF files. You need to set epub files to use LRF fonts.

To do that in news recipe add this line to it:

Code:
    extra_css = '@font-face @font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)} body{font-family: serif1, serif} .article_description{font-family: serif1, serif} p{font-family: serif1, serif}'
kiklop74 is offline  
Old 04-16-2009, 05:48 PM   #107
t0mat0
Junior Member
t0mat0 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2009
Device: Mobipocket
Hmm..i am new. Where can i get a dictionary?
t0mat0 is offline  
Old 04-17-2009, 03:25 AM   #108
pubolab
Member
pubolab began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2008
Device: CASIO pocket viewer S1600, Sony PRS-505 and Cybook Gen 3
Quote:
Originally Posted by kiklop74 View Post
That is a known feature of epub format on sony reader. Sony reader uses different fonts for displaying epub files than LRF files. You need to set epub files to use LRF fonts.

To do that in news recipe add this line to it:

Code:
    extra_css = '@font-face @font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)} body{font-family: serif1, serif} .article_description{font-family: serif1, serif} p{font-family: serif1, serif}'

There are some difference now. The main menu page still remains '?', while the section menu page have garbage characters. Jumping to the article page will reboot the device.

Looks like calibre did not do GB2312 to UTF8 conversion.

Is there a complete reference manual of the recipe syntax and commands?
pubolab is offline  
Old 04-17-2009, 06:44 AM   #109
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by pubolab View Post
Looks like calibre did not do GB2312 to UTF8 conversion.
Calibre does not detect always correctly the native encoding. It is better to supply it manually. Use encoding parameter in your recipe for this.

Code:
encoding = 'gb2312'
See here the list of valid encoding names in python
http://docs.python.org/library/codecs.html

Quote:
Originally Posted by pubolab View Post
Is there a complete reference manual of the recipe syntax and commands?
Of course look here http://calibre.kovidgoyal.net/user_manual/news.html
kiklop74 is offline  
Old 04-22-2009, 05:47 AM   #110
pubolab
Member
pubolab began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2008
Device: CASIO pocket viewer S1600, Sony PRS-505 and Cybook Gen 3
After I run the feed2disk, which commands do I need to run for mobi book?

I tried oeb2mombi I gives this exception:

"
Traceback (most recent call last):
File "writer.py", line 634, in <module>
File "writer.py", line 630, in main
File "writer.py", line 601, in oeb2mobi
File "calibre\ebooks\oeb\base.pyo", line 1067, in __init__
File "calibre\ebooks\oeb\base.pyo", line 1535, in _all_from_opf
File "calibre\ebooks\oeb\base.pyo", line 1268, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty
"

html2epub worked fine for the same html tree.

Another problem is: the epub seems does not contain the pictures.

This seems due to the fact that I ran the feed2disk with -o option.

That caused the image URL to be created wrongly:

The correct one should be:
file:///C:/ebook/zaobao/feed_12/article_0/images/img1.jpg.jpg

Instead, feed2disk used this wrong one:

file:///C:/ebook/zaobao/feed_12/article_0/zaobao/feed_12/article_0/images/img1.jpg.jpg

looks like a bug

Last edited by pubolab; 04-22-2009 at 06:12 AM.
pubolab is offline  
Old 04-22-2009, 05:54 AM   #111
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: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run feeds2mobi or any2mobi
kovidgoyal is offline  
Old 04-23-2009, 03:24 AM   #112
pubolab
Member
pubolab began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2008
Device: CASIO pocket viewer S1600, Sony PRS-505 and Cybook Gen 3
yes that works, Thank you!
pubolab is offline  
Old 04-25-2009, 07:33 PM   #113
Sydney's Mom
Wizard
Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.
 
Sydney's Mom's Avatar
 
Posts: 2,899
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
I love Calibre and it emails to my kindle. But the format is listed as EPUB, MOBI. I didn't enter EPUB, and can't find it entered anywhere else. Can you tell me why that is?

If I leave Calibre running, and it downloads news, how can I set it to automatically convert and email.

Thanks for all you do. Debra
Sydney's Mom is offline  
Old 04-25-2009, 08:36 PM   #114
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: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you can double click on the formats list to change it. If you leave calibre running it will automatically email downloaded news to you.
kovidgoyal is offline  
Old 04-25-2009, 09:48 PM   #115
Sydney's Mom
Wizard
Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.
 
Sydney's Mom's Avatar
 
Posts: 2,899
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
Quote:
Originally Posted by kovidgoyal View Post
you can double click on the formats list to change it. If you leave calibre running it will automatically email downloaded news to you.
How does it know to convert it first?
Sydney's Mom is offline  
Old 04-25-2009, 09:54 PM   #116
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: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Set your output format to MOBI (next to the red heart) and th enews will be downloaded in MOBI format
kovidgoyal is offline  
Old 04-26-2009, 08:41 AM   #117
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by pubolab View Post
Have some problem of reading Chinese news feed.

I have applied the unicode font hack as mentioned in

https://www.mobileread.com/forums/showthread.php?t=20644

I am reading a news feed from a Chinese news paper

http://realtime.zaobao.com/news.xml

When I choose the LRF as output format, I am able to view the Chinese characters correctly on PRS-505. Only thing is that the titles and links font size is too big. (Same behavior when viewed with calibre internal viewer)

When I choose the EPUB as output format, the calibre internal viewer can view it correctly and the font size is fine.
However, the PRS-505 can not view it properly. All Chinese characters are replaced with '?', and the reader reboots after turning a few pages.

Any idea?
Edit the CSS of the ePub to add in the Chinese font. Then you should be able to read it fine. See https://www.mobileread.com/forums/showthread.php?t=36361
JSWolf is online now  
Old 04-26-2009, 08:47 AM   #118
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiklop74 View Post
That is a known feature of epub format on sony reader. Sony reader uses different fonts for displaying epub files than LRF files. You need to set epub files to use LRF fonts.

To do that in news recipe add this line to it:

Code:
    extra_css = '@font-face @font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)} body{font-family: serif1, serif} .article_description{font-family: serif1, serif} p{font-family: serif1, serif}'
And you can also ass in the CSS code and install the Times New Roman italic and bold fonts as well to give true italics and true bold.
JSWolf is online now  
Old 05-11-2009, 11:51 AM   #119
Justy
Fanatic
Justy has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud of
 
Justy's Avatar
 
Posts: 547
Karma: 27509
Join Date: Dec 2007
Location: Greater Vancouver Area, BC, Canada
Device: Nexus 7, Sony Xperia z3 tablet, Kobo Glo, Boyue T63
I recently installed Calibre and it looks quite useful. I have over 800 eBooks mostly in Mobipocket format. As expected several hundred of these did not have metadata which was picked up by Calibre. I would like to make use of the "metadata from filename" option but I have my eBooks named in 2 different ways.

NotSeries: Genre_Author_Title
Series: Genre_Author_SeriesName#_Title

for NotSeries this works: (?P<tags>.+)_(?P<author>[^_]+)_(?P<title>.+)

I'm not sure how to add in the series information so that it will continue to work for both title types. Any suggestions are welcome!
Justy is offline  
Old 05-18-2009, 11:05 PM   #120
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Question Update Question

This is my first update to calibre so I just wanted to verify the process. Are the steps below correct?

1) Close all calibre windows.
2) Right click on the calibre system tray icon and choose Quit.
3) Remove calibre using Add/Remove Programs (or the Start Menu option, Uninstall calibre).
4) Once process ends, find and run the updated calibre installation file.


Lastly a couple of questions:
  • Will the library metadata be retained., or must it be re-entered when updating?
  • Can the library path be changed without re-entering the books or metadata? (Assume books are moved to a completely different hard drive and file structure: C:\Books\<author>\<title>.<ext> to G:\Library\Books\<author>\<title>.<ext>.)
  • Is there any way to group book genre files seperately? Adding a Fiction, Manuals, News or equivalent folder between ...\Books\<author>\ in my example above?
  • Similiarly, can authors be grouped alphabetically within a genre? (I've noticed with so many authors my system is slowing down a bit.)

Thanks in advance for the answers.
Sabardeyn is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions (and answers too!) Stinger Kobo Reader 112 05-12-2017 11:40 AM
PRS-300 Reader freezing frequently paddy77 Sony Reader 15 01-17-2011 02:33 AM
PRS-600 Do you frequently read PDFs on your PRS600? drmaxx Sony Reader 20 09-22-2009 07:15 PM
Questions we wish we had asked before buying a Reader Dr. Drib Sony Reader 15 05-22-2009 06:13 AM
Three not asked earlier questions about iLiad Malder1 iRex 9 08-14-2006 02:10 PM


All times are GMT -4. The time now is 04:10 PM.


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