03-20-2017, 05:47 PM | #1891 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2017
Device: iPad
|
Here is the log file under Debug mode.
|
03-20-2017, 10:06 PM | #1892 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
The log shows that the code went into an infinite loop because it couldn't find what it was looking for on the author's pages.
This is due to a 'skin' issue. Many sites have more than one skin or theme. Sometimes, the changes are enough to prevent FanFicFare from working. FanFicFare only supports the default theme in such cases. (With 140+ sites supported it's just not practical to also support multiple versions of each site.) @Hawf, change your theme in your account settings on storiesonline.net back to 'Classic' and it should work again. @davidfor, would you mind taking a look at the loop that starts at adapter_storiesonlinenet.py:196 while you're looking at the metadata code? There has to be a safer way to do that. I'll look into it after you're done if you'd rather not. |
Advert | |
|
03-20-2017, 10:49 PM | #1893 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Yes, I'll fix it. |
|
03-20-2017, 11:00 PM | #1894 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
03-21-2017, 07:26 AM | #1895 |
Zealot
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
A quick metadata question:
Spoiler:
None of these seem to be effective for this link: https://www.fanfiction.net/s/10973514/1/[1] Even though the very same works perfectly well for other stories, for example: https://www.fanfiction.net/s/11587351/1/[1] or https://www.fanfiction.net/s/11519317/1/[1] What exactly am I overlooking? I mean, I've even stripped the ini from everything else, and online regex testers tell me there is nothing wrong with these regexes, excessive though they may be. Any one of these should work but doesn't. I've attached debug log. |
Advert | |
|
03-21-2017, 12:27 PM | #1896 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Would it be possible to collect the likes from the stories from dark-solace.org
Here's an example: http://dark-solace.org/elysian/viewstory.php?sid=2473 |
03-21-2017, 01:39 PM | #1897 | ||
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
You can explicitly add those genre to that story like this: Code:
[https://www.fanfiction.net/s/10973514/1/] extragenres:Alternate Universe - Time Travel,Time Travel Quote:
|
||
03-21-2017, 03:57 PM | #1898 | |
Zealot
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Quote:
You're completely right, at that point manual adding is easier, no contest, and it's what I prefer. I simply wanted to make sure there wasn't something fundamental I'd somehow screwed up, and if I hadn't asked the question would have nagged at me, because of course I can't see the forest for the trees. Anyway. Thank you kindly, Jim! |
|
03-22-2017, 01:10 AM | #1899 |
Enthusiast
Posts: 26
Karma: 96
Join Date: Dec 2013
Device: Kindle Paperwhite (2nd Gen.)
|
Breaking change on fimfiction.net
Jimm-
fimfiction.net is now enforcing https for all urls, breaking the current adapter. I tried a simple find/replace on the adapter file (see attached), but stories seem to be taking a much longer amount of time to download than they used to. Much more so than I would have expected from any TLS overhead. For instance this: https://www.fimfiction.net/story/325814/ took over 5 minutes to download, where before I would have expected it to take a minute or two. Is that something to be expected with a change like this, or could something else be broken as a result of the site change? |
03-22-2017, 11:39 AM | #1900 | |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New test version posted
2017-03-22 - Change http to https for FimF - thanks baggins41 - Update translations. - Remove defunct sites portkey.org and psychfic.com - Bump test version. Quote:
It could be TLS overhead, or it could be the site imposing a deliberate slow down. Or maybe they made other changes at the same time that are using more cycles. |
|
03-26-2017, 01:10 AM | #1901 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The only problem I have the cover image. I don't like including it and have to add some code to process it properly. The cover image will already be retrieved if you have that option turned on, but it isn't being displayed anywhere in the book. The other thing I noticed while doing this is that a lot of the styles don't show as the default used by FFF doesn't include them. I have grabbed the stylesheet from the site and cut out all the styles that don't make it to the epub. I'm not sure whether to include this as the default styles for the site in the plugin. If you want to try and see if it does improve the downloaded books, here it is. Just add all of into the personal.ini. Spoiler:
|
|
03-26-2017, 02:04 PM | #1902 | |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
I generally lean towards uniformity of output more. (To the point I DeDRM my boughten books so I can edit them to match FFF output.) However, since I don't read storiesonline.net, I don't have a feel for how important these styles may be. Opinions welcome. davidfor: Be aware of replace_tags_with_spans. That's the mechanism that deals with <u> etc tags that epub doesn't include. Also, I'd be more inclined to use add_to_output_css, so existing more general customizations are still applied. |
|
03-26-2017, 08:32 PM | #1903 | ||||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I do have a plugin I have written to do some common processing on stories downloaded using FFF and some other sources for epubs. Among other things, it replaces the stylesheet with my standard one. That's why I haven't really noticed the lack in the standard one in FFF. I still end up editing most and do a spelling check on them while I am at it (and I really wish authors would learn the difference between "discrete" and "discreet"). Quote:
Quote:
Quote:
There are two things I have thought about because of the stylesheets, but don't see. One is an "include" function to read an externally stored stylesheet. The main reason for this is to keep the personal.ini size down. But, editing the stylsheet another editor such as Notepad++ is easier. And if you want to use the same stylesheet for two sites, you don't need to have separate copies in the personal.ini. The other is a "user site stylesheet" option. The storiesonline stylesheet would work in an FFF created epub. There would be a lot of extra styles, but, nothing getting in the way of the book. |
||||
03-27-2017, 12:46 PM | #1904 | |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Including from a file raises issues with different OS file names and FFF versions (plugin vs CLI), but no worse than default_cover_image and it would be straightforward. I could also see this being used with http for sharing stylesheets. Pulling stylesheets from the sites seems prohibitively complex. A page can include many stylesheets (including common ones like jquery-ui) as well as on-page styles. And each site can use some different combination. And then there's different site themes/skins which already causes problems sometimes. |
|
03-27-2017, 01:46 PM | #1905 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I have URL columns for Author and Story (not the same column), it's comments-columns.
Is it possible to make the URL's clickable instead of just plain-text? Thanks |
Tags |
fanfiction |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 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 |