|
|
#8731 | |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2022
Device: none
|
Quote:
|
|
|
|
|
|
|
#8732 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,131
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2023-07-25 - Add title replace_metadata(commented) for literotica Ch/Pt titles - AO3: Add subscribed, markedforlater I found it. This AO3 FAQ implies (but doesn't outright state) that 'Mark for Later' is a 'History' feature that doesn't appear if you have 'Turn on History' unchecked in your Preferences. |
|
|
|
| Advert | |
|
|
|
|
#8733 | |
|
Connoisseur
![]() Posts: 73
Karma: 76
Join Date: Apr 2019
Device: none
|
Quote:
I misunderstood how it was getting the title, thinking it was pulling it from the first chapter rather than the series heading on the submissions page. So, I was correct on what the bug is, but was wrong about where the bug is. It's too consistent to be author error, so it must be a bug in Literotica's code. Thanks for the suggestion on how to work around it. I'll give that a try! - Andrew |
|
|
|
|
|
|
#8734 | |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2022
Device: none
|
Quote:
|
|
|
|
|
|
|
#8735 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,358
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I actually suggested Subscribed earlier. So that's cool.
|
|
|
|
| Advert | |
|
|
|
|
#8736 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
This intrigued me, so I thought "why not add that little bit of info in my title page?" Turns out it wasn't as simple as I thought but it was a fun experiment!
I was having trouble trying to understand the logic for my replace_metadata, and it turns out when a fic isn't subscribed the value is null, but if it's not bookmarked, the value is false. Also I tried to do these tests with the test stories, but it didn't work on them so I must have done something wrong, worked with actual stories at least. My test results with actual stories. They look pretty nice on MapleRead too. The code: Spoiler:
|
|
|
|
|
|
#8737 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,131
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Most metadata entries are either present or not, it's unusual for them to be False. bookmarkrec and bookmarkprivate are set True/False instead.
I don't remember for sure, but I suspect that's for the benefit of tri-state boolean columns. subscribed and markedforlater should probably be True/False also for consistency.
|
|
|
|
|
|
#8738 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,131
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2023-07-26 - AO3: Make subscribed, markedforlater True/False to match bookmarked/bookmarkprivate/bookmarkrec |
|
|
|
|
|
#8739 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,358
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
How does it work for people who aren't logged in? Always false?
|
|
|
|
|
|
#8740 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,131
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Not populated at all. All of those are only set with always_login:true
|
|
|
|
|
|
#8741 | |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Quote:
I have another question, I was trying to test the bookmark/subscribed checks with test stories but I don't know which part I did wrong when trying to fill up the metadata. Back when I even tried with boolean values the plugin would return an error ("unexpected class 'bool'" IIRC). Now it just doesn't show any values. Test result Test code: Spoiler:
add_to_output_css: Spoiler:
|
|
|
|
|
|
|
#8742 |
|
Connoisseur
![]() Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
|
Culytera, nice to see someone else here reading Grey’s/Station 19
|
|
|
|
|
|
#8743 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,131
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
You need to add ,icon_bookmarked,icon_subscribed to add_to_extra_valid_entries
Code:
[test1.com] # URL: http://test1.com?sid=12345 add_to_extra_valid_entries:,prefix_category,prefix_ships,first_category,first_ship,icons,icon_bookmarked,icon_subscribed include_in_icons:icon_bookmarked,icon_subscribed |
|
|
|
|
|
#8744 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,131
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2023-07-27 - Fix fanfiktionde status parsing #980 - thanks, burny2! |
|
|
|
|
|
#8745 | |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Quote:
Last edited by culytera; 07-27-2023 at 11:44 AM. |
|
|
|
|
![]() |
| Tags |
| fanfiction |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 02:36 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM |
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 01:48 PM |
| [GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 07:39 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |