![]() |
#256 | |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#257 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 33664
Join Date: Jun 2015
Device: kindle paperwhite
|
And this morning it worked fine, while it (and others) didn't for the last few weeks.
Thanks anyway. And yeah, I figured out the run in debug mode after posting - been looking in the plug in menu, not the main one. |
![]() |
![]() |
Advert | |
|
![]() |
#258 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Hello Jimm,
It's me again with a short question. I have this story here http://archiveofourown.org/works/4063606 and my personal.ini says Code:
sort_ships:true replace_metadata: ships=>^Loki.*/Steve.*$=>Loki/Steve ships=>Loki.*/Steve.*=>Loki/Steve ships=>^Steve.*/Loki.*$=>Loki/Steve ships=>Loki.*/Steve( Rogers)?=>Loki/Steve and anything inbetween I could think of. But it still does not work... Could you please help me - what am I doing wrong? |
![]() |
![]() |
![]() |
#259 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 2652
Join Date: Jan 2014
Device: Samsung Galaxy J2
|
Quote:
*This I mean Code:
ships=>^Steve.*/Loki.*$=>Loki/Steve Last edited by chrnno; 06-04-2015 at 05:58 PM. |
|
![]() |
![]() |
![]() |
#260 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Huawei Ascend Mate 7 with Mantano Reader, Kindle Paperwhite
|
Hi Jimm!
I've been using version 2.2.6 with no problems so far, but I have stumbled on a story that throws this error: Quote:
I haven't encountered this one before, I hope you can help me ![]() Thanks for all your good work! ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#261 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
You can download the rest of it using https://www.fanfiction.net/s/1180369/1/Choices[2-]. then, if you have a little bit of editing skill, you could use your brower's view source and Calibre's book edit feature to add the first chapter manually. It could also help you fix the HTML so it doesn't fail in your reader. |
|
![]() |
![]() |
![]() |
#262 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Hello Jimm
Thank you for the help! I fear that I did not express well what I was doing. I did not write all those tags beneath each other, but replaced the original expression with one after the other, each only one line at a time. And I always thought that because of the "sort ships" being on the top, it would first sort them alphabetically, and then below search for the line with Loki/Steve being corrected. So, should I always have two lines for each ship? Like this: Code:
replace_metadata: ships=>^Steve.*/Loki.*$=>Loki/Steve ships=>^Loki.*/Steve.*$=>Loki/Steve ships=>^Severus.*/Lily.*$=>Lily/Severus ships=>^Lily.*/Severus.*$=>Lily/Severus |
![]() |
![]() |
![]() |
#263 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Rather than lines for each ship (which will only break down when you inevitably start hitting trios/quads/orgies/harems), you could have one line for each name: Code:
replace_metadata: ships=>(^|/)(Steve)[^/]*(/|$)=>\1\2\3 ships=>(^|/)(Loki)[^/]*(/|$)=>\1\2\3 ships=>(^|/)(Lily)[^/]*(/|$)=>\1\2\3 ships=>(^|/)(Severus)[^/]*(/|$)=>\1\2\3 ## (^|/) beginning of line or a '/' ## (name) to have a \2 to save typing ## [^/]* anything except another / ## (/|$) '/' or end of line But it looks like what you really want is to only keep the first name of whomever. That can be done, too, but dealing with all three cases (start of line, middle and end of line) in one expression is... complex. (It has to do with overlapping matches.) Code:
replace_metadata: ships=>(?:^|(?<=/))([^ ,:]+)[^/]*(?=/|$)=>\1 ## (?:^|(?<=/)) non-capturing grouping of start-of-line or lookbehind matching / ## ([^ ,:]+) one or more chars until the first space, comma or colon ## [^/]* zero or more chars until / ## (?=/|$) lookahead matching / or end-of-line |
|
![]() |
![]() |
![]() |
#264 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
I'm sure I'm just missing something simple, but I can't see it right now.
When I add from fanfiction.net, I now get a cover image in the files that I don't want. I've changed all cover options (although I'm probably missing the one that will work) and it still shows up. I know that ffnet changed something recently, and you also made generating covers on by default, but I find this extremely annoying. I also saw once you recommended someone try adding code <skip_author_cover:false> so I tried that with the value true and still no help (I did use the entire code you provided, just didn't reproduce it here). Any help? What am I missing? |
![]() |
![]() |
![]() |
#265 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
[www.fanfiction.net] ## If set, the epub will never have a cover, even include_images is on ## and the site has specific cover images. never_make_cover: true |
|
![]() |
![]() |
![]() |
#266 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Thank you! I've created my own covers and prefer using those. Set in my ways for some things...
|
![]() |
![]() |
![]() |
#267 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Thank you very much Jimm!!
I simply copied your second solution which is exactly what I want (this is much too complex for me getting there by myself...) As I am very limited to the ships I follow, I have no fear of Doctor/Doctor happening ![]() |
![]() |
![]() |
![]() |
#268 |
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Oct 2013
Device: Kindle touch
|
found it!
Last edited by Ellachanted; 06-07-2015 at 11:31 PM. Reason: found it |
![]() |
![]() |
![]() |
#269 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Feb 2015
Device: none
|
Just noticed that I am getting this error when updating my stories from ffpad.
sequence item 0: expected string, int found And this one when I go to download a new story to my library. Is anyone else having this problem? Status Title Author Comment URL Bad Unknown Unknown sequence item 0: expected string, int found https://fictionpad.com/author/tufano79/stories/11113 |
![]() |
![]() |
![]() |
#270 | |
a toy panda
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,568
Karma: 26020474
Join Date: Mar 2014
Location: Onboard the Queen Anne's Revenge
Device: Various Android dvices
|
Quote:
|
|
![]() |
![]() |
![]() |
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 |