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 12-16-2024, 09:24 AM   #10126
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,030
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Not that I know of. It's a dialog, not a 'window'.

Uncheck the 'Keep on top' feature and then it won't... stay on top.
It took me a bit to find that option because I expected it on the dialog itself rather than the FFF settings. Would it be possible to move/duplicate the checkbox?
ownedbycats is offline   Reply With Quote
Old 12-16-2024, 03:37 PM   #10127
Lemur4000
Junior Member
Lemur4000 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
And I'm not getting MR notifications again. Joy.


First, use [code] tags to preserve spacing when posting here. Some spacing matters.

I've tried to clean up your posted INI code and comment why:
Code:
[defaults]
[archiveofourown.org]

##extra_valid_entries:fandoms, freeformtags, freefromtags,  ao3categories, tags, cleantags, fulltags 
## This basically removes a bunch of other AO3 entries from defaults.ini
## Instead only add your new metadata entries:
add_to_extra_valid_entries:tags, cleantags, fulltags 
## Although it doesn't look like fulltags is used.

cleantags_label:Clean Tags
fulltags_label:Full Tags

## Keeping in order may not work when you get to a Calibre column,
## several kinds auto-sort.
keep_in_order_freeformtags:true
keep_in_order_ships:true

add_to_custom_columns_settings:
 freeformtags=>#fulltags
 fulltags=>#fulltags
 cleantags=>#cleantags

sort_ships:true

## removed 'tags', doesn't appear to be used, 
## and you don't need to worry about freefromtags.
replace_metadata:
#this replaces metadata with what I want
 category,genre,freeformtags=>^[Ff]luff [Aa]nd [Aa]ngst$=>Fluff\,Angst
 category,genre,freeformtags=>^[Aa]ngst [Aa]nd [Hh]umo(u)?r$=>Humor\,Angst


##[defaults]
## Keep in [archiveofourown.org] -- freeformtags and cleantags aren't 
## defined for most sites.  add_to_ in case you have other custom_columns_settings in 
## [defaults].
add_to_custom_columns_settings: 
 freeformtags=>#fulltags
 cleantags=>#cleantags

##include_in_cleantags:fulltags
##I assume you meant to populate full tags:
include_in_fulltags:freeformtags
include_in_cleantags:freeformtags

add_to_exclude_metadata_pre:
##category,genre==Other Additional Tags to Be Added
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply
 category,genre,cleantags==Other Additional Tags to Be Added
 category,genre,cleantags=~^I .*
 category,genre,cleantags=~^[Aa]dditional.*
 category,genre,cleantags=~^[Aa]uthor.*
 
add_to_include_metadata_post:
    cleantags==Action/Adventure  
    cleantags==Angst  
    cleantags==Crack  
    cleantags==Drama
Without specific story URLs to test (and what you consider 'wrong' with what you're getting), it's difficult to help much more.
Thank you! This was my first time posting so I appreciate the formatting tip.
I'm trying to clean up the "fulltags" and pipe the cleaned version to "cleantags". And then only have the tags listed under 'add_to_include_metadata_post:' be included in "cleantags". How can I adjust the ini to achieve this?
Lemur4000 is offline   Reply With Quote
Old 12-16-2024, 05:04 PM   #10128
tkshorty
Member
tkshorty began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2024
Device: Koba Aura
Quote:
Originally Posted by JimmXinu View Post
I take it back.

The add_marked_ids() method only supports marked:true. It discards both pre-existing and new mark names and calls them all 'true'. Marks used to be only on/off--named Marks where a later add-on.

So the only option I see is to use the db.data.marked_ids dict directly to see what marks already exist and set them again as well.

Looking directly at the data structures instead of using an API is sketchy, even if that's how actions/mark_books.py does it.

Further thought then raises the question: What should happen when a new FFF mark would go on the same book as a pre-existing mark? Which should take priority? The whole point was to preserve pre-existing marks and now we can't guarantee it?

This is the point where I'm thinking it's not worth the effort. Marks are intentionally transient in nature. Use a column value or a Reading List if you want something that is more durable.
I agree that it's not worth the effort. Thought you were deliberately calling a clear function so it would be easy to disable
tkshorty is offline   Reply With Quote
Old 12-23-2024, 05:55 AM   #10129
salvo
Junior Member
salvo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: Kindle Oasis
Is it possible to export my books I have downloaded via FFF to another PC? I was using the portable version of Calibre on Windows and now I want to install the full version on Linux.

This plugin has been a godsend for reading LITRPG and Webtoons!!!!!
salvo is offline   Reply With Quote
Old 12-23-2024, 06:13 AM   #10130
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,030
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by salvo View Post
Is it possible to export my books I have downloaded via FFF to another PC? I was using the portable version of Calibre on Windows and now I want to install the full version on Linux.

This plugin has been a godsend for reading LITRPG and Webtoons!!!!!
https://manual.calibre-ebook.com/faq...ter-to-another

Since you're transferring OSes, you must use the import/export tool (instead of just copying files) as there's certain filesystem incompatibilities. This will also transfer your FFF configurations.
ownedbycats is offline   Reply With Quote
Old 12-23-2024, 06:26 AM   #10131
salvo
Junior Member
salvo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
https://manual.calibre-ebook.com/faq...ter-to-another

Since you're transferring OSes, you must use the import/export tool (instead of just copying files) as there's certain filesystem incompatibilities. This will also transfer your FFF configurations.
Thanks for the tips! I tried to export it out of Windows, but it said I am using the portable version and so was not able to do the export. Let me try those links you sent and I'll let you know!
salvo is offline   Reply With Quote
Old 12-23-2024, 08:50 AM   #10132
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The only way would be to install FULL calibre (ie NOT Portable) on your Windows PC.

No issue having both installed but don't run them at the same time.

Copy your Preferences folder from the Portable installation.

With the new calibre install, switch libraries to the old Portable created library.

At this point you should be able to do the Export of calibre, and then do the Import on the Linux system

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Old 12-23-2024, 12:59 PM   #10133
salvo
Junior Member
salvo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: Kindle Oasis
Quote:
Originally Posted by PeterT View Post
The only way would be to install FULL calibre (ie NOT Portable) on your Windows PC.

No issue having both installed but don't run them at the same time.

Copy your Preferences folder from the Portable installation.
Do you know where the Preferences folder is or what it is called?
salvo is offline   Reply With Quote
Old 12-23-2024, 01:15 PM   #10134
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
It's stored within the Calibre Portable directory structure. The guaranteed way to open it is to go the calibre | Preferences | Advanced | Miscellaneous and select Open calibre configuration folder.
PeterT is offline   Reply With Quote
Old 12-24-2024, 10:08 AM   #10135
salvo
Junior Member
salvo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: Kindle Oasis
Thanks for all of the help, especially @ownedbycats!

It worked perfectly, its now busy downloading on my Arch Linux Desktop!
salvo is offline   Reply With Quote
Old 12-24-2024, 05:05 PM   #10136
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
Do not create a cover if a defined tag exists

With FFF, I use the option of having a new cover created directly for FFN and AO3 after the update. The Generate Cover plugin is also installed for this.

Is it possible to block this for individual stories based on a tag?

I have tagged various stories with the tag “[ ] Cover”. I don't want the cover to be updated here automatically.

As there are now over 100 stories and the number is increasing, I don't want to exclude the cover update for each individual story, but am looking for a general solution.
Tharos is offline   Reply With Quote
Old 12-24-2024, 08:28 PM   #10137
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,991
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Cover settings is overly complicated. There's a whole wiki page about it.

I think it might be possible, but it might be complicated to figure out exactly. It would be easier if you were trying to apply a Generate Cover by tag value instead of not applying one.

In FFF settings, in the personal.ini settings tab, there's a checkbox for 'Pass Calibre Columns into FanFicFare on Update/Overwrite'.

If you check that option, then you can use calibre_std_tags in personal.ini for many settings, like generate_cover_settings:
Code:
generate_cover_settings:
 ${calibre_std_tags}=>DoStackCover=>Stacked Books
To 'not' apply, it might work to create a GC setting that basically copies existing without changing it?

Or apply your usual GC setting from generate_cover_settings using a regexp negative look- ahead assertion to not be your 'keep cover' tag. I think it's possible, but I can't remember right now.
JimmXinu is offline   Reply With Quote
Old 12-30-2024, 03:07 PM   #10138
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Hi,

I'm having a bit of trouble with this story:

https://archiveofourown.org/works/55981141

The body of the text doesn't display past the first page in Calibre's reader and some lines are randomly hidden in my e-reader.

I believe it to be the creator's style fault but I can't find how to discard it for this specific story.

Here is my only instruction about style in my personal.ini:

Code:
[archiveofourown.org:epub]

## Force FFF to keep some formating in the text
add_to_keep_html_attrs:,style,align
I've tried to put:
Code:
[https://archiveofourown.org/works/55981141:epub]

add_to_keep_html_attrs:
And setting 'keep_style_attr' to false for this story, but it doesn't work.
Clem2605 is offline   Reply With Quote
Old 12-30-2024, 08:09 PM   #10139
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,991
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-12-30
- New Site: superlove.sayitditto.net
- New Site: www.cfaarchive.org add superlove & CFAA (otwarchive sites) support (#1136) Thanks xxwhirlpool
- Update translations.
- XenForo lazyload: use data-src first if data-url also present. QQ proxy in data-src caches/bypasses some issues
JimmXinu is offline   Reply With Quote
Old 12-30-2024, 08:17 PM   #10140
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,991
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Clem2605 View Post
Hi,

I'm having a bit of trouble with this story:

https://archiveofourown.org/works/55981141

The body of the text doesn't display past the first page in Calibre's reader and some lines are randomly hidden in my e-reader.

I believe it to be the creator's style fault but I can't find how to discard it for this specific story.

Here is my only instruction about style in my personal.ini:

Code:
[archiveofourown.org:epub]

## Force FFF to keep some formating in the text
add_to_keep_html_attrs:,style,align
I've tried to put:
Code:
[https://archiveofourown.org/works/55981141:epub]

add_to_keep_html_attrs:
And setting 'keep_style_attr' to false for this story, but it doesn't work.
This is a known limitation of how I implemented 'add_to_X' -- there isn't an equivalent 'remove' feature. So there isn't a way to override the 'add_to_' in the site section from a specific story section.

OTOH, I don't see any in-line style or align attributes in that story. I don't think removing add_to_keep_html_attrs would help.

What exactly are you seeing? Can you provide exact text that isn't appearing I can search for? Post your epub? Because I don't see any obvious problems.
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 04:47 PM.


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