NEW VERSION 3.5 - 9 August 2008
What is it?
This is the new version of my module to generate a Google SiteMap for your DotNetNuke 4.x portal. This version is 3.5 and has been created based on feedback I have received and now will output blog entries into the sitemap file.
Support for DNN portals using 3.x has been discontinued since the module is now compiled using .net Framework 2.0.
Why the new version?
The previous version works fine if you have a single portal, however it wasn't able to generate a sitemap if you had parent and/or child portals.
Version 2.2 will also correctly generate sitemaps for portals which have Friendly Urls turned off. This version also contains a fix for sites that use HTTPS protocol.
Version 2.4 fixes the issue with locales that use a comma as a decimal place seperator as this outputed the priority element incorrect.
Version 3.0 now outputs any blog entries you have created into the sitemap file.
Version 3.3 includes support for portals using DNN 4.8.0
Version 3.4 correct default priority value for the sitemap data
Version 3.5 checks each URL added to the sitemap is unique
This version is based on a HTTPHandler module so all you need to do is access a URL to have the sitemap generated on the fly, so its always up to date and it works with parent and child portals.
How to install
Installing is easy, even easier that before just two steps and your done
- Copy the BTBGoogleSiteMap.dll to the bin folder of your DotNetNuke portal
- Add the line in blue below to your web.config file, it should be added in the <httpHandlers> section as shown.
<httpHandlers>
<add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
<add verb="*" path="BTBGoogleSiteMap.axd" type="BiteTheBullet.HttpHandler.BTBGoogleSiteMap.Handler.GoogleSiteMapHandler, BTBGoogleSiteMap" />
</httpHandlers>
That's it, to generate a sitemap you just enter the alias of your portal followed by btbgooglesitemap.axd
So my sitemap map for this site is
www.bitethebullet.co.uk/btbgooglesitemap.axd
Just enter the URL for the sitemap into your Google SiteMap account and you will always have the latest sitemap for Google to crawl!
Downloads
As with the previous version I have the compiled assembly you need to run the module as well as the optional source code in C#.
Download the compiled assembly
Download the source code