Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-02-2010, 06:32 AM   #1
Pixelmagic
Junior Member
Pixelmagic began at the beginning.
 
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
Pixelmagic is offline   Reply With Quote
Old 03-02-2010, 01:18 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,562
Karma: 24495948
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
kovidgoyal is offline   Reply With Quote
Advert
Old 03-03-2010, 04:41 PM   #3
Pixelmagic
Junior Member
Pixelmagic began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2010
Location: Netherlands
Device: Sony PRS-600
Quote:
Originally Posted by kovidgoyal View Post
calibre reads metadata from html files.

Put

<!--TITLE="dfsdsf"-->
<!--AUTHOR="vsvorv"-->
Similarly for publisher and isbn
Thank you for the reply.

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 ?
Pixelmagic is offline   Reply With Quote
Old 03-03-2010, 08:54 PM   #4
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Pixelmagic View Post
How about the feature request ?
Use any browser, save the page, drag the html saved page into Calibre. Done.
Starson17 is offline   Reply With Quote
Old 04-14-2020, 12:34 PM   #5
Kuhnke
Member
Kuhnke began at the beginning.
 
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?
Kuhnke is offline   Reply With Quote
Advert
Old 04-14-2020, 06:48 PM   #6
skb
Evangelist
skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.
 
skb's Avatar
 
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.
skb is offline   Reply With Quote
Old 04-14-2020, 07:42 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,451
Karma: 58055868
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
theducks is offline   Reply With Quote
Old 04-15-2020, 07:11 PM   #8
skb
Evangelist
skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.skb ought to be getting tired of karma fortunes by now.
 
skb's Avatar
 
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.
skb is offline   Reply With Quote
Old 04-16-2020, 01:25 PM   #9
Kleki
Connoisseur
Kleki doesn't litterKleki doesn't litter
 
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" />
Kleki is offline   Reply With Quote
Old 04-19-2020, 06:47 PM   #10
Kuhnke
Member
Kuhnke began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2015
Device: Kindle Voyage
Thanks a lot!
That is what i looked for...
Kuhnke is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I edit/add Meta Data 4jacks Kindle Formats 4 10-07-2010 05:33 AM
Please help with Meta-tags brodymcd Calibre 1 07-29-2010 07:13 PM
Add books - Meta Data format wwaldo Calibre 2 03-17-2010 08:38 PM
Help with meta tags/info s0nya Sony Reader 10 06-04-2009 08:44 PM
epub-meta tags JeffElkins Calibre 2 10-17-2008 05:04 PM


All times are GMT -4. The time now is 08:45 PM.


MobileRead.com is a privately owned, operated and funded community.