Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Free DNN Google Sitemap GeneratorFree DNN Google Sitemap Generator
Previous
 
Next
New Post
10/18/2006 10:30 PM
 

I've previously downloaded some of the available DNN Google Sitemap Generators, and they work well - until you have a more complicated module like the Blogs module.   The Blogs module uses the same page but has it's own redirects to show all the blog / blog entries on the one tab.  As such, a standard Google sitemap generator isn't going to show all the relevant URL's properly.

What I've developed is an extensible DNN Sitemap generator using the ASP.NET Provider model.  It consists of a HTTPHandler to receive the request for a Google sitemap, and a default DNN Sitemap provider.  The Provider model allows the development of module - specific Providers as well.

The way it works is that the default Google Sitemap Provider checks for module-specific providers based on the ModuleDef friendly name and the name of the PRovider in the web.config.  When it finds a match, it calls the module-specific provider to get the list of URL's for that particular page/module combination.  This is all configured through the web.config, so a site made up of many different custom modules can have a provider dropped into the \bin directory for each specific module without having to recompile anything.

On my blog entry about this topic, I have provided free source and demo projects for download.  This includes the 'standard' DNN Google Sitemap generator, and an implementation of a module specific provider for the Blogs module.  This shows how to develop a custom-module specific provider from the base default provider plus gives a free blogs-specific Google sitemap provider.

See my Blog Entry on the DotNetNuke Google Sitemap Generator here

To look at the source code, you'll first need to download the demo project and set up the references to the DotNetNuke modules, as well as the iFinity.Utilities module.

The Generator is built with C# in NET 2.0 and is designed for DotNetNuke version 4.02 and upwards.  Sorry, I don't have a NET 1.1 or DotNetNuke 3.x version.

I'm happy to give this work over to the DotNetNuke community as the original idea came from other free downloads.  Feel free to post back to this thread for asking questions about it.  If you're unhappy with it, I'm still refining the model and appreciate feedback.  If you're happy with it, feel free to implement it into your site, and I appreciate links back to the blog entry so I can get the word out.

 
New Post
10/19/2006 10:12 PM
 
A very nice explanatory write-up, and thank you for giving it away! - but the download links are dead, hopefully a temporary thing?
 
New Post
10/23/2006 8:40 AM
 

Sorry about that!   File naming issue.

Downloads have been restored, and yes, this time I *tested* them!

Apologies to all who tried and failed

Just as an extra note, you'll need to download the demo project to provide the references in order for the source code to compile.  There are a couple of libraries which aren't included with the source code.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Free DNN Google Sitemap GeneratorFree DNN Google Sitemap Generator


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out