View Single Post
Old 12-29-2022, 10:02 AM   #7858
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Back from trip Multi-reply:

Quote:
Originally Posted by LadyLight View Post
I have the same question.
Code:
add_to_replace_metadata:
 ..
 ships=>(.*)[&](.*)=>\1 and \2
almost works. but then the output looks like:

<CharacterA> and amp; <CharacterB>
For various reasons, & chars are stored internally as html entities, so you need to match &amp; instead of just &:

Code:
add_to_replace_metadata:
 ..
 ships=>(.*)&amp;(.*)=>\1 and \2
Quote:
Originally Posted by WovenTales View Post
It might have been nice if I had thought of this before downloading over five hundred fics, but I've just realized I can put the `description` text into a custom column and leave Calibre's "Comments" open for more personal notes... or, at least the first half of that. I can't figure out how to disable the comments population itself. ...
The Comments field New Only flag is as close as it gets for that. I frankly don't consider it a common enough use case to add code for.

You could create a copy of description with include_in_newentry:description.NOREPL, set that to your custom column and clear the contents of description with replace_metadata or the include/exclude settings, but you'd also have to change the title page definition.

Quote:
Originally Posted by chrisric View Post
FYI for closure... I tried this again today, same error. I updated Calibre and FFF to latest versions and now it works fine.

No idea why, I didn't see any scribblehub fixes in the notes.
This is almost certainly you (meaning your IP, IP range, or possibly ISP) being flagged on the site or their service provider for extra screening for a period of time that has now expired.

Last edited by JimmXinu; 12-29-2022 at 10:03 AM. Reason: More about clearing description
JimmXinu is online now   Reply With Quote