aka “Javascript Tags Generator”
Instructions
Place your tags in the ‘Tags’ field. Make sure that you use allowed characters, and that you also use the Flickr Format for the input tags.
In the URI field, you should place a base URI (something along the lines of scheme://authority/path/, if left blank… a predetermined base URI will be used). This should allow you to create several links to tags for Technorati, Wiki, Flickr or even Google queries on the fly! Use it wisely.
Every field or textarea will be selected entirely when clicked on.
<form name=”tagform”> <table border=”0″ cellspacing=”0″ cellpadding=”5″><tr> <td>Tags:
URI:
Code:
<textarea name=”outputcode”></textarea></td> </tr></table> </form>
Download
If you’d like to use this ‘puppy’ in your blog (or webpage), you’ll need this *.js file. You should upload the file to your server and then place the following code between your <head></head> tags:
<script language=”JavaScript” src=”/…/…/tag.js” type=”text/javascript”></script>
Then, in your post or in a specific section, you should place the following code for the tag-creating form.
<a href=”javascript:poptag()”>
Additionally, you could instead download this html document, upload it to your server, and specify a popup window from your blog/page to load the document in it.
Be sure to modify your poptag() function so that the document.write has the same javascript file you’re using:
tmp.write(‘<script’);
tmp.write(‘ language=”JavaScript” src=”/…/…/tag.js” defer>’);
tmp.write(‘<\/script>’);
Anyways, I now proudly present… the first post in this blog with post tags. Yay. (I think I’ll create a ‘Post Tags’ section in my post template)
UPDATE [2006/02/24]: Well, that code didn’t work, and it generated invalid markup (non-compliant XHTML)… so I’m removing the forms, but will leave the code for anyone to try it out.