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 09-26-2020, 10:21 AM   #4576
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ILB View Post
I like this. And if it gets expanded with lables “title” and “description” it will be even better/understandable.
...
But does in not work with “update anthology”? I had https://archiveofourown.org/series/103976 already as an anthology (still without the description) and it didn´t add the description in the comments using update – not even if I used “update always”.
...
I tried it with some stories from destinysgateway.com
Re: labels - they will get labels.

Re: update desc - Works fine for me. There are two 'New Only' checkboxes for anthology desc, the usual Comments New Only and a 2nd at the bottom of the list, "Set Anthology Comments only for new books". Both need to be unchecked.

Re: destinysgateway.com - I did say it only works on AO3 and TtH so far.
JimmXinu is offline   Reply With Quote
Old 09-26-2020, 12:42 PM   #4577
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,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: What happened to the background metadata option when downloading new stories? Running current test version and I just notice it's not there:

Click image for larger version

Name:	2020-09-26 13_40_25-FanFicFare.png
Views:	188
Size:	10.2 KB
ID:	182230

I saw no mention of it in the changelogs or recent posts.

It's still available in the update story dialog though.

(I hope this isn't a case of my memory failing me again, because I swear background metadata was an option in download new story before...)

Last edited by ownedbycats; 09-26-2020 at 01:09 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 09-26-2020, 01:27 PM   #4578
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
(I hope this isn't a case of my memory failing me again, because I swear background metadata was an option in download new story before...)
Nope. BG metadata has never been an option on new downloads. "Only available for Update/Overwrite of existing books in case URL given isn't canonical or matches to existing book by Title/Author."
JimmXinu is offline   Reply With Quote
Old 09-26-2020, 01:46 PM   #4579
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
Quote:
Originally Posted by JimmXinu View Post
Re: update desc - Works fine for me. There are two 'New Only' checkboxes for anthology desc, the usual Comments New Only and a 2nd at the bottom of the list, "Set Anthology Comments only for new books". Both need to be unchecked.
Thanks, I unchecked the 2nd one.



Quote:
Re: destinysgateway.com - I did say it only works on AO3 and TtH so far.
I know but in your post you wanted to know:
Quote:
Originally Posted by JimmXinu View Post
However, please provide concrete examples if there are other sites you think break the series paradigm I've set.
And so I just wanted to say that on destinysgateway.com it works alright. There are no problems I could see.

Or did you mean your changes only work on AO3 and TtH
and any other site it doesn´t affect at all?
ILB is offline   Reply With Quote
Old 09-26-2020, 02:49 PM   #4580
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ILB View Post
And so I just wanted to say that on destinysgateway.com it works alright. There are no problems I could see.

Or did you mean your changes only work on AO3 and TtH
and any other site it doesn´t affect at all?
Currently, only AO3 and TtH have any change from previous behavor (assuming I didn't break anything).

The destinysgateway.com series works the same as before, taking the series name from the fact all the stories have the same series value.

There are some 30 odd supported eFiction sites that appear to have series metadata. I will be exploring how likely it is I can support series for all of them with the same code, but it doesn't initially look very promising due to differences in HTML.
JimmXinu is offline   Reply With Quote
Advert
Old 09-26-2020, 08:42 PM   #4581
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,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Agh. Sorry about my poor memory.

New question: For some AO3 series where a new fic is inserted in the middle of the series (and that I'm not anthologizing), I've been using Get Story URLs > individual ePubs > If Story Already Exists: Update ePub Always to fix the series numbering. Is there a better way to do this that I'm missing? Update Calibre metadata doesn't seem to change the title pages.

ownedbycats is offline   Reply With Quote
Old 09-26-2020, 08:45 PM   #4582
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
New question: For some AO3 series where a new fic is inserted in the middle of the series (and that I'm not anthologizing), I've been using Get Story URLs > individual ePubs > If Story Already Exists: Update ePub Always to fix the series numbering. Is there a better way to do this that I'm missing? Update Calibre metadata doesn't seem to change the title pages.
Correct. If you want FFF to update the title page and/or log page(s), you have to do Update Always.
JimmXinu is offline   Reply With Quote
Old 09-27-2020, 06:27 AM   #4583
thb
Member
thb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshesthb can read faster than his screen refreshes
 
thb's Avatar
 
Posts: 13
Karma: 14206
Join Date: Feb 2011
Device: Several
Hi Jim,

Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted
Download and install the test version from the link in my sig below.
Thank you! This release fixed my problem. I can now edit my personal.ini.
thb is offline   Reply With Quote
Old 09-27-2020, 08:56 PM   #4584
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-09-27
- Better GUI for series anthology
- Adding eFiction series parsing attempt to base_adapter.

eFiction sites are something like a third of the supported sites in FFF and there are frequently similarities, so I've attempted to include some code to pull series name and comments out for them.

Story URL list still uses the same code as before because parsing story URLs out was a significant pain.

(FYI, FFF usually refers to a story's description, while Calibre talks about a books Comments. For purposes of series anthology dialog, I followed Calibre's lead and said Comments since it's not actually an FFF metadata description.)
JimmXinu is offline   Reply With Quote
Old 09-28-2020, 08:22 PM   #4585
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,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
What would be the best way to add "Anthology" to a #fanficstatus (text, fixed values) column for anthologies?

I tried a few times to do a replace_metadata but couldn't get it to work (and sometimes it also broke my Complete => Oneshot replace).

Current personal.ini:

Spoiler:
Code:
## This is an example of what your personal configuration might look
## like.  Uncomment options by removing the '#' in front of them.

[defaults]

custom_columns_settings: 
 "N"=>#read
 oneshot=>#fanficstatus

## Some sites also require the user to confirm they are adult for
## adult content.  Uncomment by removing '#' in front of is_adult.
is_adult:true

## If set, an image (regardless of source) will only be used as a
## cover image if it is >= both the dimensions listed here.  When not
## set, any size image will be used.  Note that some sites, like ffnet
## use relatively small images(180,240).
cover_min_size: 100,100

### Anthology stuff
anthology_title_pattern:${title}
anthology_tags:

replace_metadata: 
## Prettyizes fanfiction publishers.
 site=>www.fanfiction.net=>FanFiction.net
 site=>archiveofourown.org=>Archive of Our Own
## AO3 orphan_account
 author=>^orphan_account$=>Unknown
 author=>\(orphan_account\)=>
## Category standardization and deduplication
 category=>\([0-9]+\)|\(Video Game\)|\(Video Games\)|(|- Fandom\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
 category=>(^Mass.Effect$|^Mass Effect\s$|Mass Effect - All Media Types|Mass Effect - Various Authors|Mass Effect: Paragon Lost)=>Mass Effect Trilogy
 category=>(^(?=.*Elder Scrolls)(?!.*The Elder Scrolls).*|Elder Scrolls V: Skyrim)=>The Elder Scrolls
 category=>(Pocket Monsters \|\ Pokemon)=>Pokémon
 category=>(Pokémon - All Media Types)=>Pokémon
## Sets one-chapter fics to oneshot
 oneshot=>Completed=>Oneshot&&numChapters=>^1$
## Sets anthology fics to anthology

## Sorts anything other than a few selected categories into "Fanfiction.Other"
 tagscategory=>^(?!.*(Half-Life|Portal|Mass Effect|Crossover)).*$=>Other
## Adds Fanfiction. to the beginning of tagcategory
 tagscategory=>^(.*)$=>Fanfiction.\1
## Some more tagcategory standardization
 tagscategory=>(Portal|Half-Life)=>Half-Life & Portal
 tagscategory=>(Mass Effect: Andromeda|Mass Effect Trilogy)=>Mass Effect

add_to_replace_metadata:
## Changes breaks to paragraphs in comments for better formatting
 description=><br/>=></p><p>
## Removes images from summaries
 description=><img[^>]+>=>

include_metadata_post:
## Removes other tags if Crossover is a category
 tagscategory==Fanfiction.Crossover&&category==Crossover

exclude_metadata_post:

## Adds "Crossover" if more than one category after category replaces/includes/excludes.
add_category_when_multi_category: Crossover

# 'add_to_' concats on to existing param, thus the leading comma
add_to_extra_valid_entries:,oneshot,tagscategory,

# oneshot is a copy of status because status itself isn't a list.
include_in_oneshot:status

# tagscategory is a copy category for Fanfiction.category in tags
include_in_tagscategory:category

include_subject_tags: tagscategory

generate_cover_settings:
 ${site}=>^FanFiction.net$=>FFNet
 ${site}=>^Archive of Our Own$=>AO3

[epub]
include_tocpage: true

[archiveofourown.org]
## AO3 anti-hammer
slow_down_sleep_time:10
## Some attributes cause problems for EBook readers.  By default,
## FanFicFare will remove all attributes except the ones specified
## from all tags.  (The only exception is that <img> tags will also
## keep src, alt and longdesc attributes.)
## Example: To add 'style', 'title' and 'align' to the list to keep,
## in your personal.ini [defaults] put:
add_to_keep_html_attrs:,title,align

[https://archiveofourown.org/works/21814324]
never_make_cover:true
## This fic has non-breaking spaces which look weird in description, this removes them
add_to_replace_metadata_filelist:file:///D:/Documents/Miscellany/ReplaceNBSP.txt



Last edited by ownedbycats; 09-28-2020 at 08:25 PM.
ownedbycats is offline   Reply With Quote
Old 09-28-2020, 10:56 PM   #4586
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
What would be the best way to add "Anthology" to a #fanficstatus (text, fixed values) column for anthologies?
I don't think that there is.

There's a feature for adding tag(s) when it's an anthology and a pattern feature for naming them. But all of the replace_metadata and include/exclude stuff happens on individual downloads, not anthology books.

There is a metadata entry anthology that is set to the string 'true' when it's an anthology that was added for using with generate_cover_settings and also be used with custom_columns_settings, but can only have the value 'true' or empty. Again, it's after replace_metadata processing.

Instead of struggling with your fic status desires in FFF's rather esoteric system, I'd consider a Calibre custom column-from-columns instead and hidden custom columns for status, chapter count and anthology.

Then when you decide you also want different special statuses for not updated in last 6 months vs 12 months vs 18 months you can consult your dateUpdated and just make that custom column-from-columns more complicated.
JimmXinu is offline   Reply With Quote
Old 09-28-2020, 11:15 PM   #4587
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,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Right now I put Anthology in manually so I can keep doing that.

I actually have custom column icons to show up if a fanfic returns an error (from being deleted) or hasn't been updated in a while so I can notice that and set that to Abandoned. I considered trying to figure out how to make it change to Abandoned if it detects an error but decided it'd be annoying to fix all the suddenly Abandoned fics every time my internet or AO3/FFnet starts acting up.

Thank you.

Last edited by ownedbycats; 09-28-2020 at 11:18 PM.
ownedbycats is offline   Reply With Quote
Old 09-29-2020, 09:26 PM   #4588
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-09-29
- Don't save cover image size for dedup_img_files - Calibre might replace it. Also fixes #561
JimmXinu is offline   Reply With Quote
Old 10-01-2020, 12:11 PM   #4589
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
series anthology - status for series completion

On the series site on AO3 there is a status field for the completion of the series.
Under "Stats:" it´s a sub-item called "Complete:" with either "No" or "Yes".

Would it be possible to use this for the status column of the series anthology?

example:
completed (YES) - https://archiveofourown.org/series/254860
in-progress (NO) - https://archiveofourown.org/series/482902
ILB is offline   Reply With Quote
Old 10-01-2020, 12:51 PM   #4590
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,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-10-01
- Fix adapter_storiesonlinenet login. Closes #562
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 06:02 AM.


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