|
|
#181 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,116
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
However, you can disable that behavior in your personal.ini: Code:
[storiesonline.net] universe_as_series: true |
|
|
|
|
|
|
#182 | ||
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,116
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
It looks like storiesonline.net may have added a cover image feature--or we didn't know about it before. (I didn't write the code for this site and I don't read it.) Can you provide other examples of stories with covers like that--preferably from more than one author? I need a bigger sample set to insure it gets implemented correctly. Quote:
I don't know what 'flattened' means in this context. |
||
|
|
|
| Advert | |
|
|
|
|
#183 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
Quote:
what I am doing is: I erased the existing series name, and then did an "update existing fanfiction books" on the selected book Spoiler:
[edit] sorry about the code/spoiler tags, good catch.[/edit] [edit2] interesting note.. this does not affect NEW stories, just updates[/edit2] [edit3] in fact, deleting the current story 12057 and re-downloading it as new story works just fine. trying to updated it afterwords causes the tuple error again[/edit3] Last edited by fathertyme; 05-20-2015 at 10:20 PM. Reason: wrap the log in code and spoiler tags |
|
|
|
|
|
|
#184 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
Quote:
my problem is that once I manually set the image, I can't seem to keep it when the next update happens... I will try your suggestions tho (once I can update stories again. the current tuple error has me completely shutdown) as for "flattened" in this context, I meant that when I updated the book, the new cover that was shown was the first page of the book... [edit] Just checked I have the following cover options set (and have had) Update Calibre Cover (from epub): Yes, if epub has a cover image Generate Calibre Cover: Yes, unless FanFicFare found a cover Image plugin generate cover: selected [/edit] Last edited by fathertyme; 05-20-2015 at 10:14 PM. |
|
|
|
|
|
|
#185 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
Quote:
in other words, it should parse as: "A Kaire Story" and not get the "A universe from the mind of Ka Hmnd" statement at the end |
|
|
|
|
| Advert | |
|
|
|
|
#186 | |
|
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
|
Quote:
The series/universe thing was something I remember putting in and having a bit of trouble with. The complication is that a book could be in a universe (unordered) or a series (ordered). And a series could be in a universe. I thought I handled the three circumstances and allowed the calibre series to be set to either the universe or series name or to "universe.series". But, it sounds like the site has changed the formatting, and the universe/series name isn't being extracted correctly. I can have a look at these problems and fix them. But, it probably won't be until the weekend. |
|
|
|
|
|
|
#187 | ||
|
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
|
OK, I did have some time. Well, wanted to avoid doing other things
![]() Quote:
Quote:
The site appears to have changed from using HTML entities to using the character. The universe name was split from the description by looking for "& mdash;", but it now has the character. Changing line 262 from:Code:
universe_name = universe_soup.find('h1', {'id' : 'ptitle'}).text.partition(' —')[0]
Code:
universe_name = universe_soup.find('h1', {'id' : 'ptitle'}).text.partition('—')[0]
I can't reproduce the error fathertyme is seeing with http://storiesonline.net/s/12057. It might be a difference in options, but I don't know what to change. |
||
|
|
|
|
|
#188 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
Wish it was just http://storiesonline.,net/s/12057 but in fact all attempts to update stories from http://storiesonline.net meet the same error.
I can't answer if this is site specific |
|
|
|
|
|
#189 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,116
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I've posted a new test version with a fix. |
|
|
|
|
|
|
#190 | ||
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,116
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
## some sites include images that we don't ever want becoming the ## cover image. This lets you exclude them. cover_exclusion_regexp:/css/bir.png Quote:
If you don't mind, I'll leave the code for adding the cover to you(davidfor). I don't have a set of storiesonline.net stories to test with. |
||
|
|
|
|
|
#191 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
newest beta version works fine now, error is all gone *YAY*
still getting too much information in universe: test story: http://storiesonline.net/s/12057 |
|
|
|
|
|
#192 | ||
|
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
|
Quote:
Quote:
|
||
|
|
|
|
|
#193 | |
|
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
|
Quote:
|
|
|
|
|
|
|
#194 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,116
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
adapter_dramioneorg.py:178 Code:
self.setCoverImage(pageurl,imgurl) |
|
|
|
|
|
|
#195 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
|
|
|
|
|
![]() |
| Tags |
| fanfiction |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 01:36 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 |