![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
HTML Metadata add Tags?
I'm converting a bunch of HTML files and would like, if possible, to TAG them automatically (as part of the 'auto-add' process).
Using the information I got in this thread and also here, I'm adding Author, Comments & Date. But it would be groovy (but not a show stopper) if I could automagically add tags as well when auto-adding certain HTML files. Possible? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
tags are supported, use subject for them. As shown here https://www.mobileread.com/forums/sh...44&postcount=9
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Brilliant! Thanks again, Kovid.
|
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Still not able to crack the tags.
This is my HTML: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="author" content="Author's Name"> <meta name="dc.description" content="Sed at sapien tempus, facilisis justo ac, tristique tortor. Quisque leo erat, laoreet in erat in, iaculis vulputate eros." /> <meta name="DC.date.published" content="2019-07-16" /> <meta name="Publisher" content="My Calibre Collection" /> <meta name="DC.publisher" content="My Calibre Collection" /> <meta name="DCTERMS.publisher" content="My Calibre Collection" /> <meta name="Subject" content="Test" /> <meta name="DC.subject" content="Test" /> <meta name="DCTERMS.subject" content="Test" /> <title>This is my test document</title> </head> <body> <p>It has tags for:</p> <ul> <li>Date</li> <li>Publisher and</li> <li>Three types of Subject</li> </ul> </body> </html> ![]() I've tried all versions of Subject but none return tags when creating the epub. Does this work for anyone else? |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me with
Code:
<meta name="tags" content="Test" /> |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Yes!!!!! You're a genius!
Thank you, Kovid. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add HTML with meta tags | Pixelmagic | Calibre | 9 | 04-19-2020 05:47 PM |
HTML input plugin stripping text within toc tags in child html file | nimblebooks | Conversion | 3 | 02-21-2012 03:24 PM |
No HTML tags in description metadata? | RobinD42 | Library Management | 11 | 02-22-2011 11:33 AM |
How to add metadata in HTML to have it included when converting to EPUB? | richieadler | Conversion | 2 | 02-05-2011 10:20 AM |
HTML Metadata for use as ePub tags | myudkowsky | Calibre | 9 | 12-12-2010 12:45 PM |