11-12-2012, 12:01 PM | #1021 | |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
FFDL gets the story URL from one of three places on existing stories: 1) the url identifier, 2) the metadata of the EPUB, or (optionally) 3) the text of the EPUB. FFDL isn't going to use the uri identifier, and you've proven that it can use the URL found in the text. So the difference has to be the URL in the EPUB metadata since it works with EPUBs for the same stories downloaded now. Because AO3 is still under development, I speculate that AO3 has changed their EPUB metadata since you downloaded those stories. I will look into how difficult it would be to make FFDL look for uri identifiers as well as url, but for now continue to use the 'Search EPUB text for Story URL' option. |
|
11-12-2012, 01:35 PM | #1022 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@BookJunkieLI -
Try this version, it should work equally well with uri and url identifiers. UPDATE: Nov 14 Superseded by released version. Last edited by JimmXinu; 11-14-2012 at 08:43 PM. Reason: Remove obsolete beta versions |
Advert | |
|
11-12-2012, 04:47 PM | #1023 | |
Fanfiction Devourer
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
|
Quote:
And sorry about the Million Plus word story, I don't even look at the sub 100k stories anymore so my gauge might be off a bit on what is "long" or not. Sorry! |
|
11-12-2012, 10:02 PM | #1024 | |
Groupie
Posts: 164
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
Quote:
|
|
11-12-2012, 10:08 PM | #1025 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
|
Advert | |
|
11-12-2012, 10:10 PM | #1026 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Look at the Introduction to plugins thread under 'How do I install a plugin manually?'
|
11-13-2012, 09:35 AM | #1027 | |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
Edit: Just tried it out and it works great. Thanks again for an awesome plugin! Last edited by BookJunkieLI; 11-13-2012 at 09:44 AM. Reason: update |
|
11-14-2012, 04:37 PM | #1028 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Version 1.6.19 - 14 Nov 2012
|
11-14-2012, 08:01 PM | #1029 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2012
Device: Kindle 4
|
EDIT: Nevermind, it's working now, strangely. (I had to restart several times to get it to work, once didn't do the trick. Sometimes I think my computer hates me.)
Last edited by Niedzielan; 11-14-2012 at 08:16 PM. |
11-15-2012, 01:55 PM | #1030 |
Connoisseur
Posts: 62
Karma: 640495
Join Date: Jul 2012
Location: Germany
Device: Kindle Touch, Android smartphone w/ FBReader
|
AO3-related feature request and question
JimmXinu, again I have a feature request . Plus a question .
Fanfics downloaded from AO3 with FFDL are currently missing the language metadata. That leads to my Kindle Touch opening the wrong (German) dictionary while reading English fanfics because without language metadata it defaults to the UI localization language. (So I bulk-add it manually, which is admittedly pretty easy, provided I don't forget to do it when I downloaded something new ) AO3 does support multiple languages, but I have not found a language indicator anywhere inside the source of e.g. this German story, so could you in the meantime give users the option to set a default language (in my case English, I have sofar only read English ffs there)? And, longer-term, I am gonna contact them and ask them to add the language metadata inside the story/chapter HTML attributes/work header/somewhere your plug-in can find it. Is there a optimal, easy for you to work with way they could implement this? (like maybe put the language attribute into the <div id="chapters">?) Then I could send them that as a proposal. They have been very good in responding to my user feedback in the past and are in general very open to reasonable feature requests. EDIT: I just tested their own download formats. EPUBs do contain the correct language metadata, HTMLs, MOBIs and PDFs do not or are incorrectly always marked as English. They probably just have not gotten around to adding it to the web view and those formats and are planning to do so in the future, just like they plan to have the interface translated. Sending them a feature request could still speed things up, though. Last edited by Dylan Tomorrow; 11-15-2012 at 02:06 PM. Reason: +survey of their download formats |
11-15-2012, 02:37 PM | #1031 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@Dylan Tomorrow - I'm certainly not opposed to supporting multiple languages on AO3. And you're correct that the first step towards that would be to get them to add it to the displayed story metadata.
To my eye, the best way to do that would be to add it to the metadata block in: '<dl role="complementary" class="work meta group">' But that's clearly their choice to make. (FYI, AO3's list-by-language pages are broken--they all give the same 'recent updates' list. Click a few of the 'works' links on the languages to see it. So there's no way to judge how accurately stories in different languages are tagged.) As for default language, except for the few language specific sites and ffn, FFDL does default the language to English('en') inside the epub. It doesn't set the language in calibre in that case. Something about that feels familiar, like it's come up before--I'll check old postings and get back to you. |
11-15-2012, 02:48 PM | #1032 | |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
|
|
11-15-2012, 03:03 PM | #1033 | ||||
Connoisseur
Posts: 62
Karma: 640495
Join Date: Jul 2012
Location: Germany
Device: Kindle Touch, Android smartphone w/ FBReader
|
Quote:
Quote:
Quote:
Quote:
I changed the language metadata in calibre. Calibre writes it into the EPUBs/MOBIs when exporting to disk or copying to the device. Last edited by Dylan Tomorrow; 11-15-2012 at 03:07 PM. |
||||
11-15-2012, 04:26 PM | #1034 | |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
My testing shows that the language in the epub is preserved when calibre writes the epub to device if the calibre language field is empty. But I can certainly see calibre losing that in conversion if the calibre language field is empty. The FFDL code was intended to default the language to English in calibre, too, but that code is mildly broken. It will be fixed in the next version. |
|
11-15-2012, 06:34 PM | #1035 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I have a new feature I've added that I'd like some people to try out and give feed back on.
How many times have you downloaded what sounded like an interesting story only to discover that not only was it not to your taste, but that you remember starting and rejecting it before? Now FFDL can help you out with that with it's Reject List feature. Select the book you don't like in your library, hit the FFDL 'Reject Selected Books' option. A dialog will open up to confirm that you want to add those story URLs to the Reject List, allow you to change the note that will be saved with the URL, and (un)check whether the book will be deleted after adding to the list. Next time you try to download that story again, FFDL will display the note and ask if you want to reject it or download it anyway. If you say 'download anyway', it will also offer to take it off the Reject List. You can also view and clean up your Reject List from the FFDL config Basic tab. Let me know what you think. UPDATE Nov 19 - New test version or release is available now. Last edited by JimmXinu; 11-19-2012 at 05:07 PM. Reason: Remove obsolete beta versions |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1750 | 04-07-2024 01:20 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 95 | 03-16-2024 11:55 PM |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1096 | 03-16-2024 11:28 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |