07-01-2024, 03:09 PM | #9706 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Jun 2024
Device: Koba Aura
|
Quote:
Hi JimmXinu, I was told by the author of ActionChains, that if you add the code above to a file called action_chains.py and save that file to the root directory of your plugin it will automatically add this to the imported events in action chain. I tried this out while only changing the name in your code and it works fine for me. would you consider adding such a file in a future version? also a tip for other users: if you use this and count pages plugin started from FFF you may run into issues if count pages and some actions of your chain run simultainiously. only your action chain or the count pages may be performed for some books. Guess some actions put a lock on some attributes or the whole book. To prevent this just disable count pages from the FFF plugin in run it from your action chain and set the checkbox to wait for it to finish |
|
07-01-2024, 03:44 PM | #9707 |
Plugin Developer
Posts: 6,555
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
That code & quote are a post I made when I added basic support for Action Chains.
I don't see anything in the Action Chains thread about this recently, so I don't know what capink may have said about it. There's some discussion from 2021 about action_chains.py, but at the time it was called "Experimental". If there's a post declaring it no longer experimental, I didn't find it. |
Advert | |
|
07-01-2024, 03:53 PM | #9708 |
Custom User Title
Posts: 9,328
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It's in this thread: https://www.mobileread.com/forums/sh...=341497&page=5
|
07-01-2024, 04:27 PM | #9709 |
Plugin Developer
Posts: 6,555
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Version Released
Version 4.36.0 - 2024-07-01 - Built-in Event For Action Chains plugin - Catch bad href searches during internal link anchor search. - adapter_spiritfanfictioncom: use_basic_cache:true - adapter_spiritfanfictioncom: Cheesy fix for py2 not knowing %z in dates. - New Site: SpiritFanfiction.com Portuguese language site (#1078) thanks kilandra - XF2: SB/SV changed the header for thread_status - adapter_ficbooknet: adapter_ficbooknet: Better fixes for py2 from dbhmw - adapter_ficbooknet: Fix breakage for proxies & add covers #1077 - #1076, thanks dbhmw Hopefully I don't regret including this last minute change. |
07-01-2024, 11:37 PM | #9710 | |
Wizard
Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
The Experimental part has to do with the second modules aspect. This part of the API is not used in any of my plugins, and I am not sure it is currently implemented in the best possible way. I've updated the post to differentiate between the two. Last edited by capink; 07-01-2024 at 11:55 PM. |
|
Advert | |
|
07-02-2024, 01:05 AM | #9711 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2020
Device: none
|
Bit of a strange request. I have a bunch of ao3 HTML files. The author deleted his stories from the ao3 website, but before deleting he downloaded his stories in the html format, which he provides as an archive.
I'd like to convert them to EPUBs, formatted in the classic FanFicFare way. Is there a way I can feed the html files to fanficfare and have it convert them for me? Maybe through the CLI? If the code needs to be modified, I'm decent at coding, so if you could provide even a brief roadmap, I'll try my hand at it. |
07-02-2024, 07:11 AM | #9712 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Jun 2024
Device: Koba Aura
|
Quote:
|
|
07-03-2024, 05:09 PM | #9713 | |
Plugin Developer
Posts: 6,555
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Example: Code:
[teststory:1000] ## Add additional sections with different numbers to get different ## parameters for different story urls. ## test1.com?sid=1000 # note the leading commas when doing add_to_ with valid_entries and *_list add_to_valid_entries:,favs title:Testing New Feature {{storyId}} author_list:Bob Smith authorId_list:45 authorUrl_list:http://test1.com?authid=45 datePublished:2013-03-15 dateUpdated:2013-04-15 numWords:1456 favs:56 series:The Great Test [4] seriesUrl:http://test1.com?seriesid=1 rating:Tweenie category_list:Harry Potter,Furbie,Crossover,Puella Magi Madoka Magica/魔法少女まどか★マギカ,Magical Girl Lyrical Nanoha genre_list:Fantasy,Comedy,Sci-Fi,Noir warnings_list:Swearing,Violence characters_list:Bob Smith,George Johnson,Fred Smythe chapter_urls: file://....,Chapter 1 Title file://....,Chapter 2 Title file://....,Chapter 3 Title |
|
07-03-2024, 10:08 PM | #9714 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2024
Device: Kidler
|
Gracias
Quote:
|
|
07-04-2024, 10:55 PM | #9715 |
Custom User Title
Posts: 9,328
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
[archiveofourown.org] add_to_keep_html_attrs:,title,align,blockquote,div [https://archiveofourown.org/works/55777813] strip_chapter_numbers: true add_to_keep_html_attrs:,title,blockquote,div keep_empty_tags:td,th EDIT: Also, a separate issue - upon downloading any fanfics from this site, it doesn't seem to be picking up the category, only the extracategory defined in defaults.ini (and if I blank it out in personal it results in no categories). Is this something intended or the adapter not working as expected? Last edited by ownedbycats; 07-05-2024 at 03:14 AM. |
07-05-2024, 01:09 PM | #9716 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle paperwhite
|
Quote:
|
|
07-05-2024, 02:08 PM | #9717 | |
Well trained by Cats
Posts: 30,392
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
AND Next to the image filename (both are required to be a books 'Cover' |
|
07-06-2024, 02:10 AM | #9718 |
Junior Member
Posts: 9
Karma: 10
Join Date: Mar 2014
Device: kindle/calibre
|
Fanfiction.Net Gives Me Trouble
I had hoped this latest version would help me update the stories I follow on fanfiction.net. Unfortunately, I have only more errors. First I got an error saying:
"HTTP Error in FFF '403 Client Error: Forbidden for url:https://www.fanfiction.net/s/126004882/1/'(403)." So I changed my browser to Firefox and changed the browser_cache_path to: Spoiler:
Last edited by theducks; 07-06-2024 at 11:53 AM. Reason: SPOILER LOG files |
07-06-2024, 10:05 AM | #9719 |
Member
Posts: 22
Karma: 10
Join Date: Sep 2017
Device: iPad/Kindle App
|
Hi, ever since the last update I'm having issue with FFF+SOL site. Whenever I've added or updated books to my library. FFF is adding an " 's Page" to the end of the author name metadata (ie: John Doe's Page)
second issue (not relating to last update) whenever I'm updating an anthology from SOL. FFF is using multiple urls for single book ie: from https://<sol>/a/pars001 sol/s/13452/killing-time sol/s/13452 sol/s/12893/plain-joe sol/s/12893 sol/s/12715/the-mission sol/s/12715 sol/s/17757/times-like-these sol/s/17757 Thanks Last edited by MrKonan; 07-06-2024 at 10:12 AM. |
07-07-2024, 10:23 AM | #9720 | |||
Plugin Developer
Posts: 6,555
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Multi-reply
Quote:
Quote:
Quote:
|
|||
Tags |
fanfiction |
Thread Tools | Search this Thread |
|
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 |