Entry tags:
Pinboard bookmarklet for AO3 works
I edited the default Pinboard bookmarklet (the button you put in your browser bookmarks to let you quickly add links to Pinboard) so that it will grab the tags and summary from AO3 and include those in the Pinboard tags/description.
Would anybody who uses Pinboard for their bookmarks rather than AO3 be interested in that if I posted it?
I made a generator for the bookmarklet to allow people to choose which tags to include and so on. http://random.fangirling.net/fun/ao3/bookmarklet.html
(I tried to do the same for Delicious but it doesn't look like I can pass tags to it.)
I made a generator for the bookmarklet to allow people to choose which tags to include and so on. http://random.fangirling.net/fun/ao3/bookmarklet.html
(I tried to do the same for Delicious but it doesn't look like I can pass tags to it.)
no subject
This would be so amazing and save on so much time. (I'm, um. A little too thorough with my tags, so to speak, and trying to capture that data has been a PITA in more ways than one.)
no subject
Any feature requests are welcome. I like to make peoples' lives easier!
no subject
Thank you so, so much for sharing! :D
no subject
no subject
Also thanks for disclosing the jquery, I'm hoping that my little stream is not interesting enough for Google analytics.
no subject
I might make the process of including a custom link to jQuery easier in the next update.
no subject
no subject
You'll want to just check the last box.
no subject
no subject
no subject
no subject
no subject
I've been playing around in Notepad a bit, but since I don't really know what I'm doing, I'm running afoul of the separator. (It's still fun to play with; yay hacking at things!) *more enthusiasm than skill*
no subject
For the record, probably the easiest way to do it would be to find the place that says
"&tags=" + encodeURIComponent(t)
and change it to&tags=twitter," + encodeURIComponent(t)
. The tags are comma separated... I should probably make them space-separated like Pinboard.no subject
no subject
no subject
no subject
Is there any way to also include the author as a tag?
no subject
The difficulty isn't so much in including the author tag as in dealing with the username vs. pseud feature of AO3. I'll take a stab at it when I get a free moment later this week. (Maybe give the choice for whether you want the shortcode to grab username or pseud?)
no subject
no subject
no subject
no subject
no subject
no subject
Edit: OK, updated with the Author tag feature... I got around to it quicker than I thought I would.
no subject
no subject
I'm planning to add a bookmarklet that does *not* attempt to pull in ALL THE TAGS, but if you can figure out how to make it cap the tags when it's going to overflow...
no subject
no subject
no subject
no subject
I also added some modifications so that I will always only get the Fic Title and Author in the title, and also strip out any extraneous parts of the url, since I only ever want to bookmark the base AO3 url.
Sorry if any of this is clumsily done - I've never played with javascript before, but I thought I'd share what I came up with anyway.
no subject
no subject
After further iteration, here is what I'm using now for my bookmarklet:
Figuring out the RegExp syntax helped me get rid of most of the html code I don't care about, and my latest addition was to get rid of the occasional s I was seeing and strip out collections from the URL. I'm still very grateful for the base code you provided, because I never would have bothered to figure this stuff out without it.