02-21-2011, 06:32 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Android Phone
|
No HTML tags in description metadata?
Is there a way to prevent the comments/description editor in the metadata dialog from using html tags? Even if I go to the "HTML Source" tab and delete them the editor still wraps the text with <p>...</p> tags. The ebook reader app I'm using gets confused by this and displays just the first "<" and although other ebook readers don't get as confused, they also don't render the text as html so they display the tags as-is. Highly annoying.
Having an option to use only a plain-text editor widget there would be very welcome. Robin |
02-21-2011, 08:08 PM | #2 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
To prevent comments from starting as html go to Preferences - Plugins - Metadata download plugins customize the Amazon plugin and check the Convert comments downloaded from Amazon to plain text box. |
|
Advert | |
|
02-21-2011, 08:30 PM | #3 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Android Phone
|
Quote:
Thanks I hadn't seen that option, but it still doesn't remove all html tags. True there aren't any text formatting tags in the downloaded text, but there are still some <p> and <div> tags in the text that gets saved to the metadata file. |
|
02-21-2011, 08:46 PM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Android Phone
|
|
02-21-2011, 09:25 PM | #5 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I'm curious, what format are the books you're creating? What reader are you using?
|
Advert | |
|
02-21-2011, 09:37 PM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Android Phone
|
EPUB and Moon+ Reader on Android.
|
02-21-2011, 09:46 PM | #7 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
02-21-2011, 10:29 PM | #8 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Android Phone
|
I think mainly because it is simply not expecting html in the description text because the professionally made EPUBs I've seen (downloaded from places like feedbooks, etc.) all seem to have plain text with no html tags. For example in the attached screenshot the first book shown is one I converted with Calibre and does have a description that is not shown, (except for the leading <), and the second was downloaded from feedbooks. Other android readers I've tried also do not seem to expect html tags in the description text and simply display the raw text with the tags visible.
But I am talking with the developer about another issue so I'll bring this up too. But like I said, it's not just this one application, but at least a few of the more common ones that I've experimented with. Edit: I've added an additional screenshot from a different book reader. Last edited by RobinD42; 02-21-2011 at 11:00 PM. Reason: Additional screenshot |
02-22-2011, 02:23 AM | #9 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Interesting - the epub spec says that the field contains xhtml, so if it is not being handled correctly that is definitely a fault in the reader.
|
02-22-2011, 03:11 AM | #10 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Android Phone
|
Okay, thanks. I was just wondering if the spec said anything about it one way or the other. It's less important for me now, but I think it would still be nice to have some way to either be able to remove all html tags from the description text, or to edit it as plain text to begin with.
|
02-22-2011, 05:33 AM | #11 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I must admit I would not mind the option to have plain text rather than html, but I think Kovid has already said that he has no plans to revert to that option.
|
02-22-2011, 11:33 AM | #12 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can customize the amazon metadata download plugin to auto convert the html to txt.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prepending Book with Description from Metadata | doodlydood | Conversion | 2 | 01-29-2011 08:53 PM |
HTML Metadata for use as ePub tags | myudkowsky | Calibre | 9 | 12-12-2010 12:45 PM |
Retaining formatting in metadata (book description) | FizzyWater | Calibre | 5 | 05-13-2010 10:26 PM |
Tags and Authors in Metadata | cossetter | Calibre | 8 | 12-22-2009 08:24 PM |
Editing metadata tags | thibaulthalpern | 9 | 03-19-2009 04:17 PM |