![]() |
#1591 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
I think the answer to this one is going to be no, but I figured I'd ask anyway. Would it be possible to add the Sylum Manor Archive? It is password protected, but the format is the same as ksarchive.com
|
![]() |
![]() |
![]() |
#1592 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Googling for "Sylum Manor Archive", the first link isn't a fanfic site, and I don't obviously see one in the first page of results. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1593 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Even though this site is on the list, it can't find the stories when I insert an URL.
http://www.storiesofarda.com/index.asp?pagenum=200 I get the following error: PHP Code:
|
![]() |
![]() |
![]() |
#1594 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
|
|
![]() |
![]() |
![]() |
#1595 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thanks.
|
![]() |
![]() |
Advert | |
|
![]() |
#1596 | |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
Quote:
This is the main website - http://www.sylumclan.com/. That is password protected, and then the link to the archive once you have logged in is http://www.sylumclan.com/SylumManor/...hive/index.php |
|
![]() |
![]() |
![]() |
#1597 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New test version posted (direct post)
2016-10-31 - Fix to handle incorrect HTML better in Get URLs from Page. (FYI, I did try updating the embedded BeautifulSoup and html5lib--not only did they not fix the problem, they caused other problems. So no updates.) Happy Halloween! ![]() Quote:
|
|
![]() |
![]() |
![]() |
#1598 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
So you were right the first time--the answer is 'no' because that alone means it would need extra new code. (And the site doesn't even tell you what it's for... ![]() |
||
![]() |
![]() |
![]() |
#1599 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
Okay, thanks for letting me know - figured it didn't hurt to ask! I was being a bit greedy - your plugin already does so much!
|
![]() |
![]() |
![]() |
#1600 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Hi. Recently you fixed the growing white space problem at the beginning and end of chapters when updating. This is great. The only problem I have is that it removes the line I DO want there.
I have an empty line at the top of the page, between the closing title tag (not title, actually but the </h3> tag) and the first <div....> tag. I have that there for clarity when editing, but it keeps getting removed now. I can do a general S&R to replace it, as I was doing to remove the excess before, but I figured I'd check see if anything can be tweaked on your end first -- or if you can suggest a tweak I can add to personal.ini to take care of it. Not a big deal, but can't hurt to ask, the worst you can say is no! |
![]() |
![]() |
![]() |
#1601 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@MerlinMama - I don't see that using the default settings.
But I do see it using custom chapter_start settings, so I assume that you are using those. The INI config parser strips off trailing whitespace automatically whether we want it to or not. I've worked around it for a few other parameters by explicitly replacing \s with space once it's in my code. However, I can't do that for all parameters because it can be a legitimate part of a path or a regex. I'll think about it a bit, but I don't expect to have any brainstorms. In the meantime, you could add something to the end of chapter_start to separate the title from the chapter text. Code:
[epub]
chapter_start:<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${chapter}</title>
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
<meta name="chapterurl" content="${url}"></meta>
<meta name="chapterorigtitle" content="${origchapter}"></meta>
<meta name="chaptertoctitle" content="${tocchapter}"></meta>
<meta name="chaptertitle" content="${chapter}"></meta>
</head>
<body>
<h3>${chapter}</h3>
# (Leading whitespace is left alone, so chapter_end is easy.)
chapter_end:
</body>
</html>
|
![]() |
![]() |
![]() |
#1602 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
Edited: I added %(newline)s after my </h3>, since I already had that defined for my custom title_page settings. I tested it out and it works like a charm for me. Thanks for reminding me and sorry for bothering you! Last edited by MerlinMama; 11-02-2016 at 11:42 AM. Reason: Found solution |
|
![]() |
![]() |
![]() |
#1603 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#1604 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New test version posted (direct link)
2016-11-04 - Add strip_text_links INI param to allowed list for asexstories.com. - Change comments sanitization for calibre to be less draconic. - Fix author fetch for post URL base_xenforoforum. - Don't use 'uparrow' quote links as chapter links in base_xenforoforum. - Bump test version. |
![]() |
![]() |
![]() |
#1605 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New test version (direct link)
2016-11-06 - Adding remove_spoilers and legend_spoilers features and css example for spoilers for base_xenforoforum. - Bump test version. The way spoilers from the base_xenforoforum sites come out in ebook was bugging me. And rather than come up with one fix, I made three. The CSS way is the least intrusive; legend_spoilers changes the HTML and uses a nice looking trick I first saw in Who Needs Enemies; remove_spoilers removes them outright. And using story URL INI sections, you can change the settings for individual stories. Code:
[base_xenforoforum] ... ## base_xenforoforum sites sometimes have 'spoiler' blocks in ## posts. When viewed in a browser, the block is hidden until a button ## is clicked. eBook viewers can't handle that and the javascript is ## disabled. The remove_spoilers option, if uncommented, will remove ## spoiler blocks entirely. #remove_spoilers:true ## This option if uncommented, will put a box around the spoiler ## blocks with the original spoiler button text as a label using ## fieldset and legend HTML tags. For a simple box, see the ## add_to_output_css example for [base_xenforoforum:epub] below. #legend_spoilers:true [base_xenforoforum:epub] ## See remove_spoilers above for more about 'spoilers'. This example ## shows how to put a simple line around spoiler blocks. Uncomment ## all three lines, keep the leading space before .bbCodeSpoilerContainer. #add_to_keep_html_attrs:,style #add_to_output_css: # .bbCodeSpoilerContainer { border: 1px solid black; padding: 2px; } |
![]() |
![]() |
![]() |
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 |