![]() |
#991 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New test version (direct link)
2016-02-02 Fix for portkey.org--Don't use cache on first hit in case added adult cookie. Add (partial) translations for Estonian and Norwegian Bokmål |
![]() |
![]() |
![]() |
#992 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2016
Device: Calibre on Windows 10/Xperia Z2
|
Hey,
I'm getting: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)> while trying to download anything from storiesonline.net. Why? Newest Calibre with newest FanFicFare (available from plugins menu in Calibre) on Windows 10 x64. Any help is appreciated ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#993 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
SSL problems are generally not the plugins fault. On windows they tend to be issues with the OS cert base. Take a look at the solution from this earlier report of a similar problem. |
|
![]() |
![]() |
![]() |
#994 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Hello Jim!
I was wondering if the 'title-sorting' option does not work for me because of my language setting in calibre. (Sorry if this not what it is really called, as I am using the German language version. It's in the basic options of FFF, together with the 'author-sorting'.) When I download English fiction, a story called 'A Wolf to Potters' stays as it is, while a story called 'Das Vermaechtnis des Severus Snape' is - correctly - changed into 'Vermaechtnis des Severus Snape, Das'. Is there a way to get FFF to sort the English titles too, without having to change the calibre language setting? Examples: German story English story Thank you! |
![]() |
![]() |
![]() |
#995 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Look in Calibre Preferences, under Tweaks, search for per_language_title_sort_articles. That is a data structure that defines what words are "articles" for sort strings in different languages. The comment associated with it says that By default, calibre uses a combination of articles from English and whatever language the calibre user interface is set to. However, in practice it doesn't seem to do that. I suspect the comment is out of date. I found that by copying the English articles(A,The,An) to the 'deu' settings does what you want. See below: Code:
# Set the list of words considered to be "articles" for sort strings per_language_title_sort_articles = {'afr': ("'n\\s+", 'Die\\s+'), 'nld': ('De\\s+', 'Het\\s+', 'Een\\s+', "'n\\s+", "'s\\s+", 'Ene\\s+', 'Ener\\s+', 'Enes\\s+', 'Den\\s+', 'Der\\s+', 'Des\\s+', "'t\\s+"), 'por': ('A\\s+', 'O\\s+', 'Os\\s+', 'As\\s+', 'Um\\s+', 'Uns\\s+', 'Uma\\s+', 'Umas\\s+'), 'ron': ('Un\\s+', 'O\\s+', 'Ni\xc5\x9fte\\s+'), 'hun': ('A\\s+', 'Az\\s+', 'Egy\\s+'), 'spa': ('El\\s+', 'La\\s+', 'Lo\\s+', 'Los\\s+', 'Las\\s+', 'Un\\s+', 'Una\\s+', 'Unos\\s+', 'Unas\\s+'), 'swe': ('En\\s+', 'Ett\\s+', 'Det\\s+', 'Den\\s+', 'De\\s+'), 'ita': ('Lo\\s+', 'Il\\s+', "L'", 'La\\s+', 'Gli\\s+', 'I\\s+', 'Le\\s+'), 'fra': ('Le\\s+', 'La\\s+', "L'", 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+', 'De\\s+La\\s+', 'De\\s+', "D'"), 'eng': ('A\\s+', 'The\\s+', 'An\\s+'), 'tur': ('Bir\\s+',), 'deu': ('A\\s+', 'The\\s+', 'An\\s+', 'Der\\s+', 'Die\\s+', 'Das\\s+', 'Den\\s+', 'Ein\\s+', 'Eine\\s+', 'Einen\\s+', 'Dem\\s+', 'Des\\s+', 'Einem\\s+', 'Eines\\s+'), 'ell': ('O\\s+', 'I\\s+', 'To\\s+', 'Ta\\s+', 'Tus\\s+', 'Tis\\s+', "'Enas\\s+", "'Mia\\s+", "'Ena\\s+", "'Enan\\s+")} |
|
![]() |
![]() |
Advert | |
|
![]() |
#996 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Thank you Jim! Added the code, tested it, and it works.
![]() (Doing the title-sort on existing books manually, as you showed on your screenshot, has worked even before changing the code - I was just too lazy to do it manuallly all the time.) |
![]() |
![]() |
![]() |
#997 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
I was glancing through the storiesonline section of the plugin, and ran across this:
(lines 319-327) Code:
status = lc4.find('span', {'class' : 'ab'}) if status != None: self.story.setMetadata('status', 'In-Progress') if "Last Activity" in status.text: # date is passed as a timestamp and converted in JS. value = status.findNext('noscript').text self.story.setMetadata('dateUpdated', makeDate(stripHTML(value), self.dateformat)) else: self.story.setMetadata('status', 'Completed') now... Completed works fine, but I does not set In-Progress (and incomplete would be nice as well) it always seems to leave anything as either complete or blank am i reading this wrong? Last edited by fathertyme; 02-09-2016 at 04:09 AM. |
![]() |
![]() |
![]() |
#998 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
No, you are not reading it wrong. But, it seems to be working correctly here. I tested a few stories and they all ended up with either "Completed" or "In-Progress" as a tag.
Do you have some samples that it fails for? As to the incomplete, I agree. From memory, the plugin uses "Completed" or "In-Progress" tags, but nothing that I could use for incomplete. |
![]() |
![]() |
![]() |
#999 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
When a book doesn't have a cover, I like to use the calibre-generated one, but if the book is part of a series (the default subtitle template shows the series) then the cover is off.
The series manually set in callibre is respected. The cover generated by FFF evaluates the subtitle to: "series [series_index] - 0" The cover generated immediately afterward by calibre ==> Edit metadata evaluates the subtitle to: "series - formatted_series_index" (uses roman numerals) So it looks like a) it is including the series_index in the value of the series itself, and b) it isn't using the usual template (either the default or the user-set one) |
![]() |
![]() |
![]() |
#1000 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
OK, I removed and then re-downloaded the following:
http://storiesonline.net/s/12770 upon completion, status was blank. I have made VERY few changes to the config (basically just passwords/logins) |
![]() |
![]() |
![]() |
#1001 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
As for a third 'Incomplete' state, again, I need examples (and an explanation why it's different from In-Progress). FFF generally assumes that In-Progress and Completed are the only status states. But there are a (very) few sites (FimF for example) that have additional status states. (While looking at this I found a couple adapters that use 'In Progress' with no '-'. Will correct in next version.) Last minute addition. I see the In-Progress status fine: Re: http://storiesonline.net/s/12770/ever-and-always Ever and Always by Banadin Title: Ever and Always Genre: Drama Status: In-Progress |
|
![]() |
![]() |
![]() |
#1002 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Thanks for pointing that out. New test version posted (direct link) 2016-02-09 Add automatic adding of unrecognized metadata in base_efiction. For tgstorytime.com. Fix 'In Progress' to 'In-Progress' in fanfiktion.de & ficbook.net like all the others. Fix for Calibre generated covers. Update translations. |
|
![]() |
![]() |
![]() |
#1003 | ||
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
Quote:
example: http://storiesonline.net/s/54078 Quote:
|
||
![]() |
![]() |
![]() |
#1004 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Opinions? My inclination is to go with Incomplete and Inactive except that other statuses are single word. |
|
![]() |
![]() |
![]() |
#1005 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
I've been manually setting those as "Incomplete" tho "Abandoned" would be more precise
|
![]() |
![]() |
![]() |
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 |