09-24-2012, 01:51 PM | #871 | |||||
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
Quote:
Quote:
There are so many different formatting styles available in HTML, and they vary so much from site to site, author to author, even story to story, that it's impossible to programmitically determine which should be kept (poetry, in-line correspondence, etc) and which are just funky or even bad formatting from the source. However, if you have specific examples that demonstrate special formatting that is consistent for at least an entire site, I'll consider trying to do something special to preserve it. Quote:
I'll look in more depth before I implement it, but right off, I can see adding new extra_valid_entries for ao3categories, ao3fandoms, and ao3freefromtags. That's in addition to--and duplicating data from--the existing category and genre lists, so we don't break things for existing users. Adding the various counts should be trivial, too. |
|||||
09-24-2012, 05:13 PM | #872 |
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
This version adds new extra_valid_entries: for AO3: fandoms, freefromtags, ao3categories, comments, kudos, hits & bookmarks. It's ao3categories to differentiate from the existing category.
It also fixes a bug effecting all sites in stories with more than one author. This has been added to the defaults.ini in this version: Code:
[archiveofourown.org] ## AO3 adapter defines a few extra metadata entries. extra_valid_entries:fandoms,freefromtags,ao3categories,comments,kudos,hits,bookmarks fandoms_label:Fandoms freefromtags_label:Freeform Tags ao3categories_label:AO3 Categories comments_label:Comments kudos_label:Kudos hits_label:Hits bookmarks:Bookmarks Last edited by JimmXinu; 10-01-2012 at 11:33 PM. Reason: Remove obsolete beta versions |
Advert | |
|
09-25-2012, 05:30 AM | #873 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2012
Device: none
|
Jim seem to be having problems with yourfanfiction.com FFDL seem to no longer be able to recognize new urls. It will updated the ones form book already made but when you try to put in a new one it does nothing.
The urls is http://yourfanfiction.com/viewstory.php?sid=2805 |
09-25-2012, 11:28 AM | #874 |
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@CyberCrisis
Use: http://www.yourfanfiction.com/viewstory.php?sid=2805 Note the www. We usual allow both when the site does, so I presume that yourfanfiction.com didn't work without the www. when the adapter was first written. I'll get it to accept both in the next version. Update: Okay, that's not exactly true. Looks like I broke the 'www.' add/remove code a bit with the last update. Looking at fixing it now. Last edited by JimmXinu; 09-25-2012 at 11:40 AM. |
09-25-2012, 12:06 PM | #875 |
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New test version with additional fixes.
This version fixes:
Last edited by JimmXinu; 10-02-2012 at 10:49 AM. Reason: Remove obsolete beta versions |
Advert | |
|
09-26-2012, 05:08 PM | #876 |
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Version 1.6.11 - 26 Sep 2012
|
09-26-2012, 09:04 PM | #877 |
Geek of All Trades
Posts: 55
Karma: 100878
Join Date: Aug 2012
Location: Minneapolis
Device: Kindle Oasis (3rd gen)
|
Oooh! I love what's been done with regular expression metadata stuff. Being able to specify which metadata bits should have changes is excellent, especially as we keep adding more metadata that can be downloaded. (And thanks to seabream for sharing a sample from personal.ini. I'd love to see more sharing of personal.ini stuff as I imagine many of us are making the same sorts of changes and duplicating effort as far as changing "Harry P. to Harry Potter" and other things like that. Also gives me ideas for tweaks to my own.)
+ + + On a different topic . . . file formats. I prefer having most fanfic I download in both epub and mobi format as I've been known to read fic on Kindle, Nook, and iPad because I'm a geek like that or indecisive or something. (I also sometimes have other formats if someone's made a pretty PDF available or whatever. But mostly I use mobi and epub.) I usually download epub using this plug-in. I have been known to later do a search to find all fic where I have epub and not mobi and then go and update those fics (without updating metadata or covers) and grab the mobi version. Which means I'm downloading them twice. Other times I've used calibre to convert epub to mobi. What I'm curious about is: what's the fastest and best way to do this? Converting within calibre? Downloading twice via plug-in from AO3 or whatever? (Is there a better way? I doubt it would save much in the way of resources to have an option to grab both mobi & epub, but then I'm not clear on what all happens with the plug-in behind the scenes so could be wrong there.) |
09-26-2012, 11:44 PM | #878 | ||
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Spoiler:
I always download epub and the only custom columns I fill with FFDL are chapter count, word count and last updated time. I do, however, use it with Reading Lists extensively to keep my three devices sync'ed. More on that below. Quote:
I keep both epub and mobi around for my nook and kindle. I use the the Reading List features to keep my 'to read' on 'add to nook', 'add to kindle', and 'add to droid' lists, plus configuring the lists to auto-sync to my devices. That, combined with the 'Delete other formats' option of FFDL, means calibre automatically converts my new epubs to mobis and transfer them to the device whenever I plug in my kindle. I have 'u' and 'r' hotkeys set to the 'Add to "To Read" and "Send to Device" Lists' and 'Remove from "To Read" and add to "Send to Device" Lists' FFDL options. There's a slightly out of date explanation of my process here. I've optimized my reading flow a bit since then, but it's still a workable version. |
||
09-27-2012, 11:48 AM | #879 |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2012
Device: none
|
Hello, fanfiction downloader is not updating books existing in the library for fanfiction.net. Sorry, that I can't provide more detail, but I'm not as techno savvy as most members in this thread.
|
09-27-2012, 11:54 AM | #880 | |
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Update: I'm able to download new and update existing ffnet stories in my library. Without more details, I can't do anything more. Last edited by JimmXinu; 09-27-2012 at 01:43 PM. |
|
09-27-2012, 03:15 PM | #881 |
Evangelist
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Hey there Jimm, by now pretty much every feature I suggested a few months ago when I found your plugin have been implemented in one way or another except being able to customize the title-template via the configuration file. What I mean by that is the "<Title> by <Author>", is there any way that I am not aware of to simply make it "<h1><Title></h1>" without making changes to the code directly? If that was possible I could just get rid of my private branch entirely and be done with constantly pulling and merging your updates.
Thanks so much! |
09-27-2012, 03:39 PM | #882 |
Evangelist
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Also, the current feature that strips/adds chapter numbers is pretty awesome, if now you could add the ability to simply add chapter numbers ONLY to the table of contents and remove them from the chapters themselves that would be great too.
|
09-27-2012, 06:01 PM | #883 | |
Plugin Developer
Posts: 6,290
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Code:
## Don't like the numbers at the start of chapter titles on some ## sites? You can use strip_chapter_numbers to strip them off. Just ## want to make them all look the same? Strip them off, then add them ## back on with add_chapter_numbers:true. Only want them added back ## on for Table of Contents(toc)? Use ## add_chapter_numbers:toconly. Don't like the way it strips numbers ## or adds them back? See chapter_title_strip_pattern and ## chapter_title_add_pattern. strip_chapter_numbers:false ## add_chapter_numbers can be true, false or toconly add_chapter_numbers:false Last edited by JimmXinu; 10-02-2012 at 10:49 AM. Reason: Remove obsolete beta versions |
|
09-27-2012, 06:19 PM | #884 |
Evangelist
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Thanks, this works perfectly! If you find time to implement the HTML template variables that would be absolutely great, thank you .
|
09-28-2012, 10:42 AM | #885 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Jimm,
please check these stories. I did an "update epub always" on my library and got the following errors: list index out of range: http://archiveofourown.org/works/237304 cannot concatenate 'str' and 'NoneType' objects: http://archiveofourown.org/works/321363 http://archiveofourown.org/works/163104 'NoneType' object has no attribute 'find': http://www.squidge.org/peja/cgi-bin/....php?sid=35760 http://www.squidge.org/peja/cgi-bin/....php?sid=47146 |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | Yesterday 08:39 AM |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1747 | 03-30-2024 04:51 PM |
[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 |