flamebyrd: (Default)
I'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.
flamebyrd: (Default)
Not having a terribly productive flex day so far, but we're going to the bank in the afternoon so maybe it will be productive in the "organising our finances" sense?

I thought I'd link to something I posted on [community profile] ao3some earlier this week, though:
http://random.fangirling.net/fun/ao3/bookmarklet.html
This generates a bookmarklet (little button that lives in your browser bookmarks) based on the Pinboard posting bookmarklet that will fetch tags from AO3 and put them in the tags box for you.

I wrote the bookmarklet on Sunday, the generator on Monday, added Author tagging on Wednesday (by request) and this morning I added a feature to remove the brackets from the end of the fandom tag (ie. turns 'The Avengers (2012)' into 'TheAvengers').

Additional feature requests welcome.

PS: I have investigated doing this for Tumblr without much luck, and for Delicious (which I might be able to do but it'll be less elegant). I could do Google Bookmarks if I thought anyone cared...
Page generated June 24th, 2017 03:32 am
Powered by Dreamwidth Studios