09-18-2018, 03:34 PM | #2926 | |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
If English, run Calibre in debug, try again and post the log, please. |
|
09-19-2018, 06:22 AM | #2927 | |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Quote:
I don't know the coding but I would love to help, especially weed out some of those sentences that I (at least) find very confusing or annoying to contend with. I found this on their website: https://archiveofourown.org/wrangling_guidelines/2 If it can be coded, I would love to help with separating the tags like that, then it could be added into different columns in Calibre or simply left out if not needed. |
|
09-19-2018, 11:08 AM | #2928 |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Well, that's a post from 05-16-2015 for one thing. I don't find anything written in my notes, so anything I remember is suspect.
But I believe that I decided it was a sisyphean task and I didn't care enough. It would involve, at a minimum: - Generating the list of all 'canonical' tags (685,301 Found) - Fetching the page(s?) for each - Determining what do to with all the 'Tags with the same meaning' vs all the 'sub tags' - Are 'sub tags' also 'canonical'? - Sub tags can have sub tags... - Tags can be 'fandom', 'characters', etc - Tags can have 'parent' tags that are not of the same type example - Figuring out how and where to store all of the tag data (7,354,056 tags Found) - ...and update it... - ...and use it... Now factor in that each user is still going to have their own opinion about which tags are important and which aren't and how they should be presented... I know that in recent years I've taken to telling people that as long as AO3 allows anyone to write any tag they like, complete metadata consistency is going to be impossible. |
09-19-2018, 11:14 AM | #2929 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thanks for the considering, I just wished for a way to weed out all the run-on sentences or so instead of having to do it all manually Or simply keep what they call common-tags Shame they don't have a separate code for the "un-common" tags
|
09-19-2018, 02:07 PM | #2930 |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version Posted
2018-09-19 - Add 'date' chapter metadata to AO3. Closes #336 |
09-20-2018, 12:28 PM | #2931 |
Member
Posts: 11
Karma: 10
Join Date: Jan 2016
Device: Kindle paperwhite
|
change status based on the last time fic was updated
Hi there,
I'm trying to get Calibre to automatically change the "In-Progress" status to "Abandoned" based on the last time the fic was updated. I figure for simplicity's sake (and since I have no idea whether or not I could make this work for a specific number of months prior to whatever day I'm updating the fic), it would be easiest to say any time not in this year, and I can easily go in and change the year as needed. Included is the relevant portion of my ini file. I'm getting a 'need more than 1 value to unpack' error when I try to save. Code:
[archiveofourown.org] username: XXXXXXXXXXXXX password: XXXXXXXXXXXXX include_subject_tags:,characters,status,fandoms,freeformtags,ships,dateupdated [defaults] add_to_extra_valid_entries:,myships,mycharacters,rawcharacters,mytags,rawtags,myfandoms,mystatus,lastupdated include_in_mystatus:status include_in_lastupdated:dateupdated custom_columns_settings: mystatus=>#status lastupdated=>#updated replace_metadata: status=>In-Progress=>Abandoned&&lastupdated!=(.*)2018 I've also tried the following, based on adding "Oneshot" to the status if there is only one chapter. Code:
[archiveofourown.org] username: XXXXXXXXXXXXX password: XXXXXXXXXXXXX include_subject_tags:,characters,status,fandoms,freeformtags,ships,dateupdated [defaults] add_to_extra_valid_entries:,abandoned,myships,mycharacters,rawcharacters,mytags,rawtags,myfandoms,mystatus,lastupdated include_in_abandoned:status add_to_include_subject_tags:,abandoned include_in_mystatus:status include_in_lastupdated:dateupdated custom_columns_settings: mystatus=>#status lastupdated=>#updated replace_metadata: abandoned=>In-Progress=>Abandoned&&lastupdated!=(.*)2018 |
09-20-2018, 01:44 PM | #2932 |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
You have two problems.
First, you can't use != in replace_metadata. include/exclude have that, but not replace_metadata. Maybe someday. See https://github.com/JimmXinu/FanFicFa...eplaceMetadata However, you can emulate it with a negative look ahead regex. I confess I got it from Stack Trace Second, note lastUpdated (vs lastupdated). This works for me: Code:
[defaults] add_to_extra_valid_entries:,myships,mycharacters,rawcharacters,mytags,rawtags,myfandoms,mystatus,lastupdated include_in_mystatus:status include_in_lastupdated:dateUpdated custom_columns_settings: mystatus=>#status lastupdated=>#updated replace_metadata: status=>In-Progress=>Abandoned&&lastupdated=>^((?!2018).)*$ |
09-22-2018, 01:25 PM | #2933 | |
Member
Posts: 11
Karma: 10
Join Date: Jan 2016
Device: Kindle paperwhite
|
Thank you!
Quote:
Another question: is there a way to force the title column to use title case? For some reason, some AO3 authors think they're e.e. cummings. |
|
09-22-2018, 02:58 PM | #2934 | |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Well, I suppose there is a way, but it is also a bit less than 'reasonably correct', only works for English and similar languages and is ugly to boot: Code:
add_to_replace_metadata: title,author=>((^| )+)a=>\1A title,author=>((^| )+)b=>\1B title,author=>((^| )+)c=>\1C title,author=>((^| )+)d=>\1D title,author=>((^| )+)e=>\1E title,author=>((^| )+)f=>\1F title,author=>((^| )+)g=>\1G title,author=>((^| )+)h=>\1H title,author=>((^| )+)i=>\1I title,author=>((^| )+)j=>\1J title,author=>((^| )+)k=>\1K title,author=>((^| )+)l=>\1L title,author=>((^| )+)m=>\1M title,author=>((^| )+)n=>\1N title,author=>((^| )+)o=>\1O title,author=>((^| )+)p=>\1P title,author=>((^| )+)q=>\1Q title,author=>((^| )+)r=>\1R title,author=>((^| )+)s=>\1S title,author=>((^| )+)t=>\1T title,author=>((^| )+)u=>\1U title,author=>((^| )+)v=>\1V title,author=>((^| )+)w=>\1W title,author=>((^| )+)x=>\1X title,author=>((^| )+)y=>\1Y title,author=>((^| )+)z=>\1Z Some of those issues could be addressed with even more or more complex patterns. Those are left as an exercise for the reader. Or fix them individually when you find one that offends you. That's what I do; example: Code:
[https://archiveofourown.org/works/999999] add_to_replace_metadata: title=>.*=>Title as I think it Should Be |
|
09-22-2018, 05:43 PM | #2935 | |
Member
Posts: 11
Karma: 10
Join Date: Jan 2016
Device: Kindle paperwhite
|
capitalization
Quote:
I worried it would be something like that. Thanks! |
|
09-22-2018, 11:23 PM | #2936 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
09-23-2018, 06:18 PM | #2937 |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I could add options to apply the calibre fix title/author routines in the plugin. Or I suppose I could try and incorporate those routines in FFF to use in CLI and web service too.
Are there other users who would like that feature? And if so, how widely? Applicable to title/author only? Or to any metadata entry? |
09-24-2018, 01:30 PM | #2938 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2018
Device: Kobo Glo Hd
|
Quote:
There was a similar problem (underline) in the forum and you gave an answer. Code:
# keep style for all stories [defaults] add_to_keep_html_attrs:,style # keep style for all ffnet stories [fanfiction.net] add_to_keep_html_attrs:,style # keep style for story 7262793 only. [https://www.fanfiction.net/s/7262793/1/] add_to_keep_html_attrs:,style Thanks. Last edited by morsai; 09-24-2018 at 02:04 PM. |
|
09-27-2018, 03:12 PM | #2939 |
Plugin Developer
Posts: 6,526
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version Posted
2018-09-27 - Add fix calibre title/author cases options, move force title/author sort values to Standard Columns config Tab. New options for title & author on Standard Columns config Tab. These apply calibre.ebooks.metadata.sources.base.fixcase and calibre.ebooks.metadata.sources.base.fixauthors to title and author. These only effect the metadata in Calibre, not in FFF. Calibre's case fixing is actually quite complex due to different language localizations, so I'm not interested in adding it to FFF for CLI/web service. |
09-30-2018, 09:55 PM | #2940 |
Enthusiast
Posts: 26
Karma: 96
Join Date: Dec 2013
Device: Kindle Paperwhite (2nd Gen.)
|
Hey, Jimm- I've run into a minor annoyance lately. I was hoping you might be able to either point me in the direction of a setting I may need to change or fix it if there's a bug involved.
Lately, any time I download a single chapter story from FimFiction (e.g. this one), the chapter title is no longer displayed before the text in the resultant epub. The chapter title is present in the metadata and in the table of contents, but it doesn't show up as a header in the actual text at the start of the chapter, as it used to. I'm not sure precisely when it started (as I've been mostly downloading multi-chapter stories for the past few months). Looking through my Calibre library, I see stories that I downloaded at the end of July display the chapter title as an <H3> header at the start of the text, while stories I downloaded in the middle of August omit it. Chapter titles on these one-shot stories sometimes serve as a subtitle for the story as a whole and may even help set the mood of the piece to some degree, so it's a bit disappointing not to have them. Any help would in getting them back would be appreciated. |
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 |