![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2010
Location: Netherlands
Device: Sony PRS-600
|
Add HTML with meta tags
Hi All,
First off, i just love Calibre ! I am working on making a set of ebooks with my favorite articles from Smashing Magazine by ripping the data from the site and saving it in html via php. After that i add the page as book in Calibre. All works well, but since i have a lot of pages to do i would like to have set the meta tags automaticly, preferably from within the html page. Is there a way to do this ? Second: would love a feature in Calibre to just enter a url of a page and Calibre makes a ebook of it. Regards, Erwin |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,271
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre reads metadata from html files.
Put <!--TITLE="dfsdsf"--> <!--AUTHOR="vsvorv"--> Similarly for publisher and isbn |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2010
Location: Netherlands
Device: Sony PRS-600
|
Quote:
Can't find what i am doing wrong, but with the tags inside the <head> or inside <body> both no results after import from html (saved page from firefox, tags are present in file, 1:1 copy of your lines). Using latest version of Calibre. How about the feature request ? |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 15
Karma: 10
Join Date: Nov 2015
Device: Kindle Voyage
|
Hello together,
for me this works: <HEAD> <TITLE>Poems</TITLE> <META name="author" content="Peter Miller"> <META name="pubdate" content="2005"> <META name="DC.language" content="en"> <META name="tags" content="poem, fiction, fantasy"> </HEAD> <BODY> ... But I also tried to fill some "private" metadata, e.g. I have a user defined column named "website". That contains the web-adress of the raw text of my homemade e-books. I tried this in the head section of the html file: <META name="website" content="abc.html"> <META name="#website" content="abc.html"> <!--website="abc.html"--> <!--#website="abc.html"--> <!--WEBSITE="abc.html"--> <!--#WEBSITE="abc.html"--> Nothing seem to work... Can someone give me a hint? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Ah, the website. Tricked me too!
But this works: <meta name="dc.description" content="Sed at sapien tempus, facilisis justo." /> <meta name="DC.date.published" content="2000-01-01" /> <meta name="DC.publisher" content="https://www.mobileread.com/" /> The "description" goes into the "Comments" (summary) box and the date published is self explanatory. |
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,978
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
OMG talk about Necro thread posts.
I have not seen Starson around here in ages |
![]() |
![]() |
![]() |
#8 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Holy moley, theducks - I didn't even NOTICE. Talk about dead, dead, deadity, dead.
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() Posts: 58
Karma: 192
Join Date: Mar 2009
Location: Cologne area, Germany
Device: Pocketbook Touch HD3 (+ an old Hanlin V3)
|
Looking at the source code (with my limited programming knowledge) I think there is a pretty definite list of exiting meta tags that can be imported (with various possible syntaxes). But I also found out there that you can freely import IDs. Something like this works:
<meta name="dc.identifier.url" content="http://www.abc.xy" /> <meta name="dc.identifier.website" content="http://www.gkl.xy" /> <meta name="dc.identifier.slartibartfast" content="http://www.thhgttg.xy" /> |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 15
Karma: 10
Join Date: Nov 2015
Device: Kindle Voyage
|
Thanks a lot!
That is what i looked for... |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I edit/add Meta Data | 4jacks | Kindle Formats | 4 | 10-07-2010 04:33 AM |
Please help with Meta-tags | brodymcd | Calibre | 1 | 07-29-2010 06:13 PM |
Add books - Meta Data format | wwaldo | Calibre | 2 | 03-17-2010 07:38 PM |
Help with meta tags/info | s0nya | Sony Reader | 10 | 06-04-2009 07:44 PM |
epub-meta tags | JeffElkins | Calibre | 2 | 10-17-2008 04:04 PM |