Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# gedw99 8/5/2006 5:31 AM
Now that Cuyahoga is moved to asp.net 2.0 I am writing a site map module that takes advantage of the site map module.

The functional design proposed is:
1. It will have the ability to automatically update the web.sitemap file that’s the site map provider for asp.NET 2.0 uses.
2. It will have a Site Map module, so that the site map can be placed anyway on your web site.
3. It will support the Google site map protocol, so that Google will automatically index the site.
See: http://www.google.com/webmasters/sitemaps

Aspects:
1. When a new page is created, the site map engine will need to rerun, and resubmit to Google.
2. A users Google login details will be required as Meta data for the module.
3. The Google site map will be optional, as not all users want to use this. This brings me to the loose coupled aspects. What if I want to design it to use a different site map rendered, other than the Google one. Late Binding might be useful here where you indicate the module you want to use to reflect of the web.sitemap file.

The tricky aspect is that the site map changes depending on who is logged because of the security authorization to certain pages.
SO I propose initially to take this iteratively:
V 1
1. The Google site map produced will match a non authenticated user and be tightly coupled.
2. The user’s site map will also only show non authenticated user links.
3. Add a new navigation control that uses the site map. The current ones are easy to code, but it is worthwhile to leverage the site map too?


v2:
1. Google site map stays the same, but will be loosely coupled to allow other site map builders for other search engines. Should be a comma delimited list to allow many.
2. The user site map is dynamically generated and storages in their session on application start. On an admin changing the site structure, then all existing session must be updated. This can be achieved with a simple date Time stamp, where each session checks on each request that it has the latest sitemap. This is scalable, as its only concurrent users that are hit. The master site map date time stamp will be held in the database.


I am throwing this out to the community to get some feedback on the design.
I want to do this because I am using this framework for a project and I have to write a sitemap. The site map I have to write does not have to be nearly as sophisticated, but I think that you its better done the way above so that it’s extensible and useful to many people.

Please feel free to slam this idea if it’s a terrible design or idea.

Regards,

Gerard



# martijnb 8/6/2006 7:27 AM
What exactly can you do with web.sitemap? Easier navigation controls by leveraging ASP.NET 2.0 stuff?

About submitting sitemaps to google: I agreed that only public pages should be submitted ever.
2. The user site map is dynamically generated and storages in their session on application start. On an admin changing the site structure, then all existing session must be updated. This can be achieved with a simple date Time stamp, where each session checks on each request that it has the latest sitemap. This is scalable, as its only concurrent users that are hit. The master site map date time stamp will be held in the database.

I don't really get what you're trying to achieve here. Cuyahoga already has the entire site structure in memory and it is super easy to transform that to something visible, including authorization checks.
# gedw99 8/8/2006 3:58 PM
Martin,

Yep - i think its too complex now too; go trh idea and just kept writing hte spec without thinking.
tur, the web.sitemap does not really give you anything.

Have basically finished it now to outpout only public links.

It is based on this c# open source code called "Newtonsoft.GoogleSitemap", which reads a microft web.site map file.
I have just filled in the code to work off the Cuyahoga web site structure.

Then you just log into google, and point it at the URL http//yourCuyahogaDomain/googlesitemap.axd

Will upload it soon when finished.
# martijnb 8/9/2006 3:17 PM
Sounds good!
# gedw99 8/10/2006 3:08 AM
Hey Martin,

I have joined and submitted the list to the devel mailing list.
Would be grateful if you could look at this as currently have anough time to do this before i get dragged into something else.

The changes are not massive, but just cleaned up and extension of the existing modules; Nothing to the Core.

Cheers,

Gerard