Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2016, 12:24 AM   #1516
JDesat
Connoisseur
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 99
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
I'm very thankful to get a response from you so quickly, sadly I have to report bad news (at least on my end) I'm now getting doubles of every chapter. The first version has 'v' at the top followed by the chapter text, then it will be 'Chapter 1' followed by the same chapter text then again 'v', etc. But if you were able to make this adjustment so quickly, I'm hopeful this won't be too difficult for you to fix.

Thank you for your hard work, JimmXinu!

Last edited by JDesat; 10-02-2016 at 12:27 AM.
JDesat is offline   Reply With Quote
Old 10-02-2016, 12:36 AM   #1517
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JDesat View Post
I'm very thankful to get a response from you so quickly, sadly I have to report bad news (at least on my end) I'm now getting doubles of every chapter. The first version has 'v' at the top followed by the chapter text, then it will be 'Chapter 1' followed by the same chapter text then again 'v', etc. But if you were able to make this adjustment so quickly, I'm hopeful this won't be too difficult for you to fix.
I'm not seeing that problem--at least not with the story URL you posted before.

If it's a different story URL, you can PM it to me. Failing that, you could upload an example epub with the problem some where and PM me the link.
JimmXinu is offline   Reply With Quote
Old 10-02-2016, 01:40 PM   #1518
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JDesat View Post
I'm very thankful to get a response from you so quickly, sadly I have to report bad news (at least on my end) I'm now getting doubles of every chapter. The first version has 'v' at the top followed by the chapter text, then it will be 'Chapter 1' followed by the same chapter text then again 'v', etc. But if you were able to make this adjustment so quickly, I'm hopeful this won't be too difficult for you to fix.
I don't know why Desat is seeing extra chapters--I can but assume that they are using different settings on the site that I can't find that cause the site to show extra links.

Desat has sent me some epubs showing the problem and I've uploaded a test version that does include the previously missing chapters from the one example story URL of that problem while also not including the 'v' chapter URLs from the example epubs of that problem.

So; I believe I've fixed the problems reported. But I'm working from a very small sample set, so no promises.

New test version posted (direct link)

2016-10-02
- Another fix for unusual (changed?) chapter URLs on storiesonline.net.
JimmXinu is offline   Reply With Quote
Old 10-02-2016, 01:54 PM   #1519
JDesat
Connoisseur
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 99
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
This test version works great! Thank you for all the work you put into FFF, lots of us really appreciate it!
JDesat is offline   Reply With Quote
Old 10-04-2016, 10:05 PM   #1520
Vallora
Member
Vallora began at the beginning.
 
Vallora's Avatar
 
Posts: 12
Karma: 10
Join Date: May 2010
Device: Android (Moon Reader w/Calibre Companion)
I'm getting an error when downloading a specific story from whofic.com. The URL is http://www.whofic.com/viewstory.php?sid=16941 and the error that's coming up is "List index out of range". Is this an error on whofic's end or is there something that you can do? If it's whofic's error, I have a work around, just wanted to know why this one is having fits when the rest from the same person works fine. Thank you and thank you for this wonder plugin. My free time isn't happy, but I am. :-)
Vallora is offline   Reply With Quote
Old 10-04-2016, 11:08 PM   #1521
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Vallora View Post
I'm getting an error when downloading a specific story from whofic.com. The URL is http://www.whofic.com/viewstory.php?sid=16941 ...
That story has <br> tags in the story description that are breaking the metadata parsing.

That's a story from 2007, and I don't see any other stories on that site that have <br>s in the description--which would fail the same way. So I'm not inclined to spend a lot of time trying to fix it.

If you run across more stories with the same problem, let me know and I may reconsider.

Glad you like the plugin.
JimmXinu is offline   Reply With Quote
Old 10-05-2016, 09:01 AM   #1522
justkiddingornot
Junior Member
justkiddingornot began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2016
Device: none
Thank you very much for adding fictionhunt.com. You are a life(/FF-saver)-saver!
Already tried it and it worked (sans the limitation you already described). While the missing description is unfortunate, at the very least saving the actual story is now possible.

For all stories except the one I posted previously (http://fictionhunt.com/read/4838629/1).
You mentioned problems with the metadata. Upon downloading, or rather trying to, the log gives an "HTTP Error 500: Internal Server Error". The capters 1-53 seem to display normally on FH (54 does not show), but can't be grapped by FFF. Is there anyway to resolve this?

Every other story I tried downloaded just fine.

Last edited by justkiddingornot; 10-05-2016 at 09:22 AM.
justkiddingornot is offline   Reply With Quote
Old 10-05-2016, 10:45 AM   #1523
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by justkiddingornot View Post
...
For all stories except the one I posted previously (http://fictionhunt.com/read/4838629/1).
You mentioned problems with the metadata. Upon downloading, or rather trying to, the log gives an "HTTP Error 500: Internal Server Error". The capters 1-53 seem to display normally on FH (54 does not show), but can't be grapped by FFF. Is there anyway to resolve this?

Every other story I tried downloaded just fine.
That error is because fictionhunt.com is misreporting how many chapters it has in the metadata.

Virtually all the other sites gave a full list of chapters somewhere and FFF uses it for the chapter URLs (and counts them to determine numChapters).

fichunt does not; it only gives a partial numeric list that changes depending on how many chapters there are, and what chapter you're on. Rather than put in a bunch of conditional parsing for that, I chose to believe the metadata chapter number.

Given that I only expect people to use fichunt for stories deleted from ffnet, I don't expect that anyone will be regularly updating stories from fichunt. So for now the answer is to manually limit the download to the real number of chapters by using this for the story URL given to FFF:

http://fictionhunt.com/read/4838629/1[-53]

If you find more stories that are wrong about their chapter count, I'll reconsider the issue.
JimmXinu is offline   Reply With Quote
Old 10-05-2016, 12:14 PM   #1524
justkiddingornot
Junior Member
justkiddingornot began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by JimmXinu View Post
So for now the answer is to manually limit the download to the real number of chapters by using this for the story URL given to FFF: http://fictionhunt.com/read/4838629/1[-53]
Works! And a simple work-around. Gonna write it down to remember.

On another note: I've customed FFF's personal.ini. Is this file saved seperately somewhere, where it will not be overwritten by updating FFF? Where *exactly* is it located (The FAQ doesn't give the file path)?

Last edited by justkiddingornot; 10-05-2016 at 12:18 PM.
justkiddingornot is offline   Reply With Quote
Old 10-05-2016, 12:53 PM   #1525
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by justkiddingornot View Post
On another note: I've customed FFF's personal.ini. Is this file saved seperately somewhere, where it will not be overwritten by updating FFF? Where *exactly* is it located (The FAQ doesn't give the file path)?
If you've changed personal.ini through the plugin config dialog, it (and all other FFF plugin settings) is stored in the Library database. So if you switch libraries, you can create different settings. As a convenience, the first time you switch to a new library and use FFF, FFF will copy your settings from the previous library.

Updates to the plugin will not overwrite your settings properly set using the plugin config dialog.

However, at least once before a user opened the plugin zip file and changed the ini files inside rather than using the config interface. Changes made that way will be overwritten.
JimmXinu is offline   Reply With Quote
Old 10-07-2016, 12:49 AM   #1526
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version

New test version posted (direct link)

This test version is mostly some minor new features I wanted. It's also a bit more 'test' than usual--at least if you're using it with SB & SV.

2016-10-06 v2.4.4
  • Adding words_added metadata for epub logpage only.
  • Fix for CLI not working correctly with -u epubfile
  • Tiny fix to html output--close TOCTOP <a> tag.
  • Adding normalize_chapterurl() for xenforoforum and normalize_text_links option.
  • Add internalize_text_links option for epub and html formats. Also fix for growing whitespace in epub updates and missing always_reload_first_chapter in highlight list.
  • Update translations.
  • Bump micro version for test version.

words_added

The new words_added metadata is for epub logpage only--because that's the only place where the previous word count is available to make the calculation. Example:
Code:
logpage_entries:title,...,numWords,words_added,status,version
Quote:
Packaged: 2016-10-02 09:38:46 Updated: 2016-10-01 22:40 Chapters: 98 Words: 170,436

Packaged: 2016-10-06 22:31:10 Updated: 2016-10-06 12:21 Chapters: 99 Words: 176,756 Words Added: 6,320
normalize_chapterurl()

The new normalize_chapterurl() feature for xenforoforum adapters 'normalizes' chapter links so if the thread title changes, it doesn't invalidate all your existing chapters. This is not optional, but always applied.

normalize_text_links

This makes links consistent and fixes some broken links, but it's mostly for the benefit of internalize_text_links.
Code:
## Apply adapter's normalize_chapterurl() to all links in chapter
## texts, if they match chapter URLs.  Currently only implemented by
## base_xenforoforum adapters.
normalize_text_links:true
internalize_text_links

This is primarily for base_xenforoforum site stories where index posts and linking between 'chapters' internally is common. Now, if internalize_text_links (and normalize_text_links) are true, FanFicFare will make links in the chapter text to other chapters point within the story. Links to other (not chapter) posts will continue to link back to the source.
Code:
## Search all links in chapter texts and, if they match any included
## chapter URLs, replace them with links to the chapter in the
## download.  Only works with epub and html output formats.
## base_xenforoforum adapters should also use normalize_text_links
## with this.
internalize_text_links:true
v2.4.4

I forgot on the previous couple test versions, but I intend to bump the micro version number for new test versions now and the minor for new releases.
JimmXinu is offline   Reply With Quote
Old 10-08-2016, 03:02 PM   #1527
kakashi524
Junior Member
kakashi524 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2015
Device: Smartphone Huawei Y320
Hi, I updated the plugin today (v2.4.0) and tried it using these urls:
http://storiesonline.net/s/14388/my-...y-book-2-exile
http://storiesonline.net/series/1253...l-lived-life-2

It skipped chapter 1 in both stories. I'm using Calibre x64 v2.69.0 on Win 10 x64
kakashi524 is offline   Reply With Quote
Old 10-08-2016, 03:39 PM   #1528
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,981
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kakashi524 View Post
Hi, I updated the plugin today (v2.4.0) and tried it using these urls:
http://storiesonline.net/s/14388/my-...y-book-2-exile
http://storiesonline.net/series/1253...l-lived-life-2

It skipped chapter 1 in both stories. I'm using Calibre x64 v2.69.0 on Win 10 x64
Already fixed in recent test versions.
JimmXinu is offline   Reply With Quote
Old 10-08-2016, 07:00 PM   #1529
kakashi524
Junior Member
kakashi524 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2015
Device: Smartphone Huawei Y320
Sweet, thanks for your efforts!
kakashi524 is offline   Reply With Quote
Old 10-09-2016, 09:57 AM   #1530
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
Is there a possibility to not only replace but to add metadata?
ILB is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:34 AM.


MobileRead.com is a privately owned, operated and funded community.