Quote:
Originally Posted by citac
Yes, I'm trying to bulk change content, in calibre, after importing the fics,
|
To bulk change content, you would select the ebooks, bulk convert them to the desired final format (it can be the same as the original format) and set the S&R regex to replace content.
Quote:
because the author information is wrong. It is wrong because the downloader program I had used before would insert the name of the program creator into the html coding itself (i.e. <meta name='author' content='Grzegorz Hordynski' />).
|
Afte the file is in Calibre, this won't affect Calibre, even though it's wrong. Calibre will control its own metadata.
Quote:
Once the fics get imported into calibre, it reads the <meta name='author' content='Grzegorz Hordynski' /> information and puts that as the author's name.
|
This will produce the wrong author in Calibre's metadata, and you need to bulk edit these records to fix the author metadata.
Quote:
How do I go about automatically changing <meta name='author' content='Grzegorz Hordynski' /> to <meta name='author' content='Author Name' /> ?
|
As above. You can't do it before import (at least not with Calibre.) You'll get the wrong author name (unless you use filename to set the author and your filename is correct.) After import, you fix it in Calibre's metadata, and optionally fix the content if you want.
Quote:
Am I making myself clear? You say there's a way to do that on the Conversion screen, and that it's possible even though it's not meant for it, but I don't understand how. What expression do I need to enter to make this change because obviously pasting the above line does not work?
|
That's a regex question, and I'd need to see your original content to tell you how to set the regex to match. However, if the content has:
<meta name='author' content='Grzegorz Hordynski' />
then a simple Search for "Grzegorz Hordynski" and Replace with "Author Name" should do it to create:
<meta name='author' content='Author Name' />
Quote:
My ultimate goal is to eventually convert all my saved fics into epub, after which I plan to delete the imported books from the calibre library. I do not intend to use it for ebook management, just for converting.
|
You'll be missing a lot of nice features, but if that's what you want, that's fine. I started thinking that's all I needed Calibre for, too. Then I tried the Recipes, then my wife started using the Content Server for her smart phone, then we decided to track the books we'd read, then .... and here I am - unpaid volunteer tech support and occasional open source developer for features I want and no one else has time for