HTTPS clone URL
Subversion checkout URL
Clone this wiki locally
YQLAutoTagger is a script that analyses the text of a form field, runs it through the Yahoo term extractor and populates another field with the found keywords as tags. To use it all you need to do is include the script in the page and call the init() function with the IDs of the field you want to analyse and the one you want to seed.
YQLAutoTagger automatically checks the field when the user moves away from it – the
blur event gets fired – adds a class called
loading to the original field and disables the tag field while the lookup is happening. It also adds quotation marks around tags that contain spaces.
You can change this behaviour by overwriting the configuration of YQLAutoTagger before you call the
The configuration options available to you are:
loadingClass– the class added to the field while the analysis is happening (defaults to ‘loading’)
tagDelimiter– the string added in between tags (default is a space)
addQuotes– Boolean to add quotes around tags that contain spaces (set to true)
disableField– Boolean to disable the tags field while analysing (set to true)