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 03-23-2021, 06:04 PM   #5701
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thank you!
ownedbycats is online now   Reply With Quote
Old 03-23-2021, 10:03 PM   #5702
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: On AO3, some in-progress fanfics have a total number of chapters. Is there a way to list that on the title page? I am searching defaults.ini but there is a lot of lines.
ownedbycats is online now   Reply With Quote
Advert
Old 03-23-2021, 10:37 PM   #5703
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
chapterslashtotal and chapterstotal

https://github.com/JimmXinu/FanFicFa...ults.ini#L1426
JimmXinu is offline   Reply With Quote
Old 03-23-2021, 11:25 PM   #5704
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thank you
ownedbycats is online now   Reply With Quote
Old 03-25-2021, 01:57 PM   #5705
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
A story on www.scribblehub.com has started giving me problems. It no longer catches new chapters unless I force it to update. I can't link the story here because of the rating, will send you the link privately.

I think the problem is that they added a new chapter at the beginning of the story, so the first chapter has a more recent date than the chapters that immediately follow it.
AndersW is offline   Reply With Quote
Advert
Old 03-25-2021, 02:15 PM   #5706
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Chapter date doesn't matter for this adapter--it just uses the list and order given.

It worked fine when I downloaded the story (URL from PM), deleted the last chapter and then updated.

What are you seeing exactly? Does FFF report that it already has the same number of chapters?
JimmXinu is offline   Reply With Quote
Old 03-25-2021, 02:17 PM   #5707
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
it says "Not Overwriting, web site is not newer."
AndersW is offline   Reply With Quote
Old 03-25-2021, 02:29 PM   #5708
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
I tried downloading the story from scratch, deleting a chapter and checking for updates. Still says, "Not Overwriting, web site is not newer."
AndersW is offline   Reply With Quote
Old 03-25-2021, 03:17 PM   #5709
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
New information. 'Overwrite if newer' doesn't work, but 'Update if new chapters' does.
AndersW is offline   Reply With Quote
Old 03-25-2021, 03:56 PM   #5710
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
"Update if new chapters" uses # of chapters, but "overwrite if newer" actually does check the dates. Depending on how (or if) the site reports the date, or if you modified the ePub, or even weird timezone issues can mess things up.

https://github.com/JimmXinu/FanFicFare/wiki/UpdateModes

Last edited by ownedbycats; 03-25-2021 at 03:58 PM.
ownedbycats is online now   Reply With Quote
Old 03-25-2021, 05:20 PM   #5711
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
That looks to be the problem. The story page lists the last updated date as the 20th, but has chapters for the 20th, 22 and 24th.

Has nothing to do with the new chapter in the beginning.
AndersW is offline   Reply With Quote
Old 03-25-2021, 06:34 PM   #5712
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Correct.

Unless told otherwise, I assume all users download to epub and use "Update EPUB if New Chapters". The details of "Overwrite if Newer" are different and described in the page ownedbycats linked.

The fact that there are newer chapers than the story Updated date looks like a site bug.

If you can point at another story with the same problem (chapters dated newer than the story 'Updated' date), I'll look more into changing the code to use the newest chapter date for dateUpdated.

I'm not volunteering to do it for this single case because currently the chapters are collected from a separate site hit that does not include chapter dates.

Or, you know, just use "Update EPUB if New Chapters" which will work fine and only download new chapters without downloading everything each time.
JimmXinu is offline   Reply With Quote
Old 03-26-2021, 08:56 AM   #5713
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
So, I'm trying to change genre of books a little and then divide it into two columns. So I've got:

Code:
#Assuming genre in book are AAA and BBB

add_to_extra_valid_entries:,mycolumn
include_in_mycolumn: genre

replace_metadata:
 genre=>^AAA$=>CCC

exclude_metadata_post:
 genre!~^CCC$
 mycolumn=~^CCC$

custom_columns_settings:
 mycolumn=>#custom1
So I clearly don't understand the code, because I thought this would return CCC for genre and AAA and BBB for mycolumn. But it returns nothing in mycolumn. Can someone tell me what did I do wrong? I am very confused. (edit) If I remove the second line from exclude_metadata I get CCC only in mycolumn for some reason. I do not understand why CCC even appeared in mycolumn. Does the include_in_ only work after the replace/exlude_metadata?

I will post actual code and fics I used for testing later, because right now I don't have access, but I still wanted to ask, since I am just that impatient.

Last edited by Ascello; 03-26-2021 at 09:00 AM. Reason: Extra explanation
Ascello is offline   Reply With Quote
Old 03-26-2021, 11:01 AM   #5714
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Changes applied to genre occur before mycolumn is copied.

You can prevent that by using:
Code:
## '.NOREPL' tells the system to *not* apply title's
## in/exclude/replace_metadata -- Only works on include_in_ lines.
include_in_mycolumn: genre.NOREPL
Or by turning it around and changing mycolumn instead.
JimmXinu is offline   Reply With Quote
Old 03-26-2021, 01:23 PM   #5715
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.1.0 - 26 Mar 2021
- adapter_literotica - Update for recent site change and fix first chapter - Thanks, davidfor!
- adapter_fictionlive - Fix off-by-one error in most_recent_chunk / add_chapter_url interaction, closes #672 Thanks, HazelSh!
- Fixes for literotica sites changes. Issue #671
- Fix for include_dice_rolls when multiple fieldsets.
- Check for img 'failedtoload' *before* trying to fetch on updates.
- Issue with fiction.live setting in defaults[fiction.live] overriding personal[www.fiction.live]. Could use a more general solution if I can think of one.
- minor changes to track fictionlive website updates - Thanks, HazelSh #668
- Fix show_timestamps option in adapter_fictionlive
- Add include_dice_rolls option
- Include error for continue_on_chapter_error in log
- Put 'Change theme to Classic' back in adapter_storiesonlinenet
- Remove some dup imports/code, thanks akshgpt7. Closes #663
- use_ssl_unverified_context:true ignored when use_clouadscraper:true
- Fixes for ancient 'import *' getting broken by removing unused imports in base_writer -- Fixes "name 're' is not defined" with HTML output.
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 11:21 AM.


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