I've created yet another plugin for the ColdFusion Mango Blog package. Last night I was suppose to be doing one thing and my ADD kicked in and I did this for some reason.
This new Site Map Generator Plugin will create a sitemap.xml document in your blog's root directory. Sitemaps are supported by search engines such as Google, Yahoo!, Microsoft, Ask.com and Moreover.com and a few more I'm sure at least.
With this plugin, your sitemap.xml will be updated on post and page creation and update events. All of the work is done in a low priority cfthread just in case you have thousands of posts and hundreds of pages. A settings page is included with this plugin, but is nothing more than a pretty CFDump of your XML file for your verification.
For the next version if requested I may add some more options to the settings page to give you customization on priority per item type and the likes. However I'm pretty sure everyone will be happy with my default prioritization. Right now I map out the index, rss feed, atom feed, each page and each post. I decided to leave out the category viewes as it seemed redundant and I don't think adding them will give you any search engine placement boosts...
Download the ZIP file or view my SVN repository
May 13, 2008 at 2:25 PM This is something many people have asked for. Thanks Russell!
May 13, 2008 at 2:51 PM Sweet!!! You use CFThread though so is it restricted to CF8?
May 13, 2008 at 2:53 PM Doh, what was I thinking... I'll fix that tonight and make it work on both.
May 15, 2008 at 8:52 AM I've created a CF7 version of the plugin. I've also updated the settings page to output a pretty table instead of doing a lazy CFDUMP...
May 15, 2008 at 9:37 AM just tried to install it and i've copied the files to my components -- plugins -- users folder. login to my admin and see it but when i click activate it says it can't activate the plug-in. thoughts. I'm getting this for the sitemap and feedping plugin.
May 15, 2008 at 9:54 AM @everyone: I spoke with Eric and it looks like I have an issue with CF7. I will do testing with it tonight and see if I can resolve the issue.
May 15, 2008 at 3:01 PM Hi Russell, It could be unrelated to the problem with CF 7, but I did notice that somewhere you had the path \"blog.components\" hardcoded. That will not work whenever people does not have the blog installed in a / folder. Eric, for example, runs his blog in the root of his site. Most of the time you can get away by using relative locations.
May 15, 2008 at 3:35 PM yep. i changed that in the Generator.cfc and it allowed the plug-in to be activated. However the feed pinger plugin still won't work and i don't see what's wrong with that code :)
May 15, 2008 at 6:27 PM Eric, I think Russell is using the new syntax {} to create structures, so that might be the problem if you are running CF 7.
May 16, 2008 at 8:12 AM I've updated the plug-ins so they should all now work for everyone. My apologies for not not QAing in enough environments...
May 16, 2008 at 10:34 AM No worries man! The fact that you created the plug-in is awesome enough! Someday i hope to be creating plug-ins and not just pointing out their flaws...
Jun 6, 2008 at 5:51 PM FYI - http://www.mangoblog.org/forums/messages.cfm?threadid=600C8165-3048-2A53-70F53FD639A34D78
Jun 10, 2008 at 8:58 AM I've updated the plugin to to fix the problem with the illegal
Aug 27, 2008 at 10:05 AM I installed and activated fine, but it does not create the sitemap file, any suggestions?
Sep 22, 2008 at 1:25 AM Hi Russell, As of Mango version 1.1, I create a cfthread under CF8 when the event is asynchronous. It seems that the thread you create enters into some conflict with the one Mango creates. You might want to remove the threading code from the version 8 you have.
Nov 12, 2008 at 7:51 AM Hi Russell, I'm running mango 1.24 and apparently the sitemap generator isn't making a site map for me on any of my posts or pages. My server is Windows IIS with CF8...
Jan 29, 2009 at 12:36 AM Buying medicines is easier and convenient now! Thanks to Internet pharmacies. I have been shopping for my medicines at eshoprx.com and I must share this with you all that this is the cheapest pharmacy. Their quality is at par and delvery fast.