Posted in : Plugins & Widgets
I finally managed to get the time to play with my Link-a-Word plugin, which at least one person has been waiting a fair smidge for, and I think it's done! If any of you want a pre-release play with it then you can grab it from here unzip/upload/install it and then meander over to the tools tab for a shiny new Link-a-Word tab. It *should* work with all 1.8.x, 1.9.x & 1.10x b2evolution blogs
Well, if you'd meandered over to the shiny new tab you would have seen a form for adding words and the url you wish to link them to, plus a few other boxes for stuff like the hover title, classname and whether the words are case sensitive or not. You'll also have seen a bloglist, as the words are blog specific, and a table containing any current words for the blog you're on, with options to delete or edit the entries.
The first thing to do is to start defining a few words and their links for whichever blog you test this on. When you've done enough then go visit the front page of the blog and magically all of the words you defined will be linked ..... how cool is that? ..... It gets a tad cooler actually. First off you will have noticed that it only linked a single occurrence of each word and if you have a case-sensative version and a case-insensite version of the same word, then it will have linked a single occurence of each. Other stuff it does is, it won't link words that are already part of a link, the w3c sorta frown on that, and it won't link words that are part of a tag ( title, class, alt text etc ), because that's another thing the w3c tend to frown on ![]()
One of the things I haven't coded in is the ability to add a rel="nofollow" to any of the links, for starters why link to somewhere in your post and then remove the power of the link? The other reason is, why the hell should I bow to Googles will and do their job for them, they've more than enough money to pay a coder to sort out their algorythms huh? .... mind you, they can't differentiate between www and the root domain, so maybe they do need the help ![]()
As always if you find any bugs, or have any feedback, then feel free to leave a comment,
¥
Trackback URL (right click and copy shortcut/link location)
Trackback url for this post
Note : This trackback url is time limited so use it within 30 minutes or the SpamHound will snarl at you.
http://waffleson.co.uk/z/?k=365126026331032389d215e1c7d2e5459ca67d4e909a07a2c
Posts : 334
Joined : 04/04/05
Reply to comment 13937 by Gary