Flex Day #3 - AO3 Ebook Helper
Jul. 6th, 2012 07:34 pmI've been doing a lot of reading on my Kobo lately, so AO3's epub download feature is my favourite. In the shower this morning I thought, wouldn't it be great if I could just click a bookmarklet and it would queue up downloads of the epub versions of all stories in the series?
I encountered two problems with this:
1) For logical reasons, AO3's structure for the download URLs is a bit arcane. I had to grab a copy of the code from SVN and dig around until I figured out the format.
2) Prompting the browser to download multiple files is more difficult than you'd think (but, again, probably for logical reasons). I found a few solutions but they were all pretty dodgy.
Anyway, long story short, I sort of solved problem 1 but not problem 2.
http://random.fangirling.net/fun/ao3/downloader.html
This will provide download links for the ebook versions of all stories on an AO3 page (author's works, search, series, etc) in a little box that floats on the page after you click the bookmarklet.
It is undoubtedly very buggy.
I encountered two problems with this:
1) For logical reasons, AO3's structure for the download URLs is a bit arcane. I had to grab a copy of the code from SVN and dig around until I figured out the format.
2) Prompting the browser to download multiple files is more difficult than you'd think (but, again, probably for logical reasons). I found a few solutions but they were all pretty dodgy.
Anyway, long story short, I sort of solved problem 1 but not problem 2.
http://random.fangirling.net/fun/ao3/downloader.html
This will provide download links for the ebook versions of all stories on an AO3 page (author's works, search, series, etc) in a little box that floats on the page after you click the bookmarklet.
It is undoubtedly very buggy.