![]() |
#2746 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I suspected that once you mentioned long text columns. However, I didn't see your issue when I tried it.
I'd approach it by disabling display of the long text column in Calibre Preferences -> Look & Feel -> Book Details |
![]() |
![]() |
![]() |
#2747 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Oct 2016
Device: Kobo
|
webnovel.com is back to not working.
|
![]() |
![]() |
![]() |
#2748 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2018
Device: android
|
![]()
webnovel.com not working please try to fix it ... thanks
|
![]() |
![]() |
![]() |
#2749 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#2750 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2018-06-05 - Fixes for adapter_webnovelcom for site changes. I've corrected the two faults I found. Kind in mind you should always include (SFW) story URLs when reporting issues if you want to make sure I see the same problems you do. |
![]() |
![]() |
![]() |
#2751 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2018
Device: android
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#2752 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 2828
Join Date: Dec 2016
Device: none
|
Hello. I have a question about metadata normalization (replace_metadata, etc).
Is there a valid syntax for adding data to a metakey with a conditional check on another key? Sort of moving/transforming metadata between keys? Some of my searching here and my personal knowledge of programming implies that this is possible. However, I can't seem to make it work. Yes, it does work if I actually search for something particular that I know is there for a particular fic; but it mysteriously fails if the pattern matches anything at all, which is needed to blindly add data. I suppose I can manually add to each adapter file a magic number to search on, which is then removed via exclude_metadata_post. ... Well, that seemed like it worked but failed the full test. I added a magic value to the plugins's adapter file, and replace_ can use that to search on before it's cleaned up via exclude_post. However, I'm not sure but it seems that replace_metadata cannot find temporary (data not already on disk, read from website, but then exclude_post before write to disk) conditionalkey values, which... is rather odd. Is this working as intended? |
![]() |
![]() |
![]() |
#2753 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@cryosaur -- Can you give a concrete example of exactly what you want?
IE, story URL, and what text you want added to which metadata entry based on what value of what other metadata entry? |
![]() |
![]() |
![]() |
#2754 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2018-06-06 - Add status to webnovelcom (#306) - Thanks, rikkitp |
![]() |
![]() |
![]() |
#2755 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Thank you for this plugin. It's wonderful.
A thought just occurred to me (sorry). Is it possible to show (somehow) the number of chapters in a downloaded fic? |
![]() |
![]() |
![]() |
#2756 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() It depends on where you mean. I have a (numeric) Custom Column created in Calibre that I fill with the number of chapters. See FanFicFare Config, Custom Columns tab after creating the column in Calibre and restarting. |
|
![]() |
![]() |
![]() |
#2757 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 123430
Join Date: Jun 2018
Device: none
|
Hello, I'm having a problem downloading stories from inkbunny,net.
I'm using the Calibre plugin, and every story throws a list "index out of range" error. Also, I don't know if this is related to the problem or not, but inkbunny.net now uses https://inkbunny.net/s/1234567 as the default URL format instead of https://inkbunny.net/submissionview.php?id=1234567 The older format still works and loads the correct page in a browser, but it has at least broken the finding URLs on a page feature. What I had to do was find the 171 URLs I wanted manually, put them in notepad and use find and replace to change the URL format. FanFicFare then recognized the URLs as valid, but doesn't seem to be able to actually get the files off of them. Like I said, both URL formats still work in a browser, but there might be a deeper change messing up FanFicFare. |
![]() |
![]() |
![]() |
#2758 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
That's what I meant! Jim - you are a gem! Thank you.
|
![]() |
![]() |
![]() |
#2759 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 2828
Join Date: Dec 2016
Device: none
|
Alright. I was not going to even bother submitting the earlier post as it was sort of a complaint that my idea of metadata normalization wasn't supported, but then I ran into what appears to be a bug.
Spoiler:
|
![]() |
![]() |
![]() |
#2760 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@cryosaur -
First off, I'll tell you the same thing I tell everyone trying to normalize AO3 metadata: it's going to be a lot of work and it's never going to be perfect as long as AO3 allows authors to enter whatever they want. As for the possible bug: The way it works is that include/exclude_pre then replace_metadata then include/exclude_post are applied to each metadata entry as it's used, not all metadata as a whole. So when you use warnings in a conditional clause, the pre, replace_metadata and post lines for warnings are applied to it before it is used. I can see where that fact is non-intuitive. I'm going to look at the wiki pages and add some documentation about that. There are ways to accomplish what you want even with that limitation: Create a new metadata entry containing a copy of warnings that isn't edited for conditionals: Code:
# Partial solution [archiveofourown.org] add_to_extra_valid_entries:,rawwarnings include_in_rawwarnings:warnings.NOREPL add_to_replace_metadata: freeformtags=>(.*)=>\1\,Violence&&rawwarnings=>Graphic Depictions Of Violence exclude_metadata_post: warnings==Graphic Depictions Of Violence IMO, it's better the create a new metadata entry containing a copy of warnings that you apply your edits and filters to that you include in freeformtags: Code:
# More complete solution [archiveofourown.org] add_to_extra_valid_entries:,abbrevwarnings include_in_abbrevwarnings:warnings.NOREPL include_in_freeformtags:freeformtags,abbrevwarnings add_to_replace_metadata: abbrevwarnings=>^Graphic Depictions Of Violence$=>Violence abbrevwarnings=>^Major Character Death$=>Death include_metadata_post: abbrevwarnings==Violence abbrevwarnings==Death exclude_metadata_post: warnings==Graphic Depictions Of Violence warnings==Major Character Death Last edited by JimmXinu; 06-08-2018 at 10:41 PM. Reason: typo |
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
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 |