12-12-2015, 04:36 PM | #811 |
Plugin Developer
Posts: 6,329
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Here's another New Test Version (direct link).
2015-12-12 - Add keep_html_attrs feature - deprecates keep_style_attr and keep_title_attr. - Add replace_tags_with_spans feature. These should help with edeniz's 'big' problems. Note that I changed my mind about keep_align_attr and instead added a generalized keep_html_attrs param. From defaults.ini: Code:
## Some attributes cause problems for EBook readers. By default, ## FanFicFare will remove all attributes except the ones specified ## from all tags. (The only exception is that <img> tags will also ## keep src, alt and longdesc attributes.) ## Example: To add 'style', 'title' and 'align' to the list to keep, ## in your personal.ini [defaults] put: ## add_to_keep_html_attrs:,style,title,align keep_html_attrs:href,name,class,id ## Tags listed here will be replaced with <span class="tagname">. ## For example: <u>underlined text</u> becomes ## <span class="u">underlined text</span> ## Note that the output_css should contain the class .u, .big, etc for ## the spans to be useful. ## This feature is for replacing old tags deprecated/removed in newer ## HTML and EPUB standards. replace_tags_with_spans:u,big,small Code:
## This is what I've added to defaults.ini: output_css: ... .u {text-decoration: underline;} .big { font-size: larger; } .small { font-size: smaller; } |
12-12-2015, 08:54 PM | #812 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Who knows why they have one of the stupidest naming schemes ever. But they've done worse, if you check the earlier releases it has been at version "0.11.1ish" |
|
Advert | |
|
12-14-2015, 09:23 AM | #813 |
Evangelist
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Title Page
Is there a way to only update the Title Page? Or conversely, NOT update the Title Page?
It's not a big deal, just looking into if something like that already exists. Let me know if you need examples why ~ I started to include examples, but it was looking like a novel... |
12-14-2015, 10:59 AM | #814 | |
Plugin Developer
Posts: 6,329
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
The title page is updated any time the epub is updated, either with 'Update EPUB if New Chapters' or 'Update EPUB Always'. However, if there aren't any new chapters, 'Update EPUB Always' will update the title page. If you uncheck 'Update Calibre Metadata?' then it's effectively updating title page only. If here are new chapters and you don't want them, you could fake it by setting title_chapter_range_pattern:${title} and then doing 'Update EPUB Always' using the URL with an explicit chapter range. Like: http://site.com/story/1234[-14] You can update Calibre Metadata without touching the title page using the 'Update Calibre Metadata from Web Site' and 'Update Calibre Metadata from Saved Metadata Column' options. But that won't update the epub chapters. If you set include_titlepage:false and update an epub the title page will be removed. The only way I can think of keeping title page but not updating it while updating chapters is to manually rename OEBPS/title_page.xhtml inside the epub before doing an update with include_titlepage:false. That's the best I can tell you without knowing what you're trying to accomplish in more detail. |
|
12-14-2015, 11:39 AM | #815 | |||
Evangelist
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
Quote:
Quote:
I'll try to be concise with my examples, and not make them too long. Title Page only: I have old(er) fics that I added before I found FFF (and previous FFDL), so they don't have a Title Page as such. I have edited the content to my liking, so would not want to overwrite everything and still add the Title Page. Your example, which I wouldn't have thought to try, sounds like it would work for this. As long as nothing else in the fic changes, I'm good. Not Title Page: This one is more because I don't understand how to adjust the fandom and pairings in my personal.ini so they only show 1 on the title page. I've read the posts, explanations and suggestions, but for some reason I can't grasp how to take 4 lines of different characters funnel it down to the basic pairing, or change the fandom name (or 2 fandom names when crossover) down to my preference. I had just hoped that for those fics (AO3 generally - which I don't have a ton of), it would be easier for me to just skip the title page once I have it as I like it. Later I might come at the problem with fresh eyes and actually understand how to change my personal.ini to do that. |
|||
Advert | |
|
12-14-2015, 12:01 PM | #816 | |
Zealot
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Quote:
|
|
12-14-2015, 12:35 PM | #817 | ||
Plugin Developer
Posts: 6,329
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Definitely make backup copies and test it before trying this. Quote:
If you have a custom column(s) that you put your preferred info in, there's a setting on the personal.ini tab ('Pass Calibre Columns into FanFicFare on Update/Overwrite') you can check. Then click the 'Show Calibre Column Names' button to see the injected column names to copy-paste into personal.ini as part of titlepage_entries or add_to_titlepage_entries to include them in the title page. |
||
12-14-2015, 01:04 PM | #818 | ||
Evangelist
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
Quote:
I'll definitely see if that other suggestion works. Rename Title_page, then after the update, just delete the new Title Page created. It will actually be quicker than anything else I could try...I'll just test it out next time I have to update a fic, then I'll know for the future. Thanks so much! |
||
12-14-2015, 09:54 PM | #819 |
Member
Posts: 16
Karma: 66
Join Date: Dec 2015
Device: Kobo Glo HD
|
storiesonline.net is at it again
I am unable to download from storiesonline once again... getting the error:
'NoneType' object has no attribute 'text' Here is one of the url's I tried...: http://storiesonline.net/s/12085 |
12-15-2015, 04:48 AM | #820 |
Member
Posts: 18
Karma: 10
Join Date: Dec 2008
Device: BQ
|
Same problem here.
Storiesonline is not allowing me to update in-progress stories nor download from URL. |
12-15-2015, 07:07 AM | #821 | |
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:
Code:
score = lc2.findNext('th', {'class' : 'ynum'}).text |
|
12-15-2015, 01:01 PM | #822 |
Plugin Developer
Posts: 6,329
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New test version (direct link).
2015-12-15 - Fix for yet another storiesonline.net site change. Thanks davidfor for figuring it out for me. Since there haven't been reports of problems with the BS4 transition, I'll probably make a new official release later this week. |
12-16-2015, 06:56 AM | #823 |
Junior Member
Posts: 7
Karma: 10
Join Date: Aug 2013
Device: Kindle PW, iPad
|
Using the latest test version I am experiencing problems downloading multi-chapter stories from https://www.literotica.com.
It seems to only download the first chapter and does not pick up on the rest, here is one of the url's I have tried https://www.literotica.com/s/an-experiment-3. |
12-16-2015, 08:44 AM | #824 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I don't suppose that it would be possible to add a way to add the links from either "favorites" or "follow" on the Fanfiction.net site?
The ones that are shown in the "Alert" section. |
12-16-2015, 08:50 AM | #825 | |
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:
Code:
Line 161: if urlTr['class'][0] == "sl": Line 178: while seriesTr['class'][0] != 'ser-ttl': Line 188: while chapterTr is not None and chapterTr['class'][0] == 'sl': |
|
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 |