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 Today, 01:14 AM   #9511
Nchalada
Junior Member
Nchalada began at the beginning.
 
Nchalada's Avatar
 
Posts: 4
Karma: 10
Join Date: Aug 2020
Device: Cool Reader on Galaxy S20+
Dang sites changing the way they fundamentally work!
Nchalada is offline   Reply With Quote
Old Today, 01:31 PM   #9512
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,326
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-04-26
- adapter_literotica: Rewrite(mostly) for site changes. #1058
- adapter_literotica: Remove use_meta_keywords option. #1058

This also removes literotica features:
  • averrating metadata entry - I haven't found a reasonably parsable version in the new pages.
  • order_chapters_by_date option - New story series page doesn't give chapter dates.
  • use_meta_keywords option - Unnecessary now, they're collected elsewhere
EDIT: Also adds cover image, but only for multi-chapter stories?
JimmXinu is online now   Reply With Quote
Old Today, 01:43 PM   #9513
ChaoticAdventure
Junior Member
ChaoticAdventure began at the beginning.
 
ChaoticAdventure's Avatar
 
Posts: 5
Karma: 10
Join Date: Jan 2024
Device: Kindle Paperwhite, Calibre
Hi! I searched the thread for this but didn't find anything, so I'm just wondering:
(for context all of this may only apply to ao3, it's the only site I use)
It seems that when I update anthologies, they don't call the custom columns in calibre the same way normal fics do. I use some tags that I add manually to manage cover settings, but with anthologies, those tags don't appear to do anything. I don't suppose there is a way to have that happen? I understand it may just not work because of how the anthology function works, or may be cumbersome to add, and I don't want to create tons of extra work for you.
As an example of what I mean: I would manually add the tag "BNHAMulti" to a fic after I upload it to calibre for the first time. That tags column does not update when the fic updates, so it won't get overwritten. Then, when I update the fic, calibre will automatically use the "BNHAMulti" cover thanks to my cover settings. With anthologies, that just doesn't happen, and I have to change the cover manually after updating.

I also have a second question. For anthologies, is there any way to call the "total word count" statistic? When I call the word count, it seems to call the individual word counts for each fic in the anthology, which is just not what I'm looking for. I'm happy to keep updating those manually, but if the function already exists and I just can't find it, I would love to know.
Thanks in advance.
ChaoticAdventure is offline   Reply With Quote
Old Today, 01:51 PM   #9514
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,326
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ChaoticAdventure View Post
... Then, when I update the fic, calibre will automatically use the "BNHAMulti" cover thanks to my cover settings. With anthologies, that just doesn't happen, and I have to change the cover manually after updating.
Have you seen this section of the cover settings wiki page?

Anthology cover settings are a bit different and more limited, I suspect that's what's happening.

Quote:
Originally Posted by ChaoticAdventure View Post
I also have a second question. For anthologies, is there any way to call the "total word count" statistic? When I call the word count, it seems to call the individual word counts for each fic in the anthology, which is just not what I'm looking for. I'm happy to keep updating those manually, but if the function already exists and I just can't find it, I would love to know.
What do you mean by "call the word count"? Because the anthology feature automatically sums the numWords values for each book together before setting custom columns for anthologies.
JimmXinu is online now   Reply With Quote
Old Today, 02:39 PM   #9515
ChaoticAdventure
Junior Member
ChaoticAdventure began at the beginning.
 
ChaoticAdventure's Avatar
 
Posts: 5
Karma: 10
Join Date: Jan 2024
Device: Kindle Paperwhite, Calibre
Thank you for linking me to the wiki. I always feel a bit silly when that happens but for some reason, I assumed it worked a certain way when it just... doesn't, as shown in the wiki lol. I might be able to find a workaround there with the forced option but for now I think I'll just need to keep doing them manually.

As for the word counts, the anthology does sum them up correctly for the "word count" column, as it should. I have a separate column that I use to show the "word count range" of a fic, which uses the "numWords" function and a conditional to calculate range. It works great for individual fics, but with anthologies it will output [<10k, 10k-25k, 100k-150k] instead of the summed range (which might be 500k-600k, for example). It's a fairly specific issue so if there isn't a way to solve it, no problem, I can continue to input manually.
ChaoticAdventure is offline   Reply With Quote
Old Today, 03:48 PM   #9516
kamille3
Enthusiast
kamille3 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jul 2021
Device: None
Used the latest test version for literotica and noticed a few things.

Certain authors (like authors/Naughtybecca/works/stories) have a lot of stories in their profile which adds a new "Show more" button on the website. I think FFF for now can't go beyond this page thus misses a lot of the stories.

Also when I try to download from this author's page- authors/somethingfar/works/stories

I'm getting this error for the series California Dreamin' - 'NoneType' object has no attribute 'group'

Another thing I see is that when I try to update existing books for authors I previously downloaded, FFF tries to redownload the story series even though there has been no update to the series.

Also is it possible to remove the completed tag? I just want to keep the genre tag like SciFi, Romance, etc otherwise it makes my library look a bit messy. Thanks.
kamille3 is online now   Reply With Quote
Old Today, 04:41 PM   #9517
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,326
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by kamille3 View Post
Certain authors (like authors/Naughtybecca/works/stories) have a lot of stories in their profile which adds a new "Show more" button on the website. I think FFF for now can't go beyond this page thus misses a lot of the stories.
FFF isn't reading the author page anymore, so that shouldn't matter. You just give FFF a story (or 'chapter') URL.

Quote:
Originally Posted by kamille3 View Post
I'm getting this error for the series California Dreamin' - 'NoneType' object has no attribute 'group'
All the 'Story Series' URLs I saw before had /series/se/99999, but apparently they can also be alphanumeric.

Quote:
Originally Posted by kamille3 View Post
Another thing I see is that when I try to update existing books for authors I previously downloaded, FFF tries to redownload the story series even though there has been no update to the series.
This is a significant site change. For many (all multi-chapter) stories the 'canonical' story URL is changing, which may cause that depending on what you're doing.

The individual chapter URLs changing could also have that effect. I honestly don't know if the chapter URLs changed or not--I don't have any old epubs for this site.

Short answer: I'm not surprised that's happening. I'd have to see your 'before' epubs to know why exactly, and even then it may not be avoidable.

Besides, you're only updating when there's new chapters, not attempting updates on lots 'just in case', right?

Quote:
Originally Posted by kamille3 View Post
Also is it possible to remove the completed tag? I just want to keep the genre tag like SciFi, Romance, etc otherwise it makes my library look a bit messy. Thanks.
The include_subject_tags setting includes status in Calibre's Tags column by default. It's just now the site has a status for FFF to collect.

Search this thread for past discussions on changing include_subject_tags to customize it.
JimmXinu is online now   Reply With Quote
Old Today, 04:46 PM   #9518
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,326
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-04-26
- adapter_literotica: Rewrite(mostly) for site changes. #1058
- adapter_literotica: Remove use_meta_keywords option. #1058
- adapter_literotica: Allow /series/se/alphanumeric instead of just numeric

This also removes literotica features:
  • averrating metadata entry - I haven't found a reasonably parsable version in the new pages.
  • order_chapters_by_date option - New story series page doesn't give chapter dates.
  • use_meta_keywords option - Unnecessary now, they're collected elsewhere
In exchange it adds:
  • Cover images, but only for multi-chapter stories?
  • status metadata is collected
JimmXinu is online now   Reply With Quote
Old Today, 05:01 PM   #9519
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,326
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ChaoticAdventure View Post
As for the word counts, the anthology does sum them up correctly for the "word count" column, as it should.
Hurray!

Oh wait, there's more.

Quote:
Originally Posted by ChaoticAdventure View Post
I have a separate column that I use to show the "word count range" of a fic, which uses the "numWords" function and a conditional to calculate range. It works great for individual fics, but with anthologies it will output [<10k, 10k-25k, 100k-150k] instead of the summed range (which might be 500k-600k, for example). It's a fairly specific issue so if there isn't a way to solve it, no problem, I can continue to input manually.
I'm not finding a Calibre numWords() function, so I assume you have defined your own numWords() function as a Calibre template language function? I base that on the use of the word 'function'.

(Which is different than FFF's numWords metadata entry.)

I don't know much of anything about Calibre template language, honestly, I can't help there.

Going in entirely the opposite direction, if you've magicked FFF's replace_metadata system into making word ranges for you, FFF is behaving as designed--replace_metadata, et al only operate on individual stories, not on anthologies. The correct answer would be a list of different ranges like that.

In that case, I'd suggest looking at using a Calibre Custom column 'built from other columns' that operates on a read word count column using Calibre template language.

Then it would affect all books, not just FFF downloads.
JimmXinu is online now   Reply With Quote
Old Today, 05:12 PM   #9520
kamille3
Enthusiast
kamille3 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jul 2021
Device: None
Quote:
FFF isn't reading the author page anymore, so that shouldn't matter. You just give FFF a story (or 'chapter') URL.
I don't get it. I pasted author page url into FFF and it didn't grab all the stories for me.

When I manually clicked show more button on the author to reveal all the story urls and then extracted the story links with a link grabber extension and pasted it into FFF, a few of the series downloaded as separate chapters not as one whole story with multiple chapters.

Quote:
This is a significant site change. For many (all multi-chapter) stories the 'canonical' story URL is changing, which may cause that depending on what you're doing.

The individual chapter URLs changing could also have that effect. I honestly don't know if the chapter URLs changed or not--I don't have any old epubs for this site.

Short answer: I'm not surprised that's happening. I'd have to see your 'before' epubs to know why exactly, and even then it may not be avoidable.
I guess FFF is redownloading because in the earlier versions the main url for a story series used to be the url of the first chapter of the series but now they are using a separate series /se/ url.

Quote:
Besides, you're only updating when there's new chapters, not attempting updates on lots 'just in case', right?
Yes, I was just checking if things were working same as before or not.

Also, I notice that now story series include multiple genres in its tags while in the previous versions only the genre of the first chapter of the series was used. Is this the intended behavior?

And again thanks for the all the fixes.
kamille3 is online now   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 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:25 PM.


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