04-26-2024, 01:14 AM | #9511 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2020
Device: Cool Reader on Galaxy S20+
|
Dang sites changing the way they fundamentally work!
|
04-26-2024, 01:31 PM | #9512 |
Plugin Developer
Posts: 6,562
Karma: 4277329
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:
|
Advert | |
|
04-26-2024, 01:43 PM | #9513 |
Member
Posts: 11
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. |
04-26-2024, 01:51 PM | #9514 | ||
Plugin Developer
Posts: 6,562
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Anthology cover settings are a bit different and more limited, I suspect that's what's happening. Quote:
|
||
04-26-2024, 02:39 PM | #9515 |
Member
Posts: 11
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. |
Advert | |
|
04-26-2024, 03:48 PM | #9516 |
Connoisseur
Posts: 50
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. |
04-26-2024, 04:41 PM | #9517 | ||||
Plugin Developer
Posts: 6,562
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
Quote:
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:
Search this thread for past discussions on changing include_subject_tags to customize it. |
||||
04-26-2024, 04:46 PM | #9518 |
Plugin Developer
Posts: 6,562
Karma: 4277329
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:
|
04-26-2024, 05:01 PM | #9519 | ||
Plugin Developer
Posts: 6,562
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Oh wait, there's more. Quote:
(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. |
||
04-26-2024, 05:12 PM | #9520 | |||
Connoisseur
Posts: 50
Karma: 10
Join Date: Jul 2021
Device: None
|
Quote:
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:
Quote:
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. |
|||
04-26-2024, 06:35 PM | #9521 | |
Connoisseur
Posts: 60
Karma: 10
Join Date: Apr 2019
Device: none
|
Quote:
I finally figured out that if the chapter listed as the Ids URL is listed both in a series and individually, it picks the not in a series version and thus treats it as a single chapter story. Changing the Ids to match the series bypasses this bug in the listing. I'll PM an example URL. - Andrew Last edited by applegaa; 04-26-2024 at 06:46 PM. |
|
04-26-2024, 07:07 PM | #9522 | ||
Plugin Developer
Posts: 6,562
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
That's as good as it's going to get. That feature can only read the HTML on the page as downloaded. You can drop/drop or copy/paste selected blocks of a page into FFF's Download from URL dialog, however, and FFF will pick out the rendered URLs. Quote:
Yes. FFF is now using the /series/se page as the definitive data source. Since all 'chapter' category values are now visible at once, FFF is collecting them. |
||
04-26-2024, 07:14 PM | #9523 | |
Plugin Developer
Posts: 6,562
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Honestly, that's the site being broken, IMO. We've also seen examples of the same 'chapter' in two 'story series'. And before anyone suggests going back to parsing the author page, just no. There's too much hidden behind javascript that I'm just not dealing with. Fortunately, in this case at least, the answer is simple. Use the /series/se URL instead. |
|
04-26-2024, 08:52 PM | #9524 |
Member
Posts: 11
Karma: 10
Join Date: Jan 2024
Device: Kindle Paperwhite, Calibre
|
I had never delved into columns built from other columns before now, it seemed too complicated for me, but it worked a treat once I spent some time figuring it out. Luckily I had done all the heavy lifting already while trying to get FFF to do it, so all I had to do was transfer it over into the template format. Thank you for your patience and knowledge!
|
04-26-2024, 11:42 PM | #9525 |
Custom User Title
Posts: 9,353
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
On AO3, I posted a story in an anonymous collection. For most users, this displays the username as "Anonymous", but for either the story author or collection owner, it displays "Anonymous [Username]"
Out of curious to see what would happen, I then enabled always_login:true and when I downloaded it it was just my username. Here's the author byline of an anonymized story: Code:
<h3 class="byline heading"> Anonymous [<a rel="author" href="/users/MyUsername/pseuds/MyUsername">MyUsername</a>] </h3> Code:
<h3 class="byline heading"> <a rel="author" href="/users/MyUsername/pseuds/MyUsername">MyUsername</a> </h3> Definitely a corner case here, but thought it was worth documenting in the unlikely case that something else was intended. Last edited by ownedbycats; 04-27-2024 at 12:30 AM. |
Tags |
fanfiction |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 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 |