Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-26-2020, 06:44 PM   #4246
ThatLibraryRat
Member
ThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enough
 
Posts: 24
Karma: 718
Join Date: Dec 2014
Device: Bookeen Frontlite Muse
Hello,
Sorry to bother you guys, my computer and back up drive with calibre died not long ago and I can't remember how I created that really useful custom status column.
It was really handy to sort all my fanfic between completed/in progress.
Hoping someone can point me to a link or explain how to recreate it.
Best.
ThatLibraryRat is offline   Reply With Quote
Old 06-26-2020, 08:24 PM   #4247
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: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Create a Calibre custom column, probably Yes/No type, then in FanFicFare's config, go to the Custom Column tab and choose to fill that column.
JimmXinu is offline   Reply With Quote
Advert
Old 06-26-2020, 11:42 PM   #4248
ThatLibraryRat
Member
ThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enoughThatLibraryRat will become famous soon enough
 
Posts: 24
Karma: 718
Join Date: Dec 2014
Device: Bookeen Frontlite Muse
Thank you very much!
ThatLibraryRat is offline   Reply With Quote
Old 06-27-2020, 06:00 PM   #4249
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by ThatLibraryRat View Post
Hello,
Sorry to bother you guys, my computer and back up drive with calibre died not long ago and I can't remember how I created that really useful custom status column.
It was really handy to sort all my fanfic between completed/in progress.
Hoping someone can point me to a link or explain how to recreate it.
Best.
As well, here's how to set one-chapter finished fics to 'oneshot', if you'd like that.
ownedbycats is offline   Reply With Quote
Old 06-27-2020, 10:20 PM   #4250
Fea
Junior Member
Fea began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2020
Device: Kobo app
Confusion

I tried to edit my personal ini to speed up updates, but AO3 (Where get most of my content) still asks for my login and prompts for confirmation that I am an adult. The section looks like this:

[archiveofourown.org]
is_adult:true
usernameMyusername)
passwordMypass)
always_login:true

Have I missed something?
Fea is offline   Reply With Quote
Advert
Old 06-28-2020, 12:49 AM   #4251
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question for column icon purposes: What exactly is the error message for when a update fails due to the background metadata login issue?

Thanks
ownedbycats is offline   Reply With Quote
Old 06-28-2020, 10:09 AM   #4252
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: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question for column icon purposes: What exactly is the error message for when a update fails due to the background metadata login issue?
I don't know. Error messages vary tremendously.
JimmXinu is offline   Reply With Quote
Old 06-28-2020, 11:36 AM   #4253
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I was able to track down a fic that required login and test it myself. It's "Failed to login for URL:"
ownedbycats is offline   Reply With Quote
Old 07-02-2020, 02:29 AM   #4254
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
This might fall into the scope of "regex stupidity" again, but I have a frequently-updated fanfic that uses five spaces (not a tab) to indent the paragraphs in the summary/description. It looks bad in the book details panel and I got tired of manually fixing it every time the fic updated, so:

Code:
replace_metadata:
 description=>(\s\s\s\s\s)=>
The regex tester says this should work, but it didn't. I tested and the description replace works for other parts of the summary text, just not the spaces. Any suggestions?

Last edited by ownedbycats; 07-02-2020 at 02:33 AM.
ownedbycats is offline   Reply With Quote
Old 07-02-2020, 05:39 AM   #4255
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
try this pattern
Quote:
[ ]{5}
A single space character is between the square brackets and you are only looking for 5 occurrences
georgemk is offline   Reply With Quote
Old 07-02-2020, 10:19 AM   #4256
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: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I don't see any reason why either pattern shouldn't work.

But without knowing the story URL, I can't test them.
JimmXinu is offline   Reply With Quote
Old 07-02-2020, 02:49 PM   #4257
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by georgemk View Post
try this pattern

A single space character is between the square brackets and you are only looking for 5 occurrences
Hm I tried that and got a syntax error. Maybe I put it in wrong.

Quote:
Originally Posted by JimmXinu View Post
I don't see any reason why either pattern shouldn't work.

But without knowing the story URL, I can't test them.
Story url is this.

I notice in the html view for the description in Calibre (and the fanfic metadata longtext) it starts with a <p> and then has <br> after each paragraph. I wonder if that might be interfering with the regex.
ownedbycats is offline   Reply With Quote
Old 07-02-2020, 07:15 PM   #4258
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: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Story url is this.
That description isn't using spaces to indent--it's using non-breaking spaces. Which makes a kind of sense: HTML explicitly reduces any amount of normal whitespace to a single whitespace.

It doesn't appear to be easy to get that 0xa0 character into the regexp--at least in plugin. I can do it in CLI, but when I paste it into the plugin personal.ini it gets saved as a normal space.

You can, however, put that regexp line in a file and then pull it into the personal.ini. See attached replace.txt and use with something like:

Code:
add_to_replace_metadata_filelist:file:///C:/Users/username/Desktop/replace.txt
Getting exactly the expression you want is left as an exercise for the reader.

(BTW, if you have 'Smarten Punctuation' turned on, it will sometimes convert that leading non-breaking whitespace into an indent CSS. That puzzled me for a bit.)
Attached Files
File Type: txt replace.txt (22 Bytes, 168 views)
JimmXinu is offline   Reply With Quote
Old 07-02-2020, 09:36 PM   #4259
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That works thank you. I keep forgetting that nbsps are different than normal spaces.

Can replace_metadata also affect the HTML within the description? I tried to turn the <br> into <p> because it looks better but it didn't seem to work:

Code:
 description=><br>=><p>

Last edited by ownedbycats; 07-02-2020 at 09:41 PM.
ownedbycats is offline   Reply With Quote
Old 07-02-2020, 09:50 PM   #4260
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: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Code:
 description=><br>=><p>
BR is self-closing, plus I'd include P close tags. Here's what I tested that worked:
Code:
[https://archiveofourown.org/works/21814324]
add_to_replace_metadata:
 description=><br/>=></p><p>
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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