New Tagging feature of FCKeditor
Tagging plugin of FCKeditor enables you to insert Tag easily. By default, four tags are provided. Technorati, Flickr, Delicious, and Wikipedia.
In the middle of writing a post, you may think I want "this word(s)" to be a "tag" of a proper site. If that word is about definition of somthing, you may want it to be a tag of Wikipedia. If it's about picture, it may be of Flickr. In those cases, you just drag that word(s), and click "Tagging" toolbar button, and then lastly click proper icon. Then that text is converted to "Tag" and "Link".
If you are user of FCKeditor and not of Movable Type, you can get this FCKeditor's Tagging plugin in sourceforge.net.
Have you been using other Tag managing plugin which gets Tags from Keywords field of an entry? In that case, can this Tagging plugin coexist other Tag managing plugin? Absolutely you can. Now I'm developing small Movable Type plugin which connects FCKeditor's Tagging plugin and MT's Keywords field. By using that, you don't have to enter Tags into Keywords field by hands.
In the middle of writing a post, you may think I want "this word(s)" to be a "tag" of a proper site. If that word is about definition of somthing, you may want it to be a tag of Wikipedia. If it's about picture, it may be of Flickr. In those cases, you just drag that word(s), and click "Tagging" toolbar button, and then lastly click proper icon. Then that text is converted to "Tag" and "Link".
Have you been using other Tag managing plugin which gets Tags from Keywords field of an entry? In that case, can this Tagging plugin coexist other Tag managing plugin? Absolutely you can. Now I'm developing small Movable Type plugin which connects FCKeditor's Tagging plugin and MT's Keywords field. By using that, you don't have to enter Tags into Keywords field by hands.
Fig. Screenshot of Tagging plugin.

* Below contents are for advanced users.
Adding other tag sites to FCKtoolbar button
You might want to use other meta tag sites. Those could be your country-specific tag sites or even your own blog's category archive.To add it to Tagging toolbar button and make it work for you, follow below steps. It's a piece of cake. Let's assume it's format of tag link is like "http: / /example.com/tag/realTag"
- Get the favicon or some image of that site. Convert it to GIF format.
- Open FCKeditor/fckconfig.js file, and find FCKConfig.TagSites = [ line.
- Insert a line like ['http: / /example.com/tag/', 'example'], 1) between proper lines. In this case, your saved GIF image's name is 'example.gif'
- Upload example.gif into two folders. One is FCKeditor/editor/plugins/Tagging folder (It's for toolbar button image). The other is your image folder. It could be anyone. (If you are user of my "FFF on Movable Type" plugin, by default this location is (mt home)/mt-static/images/ folder.)
- Lastly, to display site icon(example.gif) in a page you are editing, you have to add some CSS rule to FCKeditor/editor/css/fck_editorarea.css file. (If you are MT user, you can do this in MT's "FCKeditor CSS" template.) CSS rule will be like
a.example:link, a.example:visited {
color: #00F; background: url(your_image_folder/example.gif) 0 0.2em no-repeat; padding-left: 13px;
}
This CSS rule is absolutely at your disposal. As your page font design, you may have to modify it as your taste.
What's difference between both ? For example, predefined two sites, Technorati and Flickr have no '1' at end. And Delicious and Wikipedia have '1'.
Technorati and Flickr sites allow "spaces" in a tag, eg. "Movable Type" . However Delicious and Wikipedia doesn't allow spaces in a tag. A tag for "Movable Type" may be "MovableType" or "Movable_type". So for these sites, you can notify its policy by last '1' option.
Note
You might know this "Taggin" plugin doesn't "ESCAPE" a tag. It means that a tag link for "Movable Type" is like "http: / /example.com/tag/movable type" not like "http:/ /example.com/tag/movable%20type". I didn't use Javascript "escape()" or "encodeURI()" function to escape a tag link.Basically sites allowing spaces in a tag also allow normal space(not escaped form like "%20") in a tag. And non-Latin users like me use naturally non ASCII characters. If I escape a tag, then it's tag link will have dirty and long %HH codes in a link. I hate this.(See What is Cool IRI ? )
Which do you like "http:/ /technorati.com/tag/Mädchen" OR "http:/ /technorati.com/tag/M%C3%A4dchen" ? I like IRI, Cooool IRI. We select a tag by ourselves, so some puctuation embedding problems can be avoided.
However if you really want an escaped tag link, then you need fix one line. Open FCKeditor/ editor/ plugins/ Tagging/ fckplugin.js file. Find a line, "oLink = FCK.CreateLink(SiteURL + sTag);". Modify it to "oLink = FCK.CreateLink(SiteURL + escape(sTag));"
We can escape from some trobules by carefully selecting a tag, not with a help of "escape()" function.
Comments
hello,
i would like to use your pluging. But I don't understand how it work's. I don't understant wery well english too ;).
So i don't find FCKConfig.TagSites in fck config.
To be sure : i could use your plug to edit my own tag in fck ?
thank's for your help.
Bertrand
Posted by: Bertrand | March 17, 2006 02:00 AM
Great plugin! I've added it to my blogging platform. Thanks for making this public.
Posted by: mcam | March 17, 2006 10:39 PM
Just resonly created a blog - in danish, sorry - and found FCKeditor very helpfull, and with this plugin, it´s just about perfect.
Actually this is the first plugin I have installed, must look more into this plugin-stuff. Know any quotation-ish plugins? Ex. if I quote someone, I want FCKeditor to "automaticly" (read: with the push of a button) apply a specific style.
Anyways - once again, great plugin, appreciate you work! =;)
Posted by: Simon Jensen | July 17, 2006 02:57 AM