Christian Heilmann

YQLAutoTagger – automatic tag generation with a single line of JavaScript

Thursday, October 29th, 2009 at 12:56 pm

Yesterday I gave a talk at the Stackoverflow Devdays conference in London and as one example of the powers of YQL, I wrote a GreaseMonkey script that enhances the Stackoverflow question form to automatically add tags to the question. You can see a screencast of the script or install it yourself from GitHub. The script uses the Yahoo Term Extractor API and some lines of JS to make that work.

I’ve now cleaned up the script a bit and made it work outside of Greasemonkey as a simple JavaScript to embed into any document. See it in action on YouTube:

The demo page shows you how to do that in your own documents, all you need to do is embed the script and give it the IDs of the form fields:

There are some ways to customise the script and its behaviour, all of which are described on GitHub. Download the script from GitHub and read the docs there.

Tags: , , ,

Share on Mastodon (needs instance)

Share on BlueSky

Newsletter

Check out the Dev Digest Newsletter I write every week for WeAreDevelopers. Latest issues:

Don't stop thinking, AI Slop vs. OSS Security, rolling your own S3 Despite AI you still need to think, Bitter lessons from building AI products,  AI Slop vs. OSS security and pointer pointer…
200: Building for the web, what's left after rm -rf & 🌊🐴 vs AI What remains after you do a rm -rf? Why do LLMs know about a seahorse emoji? What image formats should you use? How private is your car?
Word is Doomed, Flawed LLM benchmarks, hard sorting and CSS mistakes Spot LLM benchmark flaws, learn why sorting is hard, how to run Doom in Word and how to say "no" like a manager.
30 years of JS, Browser AI, how attackers use GenAI, whistling code Learn how to use AI in your browser and not on the cloud, why AI makes different mistakes than humans and go and whistle up some code!
197: Dunning-Kruger steroids, state of cloud security, puppies>beer

My other work: