03-02-2019, 12:46 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2019
Device: tolino
|
importing odt; get metadata from text
Hi,
here is a problem, with that i am struggeling for quite some time now. I have a bunch of .odt files (2k++) that i want to import into calibre and subsequently to my device. the Text on every one is formated as: <h1>title <h5>author (<h2> chapter) text with the <h#> as the header-degree not every file has "chapters", but first and second line should allway be interpreted to title and author. Is there a civiliced way for the batch-import or do i have to get an intern to do this for me by hand? |
03-02-2019, 01:08 AM | #2 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can write a metadata reading plugin for odt to replace the builtin one that extract this information.
|
Advert | |
|
03-13-2019, 09:47 AM | #3 |
the rook, bossing Never.
Posts: 12,324
Karma: 90943357
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Also Calibre does use some or all of Title, subject, keywords, comment in ODT Properties->Description and user name of LibreOffice/OpenOffice Options if Properties Use user data is ticked.
Or Save As Open XML .docx format, which oddly seems to result in better formatting of ePubs (can't see difference on AZW3). I do have a problem that conversion to Mobi has incorrect page breaks and regards H1, H2, H3, H4 etc as outline levels with bullet numbers, rather than un-numbered. I don't use H1, H2, etc except for items to be in TOC. I use other styles for Title, Subtitle, Series, Author etc. |
Tags |
author, import, metadata, odt, tag |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing text with many quotes | Airnoth | Sigil | 7 | 09-16-2016 06:20 AM |
Importing metadata in 0.9.4 | arthurattwell | Sigil | 4 | 03-15-2016 02:20 PM |
.ODT to Epub text shrinkage... | hanzz10 | Conversion | 1 | 08-06-2012 12:49 PM |
Extra metadata import from ODT | olig | Development | 50 | 08-02-2012 03:14 AM |
Importing Text into Sony | menevets | Sony Reader | 7 | 10-23-2010 07:42 PM |