Re: Google SiteMap
- From: "Ken Cox [Microsoft MVP]" <BANSPAMkjopc@xxxxxxxxxxxxxxxxx>
- Date: Sun, 8 Oct 2006 11:00:09 -0400
Have you seen this?
http://www.gotdotnet.com/codegallery/codegallery.aspx?id=237330e0-65c5-4ebb-b62b-e486dd598604
"This project builds Google (tm) compatible sitemap files from ASP.NET
SiteMaps. A simple control that exposes ASP.NET SiteMaps as HTML to help
other search engines index the site is also provided."
"shapper" <mdmoura@xxxxxxxxx> wrote in message
news:1160309405.272792.273500@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I am trying to convert an Asp.Net 2.0 XML sitemap file to a Google's
sitemap file.
I am posting the formats of both files.
1. How can I do the conversion?
2. And can I use an .ashx Asp.Net file that when the .ashx file is
called the Google XML file is generated?
Thank You,
Miguel
GOOGLE SiteMap
<?xml version="1.0" encoding="UTF-8"?>
< urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
< url>
< loc>http://www.mydomain.com/example.aspx</loc>
< lastmod>2005-01-01</lastmod>
< changefreq>daily</changefreq>
< priority>0.8</priority>
</url>
</urlset>
ASP.NET 2.0 Site Map
<?xml version="1.0" encoding="utf-8" ?>
<siteMap
xmlns = "http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode>
<siteMapNode
url = "~/example.aspx"
changefreq = "daily"
lastmod = "2005-01-01"
description = "My example page and its contents"
priority = "0.8"
title = "Example page" />
</siteMapNode>
</siteMap>
Note: description and title should be droped when converting from
Asp.Net to Google sitemap.
.
- References:
- Google SiteMap
- From: shapper
- Google SiteMap
- Prev by Date: asp.net 1.1 vs 2.0....
- Next by Date: Set Conditional AutoPostBack In User Control
- Previous by thread: Google SiteMap
- Next by thread: Re: Google SiteMap
- Index(es):
Relevant Pages
|