valiha: watercolor painting of my cat Lola (Default)
valiha ([personal profile] valiha) wrote in [community profile] ebooks 2011-10-06 11:15 am (UTC)

Thing is, there are several locations of Search&Replace: there's one you get when you mark several books and choose Metadata > Edit metadata in bulk, then there's one in Preferences, Common options, Search&Replace, then there's one under Convert books > Bulk convert, Search & Replace. Which one am I supposed to use? I tried them all, and none seem to work. They all leave everything exactly the way it is. (And I want to replace Grzegorz Hordynski with the correct author name, not just remove it from the file. But let me try using your edit first.)

:back a while later:

It populates the Author(s) column correctly, but it does nothing to the file itself. When I look into the zip file created by calibre, that bloody line is still there. It is supposed to be able to change the content of the file. I know, because I read tutorials on MR that show how to remove repeating headers and footers. Why am I not able to change this one bloody line in the html file???

And it doesn't convert all books I selected, just the first one, and renames the fic in an insane fashion - I start with a file in an author folder numbered by the order in which events happen in these six connected fics, and calibre rearranges the order the way it sees fit. When I convert the fic, it renames it to Title by Author - Author.epub. WTF is that?

Just to make my workflow a little clearer, here's the setup of my fandom folders (I'll use Harry Potter as the example):

My fandoms > Harry Potter > Fics > Individual authors > Author folder > Title. html (or number Title.html if they make up a series)

My fandoms > Harry Potter > Fics > Various authors > Author name - Title.html

So I imported the books from the very first author folder, I clicked on Convert books, Bulk convert, went to Search & Replace, entered the offending line, entered text I wanted to replace it with, hit OK and the conversion was done only on first book. The rest were disregarded, and the resulting epub was named Title by Author - Author.epub (Title by Author is the first line of the fic, fllowed by a short synopsis and story word count, and the original link. The fic was downloaded from fanfiction.net)

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org