Entry tags:
Another calibre question
HI, I have a calibre conversion question fandom people might understand better than MobileRead forumers.
I had the fanfiction downloader program called Graffer installed on my comp. I was happy with it because it would download fics from multiple sources and produced clean html files. Unfortunately it's creator gave up on the program and it is no longer updated, and it has stopped working for several major archives.
My work on converting my fics via calibre is slow, ad I often want to chuck my comp out the window, that's how frustrated calibre makes me feel. I was expecting import and conversion to be fairly straightforward, but calibre kept messing up the authors. I finally loked at the html coding and discovered that Graffer added a line in the metadata section which calibre would read as author name, but was actually the name of the programmer: <meta name='author' content='Grzegorz Hordynski' />
I wet to MobileRead to see if I can find a way to change this line in the html file automatically through bulk convert, but couldn't figure out the instructions or the regexes. I've been having a back and forth conversation with a member who doesn't understand what I'm after, so does anyone here know how to set up calibre so that it changes the programmer's name into the correct author name for selected ebooks in the actual html file, not just in the metadata?
I had the fanfiction downloader program called Graffer installed on my comp. I was happy with it because it would download fics from multiple sources and produced clean html files. Unfortunately it's creator gave up on the program and it is no longer updated, and it has stopped working for several major archives.
My work on converting my fics via calibre is slow, ad I often want to chuck my comp out the window, that's how frustrated calibre makes me feel. I was expecting import and conversion to be fairly straightforward, but calibre kept messing up the authors. I finally loked at the html coding and discovered that Graffer added a line in the metadata section which calibre would read as author name, but was actually the name of the programmer: <meta name='author' content='Grzegorz Hordynski' />
I wet to MobileRead to see if I can find a way to change this line in the html file automatically through bulk convert, but couldn't figure out the instructions or the regexes. I've been having a back and forth conversation with a member who doesn't understand what I'm after, so does anyone here know how to set up calibre so that it changes the programmer's name into the correct author name for selected ebooks in the actual html file, not just in the metadata?
no subject
To remove the programmer's name from the Graffer-grabbed files: grab a good text editor (like NoteTab) and use it to do a multi-file search and replace on the meta tag. That'll clear that out so you don't have to deal with it when you find a library program you do like to use and want to import your files.
To mass rename batch files without having to figure out the regexes, use AF5 Rename your files. It's a fairly logical interface for doing just one thing: renaming files using patterns. :)
no subject
I just recently discovered that I can open several files in Notepad++ ad do a search and replace. I was hoping search&replace would be something I could do on a larger number of files without actually having to open them (hence thinking I could use calibre for that), but it seems I won't be able to do that (not with my level of technical knowledge).
I've got two free renaming programs I installed (um, Ant Renamer I think, and Bulk Rename Utility), and so far I've figured out how to prefix the name of the author folder in which I keep my fics written by that one author; what I can't figure out is how to rename a files like
Author - 01 Title.html
Author - 02 Title.html
Author - 03 Title.html
to
Author - 01 - Title.html
Author - 02 - Title.html
Author - 03 - Title.html
Do you see what I mean? How do I tell the renamer to add a dash and a space without touching the number?
no subject
It's pretty easy to open multiple files at once in NoteTab and do the search and replace. Depending on how old or new your machine is, you can open files in bunches so it doesn't overwhelm computer's memory, but really, that's the fastest way to do that sort of thing without having to learn or deal with any of the scripting languages that would do what you need. And honestly, even though you have to open all the files, it doesn't take any longer. :) Plus, it sounds like it's much more your speed, and would cause the least amount of headache for you. :)
With the file renaming, sure, I know exactly what you mean. Download the program I gave you the link to (AF5 Rename your files) and read the help files--it easily does that sort of thing without making it complicated. (I've used that program for years--it's a very straightforward tool.)
no subject