Wizard
Posts: 2,758
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Originally Posted by DNSB
This is what I see when embedding a subtitle in an ePub using calibre (the subtitle is "Daring Adventures on Elephant Island":
Code:
<meta name="calibre:user_metadata:#subtitle" content="{"table": "custom_column_9", "column": "value", "datatype": "text", "is_multiple": null, "kind": "field", "name": "Subtitle", "search_terms": ["#subtitle"], "label": "subtitle", "colnum": 9, "display": {"description": "", "use_decorations": 0}, "is_custom": true, "is_category": true, "link_column": "value", "category_sort": "value", "is_csp": false, "is_editable": true, "rec_index": 31, "#value#": "Daring Adventures on Elephant Island", "#extra#": null, "is_multiple2": {}}" />
|
Yes, that's what I expected, and it's what NickelSeries supports.
Quote:
Originally Posted by npr
Checking the file "metadata.opf" in calibre, most of my books don't have a entry for <meta name="calibre:user_metadata:#subtitle ...
Only the most recent book I loaded in calibre and one I've just deleted and reloaded as a test has that entry.
I've tried reloading both books which has that entry but still no subtitle on first connection.
Code:
<meta name="calibre:user_metadata:#subtitle" content="{"table": "custom_column_18", "column": "value", "datatype": "composite", "is_multiple": ",", "kind": "field", "name": "Subtitle", "search_terms": ["#subtitle"], "label": "subtitle", "colnum": 18, "display": {"composite_template": "{#reading_hours} hours", "composite_sort": "text", "make_category": false, "contains_html": false, "composite_show_in_comments": false, "description": ""}, "is_custom": true, "is_category": false, "link_column": "value", "category_sort": "value", "is_csp": false, "is_editable": true, "rec_index": 25, "#value#": "7.00 hours", "#extra#": null, "is_multiple2": {"cache_to_list": ",", "ui_to_list": ",", "list_to_ui": ", "}}"/>
@Phil_C, thanks agin that's the same as I've been using.
|
That should work...
https://github.com/pgaskin/kobo-mods...a.cc#L150-L162
https://github.com/pgaskin/kobo-mods...s.cc#L112-L126
If you want to confirm that NickelSeries sees it, look at the syslog (with logread).
Unless Kobo is overriding the subtitle afterwards, which it didn't IIRC.
|