« FinePrint changes the way I print. | Main | August Madness - A tale of Classic ASP, ... »

Google Sitemaps

Posted 2006-08-21 11:49 PM in ASP.NET | DasBlog.

ScottongoogleI just checked in support for generation of Google Sitemaps directly from DasBlog. Omar anticipates a release this week. We also have a continuous integration build going internally thanks to Paul van Brenk so we may be able to have always-fresh" releases soon (remember to back up your stuff and manually merge the httpHandlers section of your web.config). We also will have an AJAX-based "autosave draft" feature as well thanks to Steven Rockarts and Justice Gray.

NOTE: The daily builds from Paul are DAILY BUILDS. They are not the official release. We'll release the final one SourceForge. However, I'm ALWAYS running the daily build on this blog, so it's pretty baked. Upgrading is just copying a few new files and merging your web.config.
UPDATE: Daily Builds of DasBlog are at
http://dasblog.info/dbftp/

If you haven't yet, go log into Google Webmaster Tools and check out what Google knows about your site. It includes a robots.txt validator and lets you know what keywords folks are using to get to your site.

Google sitemaps are very simple and a pretty good idea, I think. It lets me, as a blog publisher, provide a great deal of context and "freshness" data to Google that I have stored (trapped) inside the blog.

Sure, arguably they could get a lot of that information by gleaning it from If-Modified-Since headers, but this is such a simple format, why NOT do it?

Here's an example snippet. The lastmod element can include time detail as well, but I think date is enough for blog purposes. The priority is pretty much relative. In this case, the home page is more important than a post and a comments page is less important than a post page.

<?xml version="1.0"?>
<urlset xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.google.com/schemas/sitemap/0.84">
  <url>
    <loc>http://www.hanselman.com/blog/default.aspx</loc>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <lastmod>2006-08-22</lastmod>
  </url>
  <url>
    <loc>http://www.hanselman.com/blog/archives.aspx</loc>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <lastmod>2006-08-22</lastmod>
  </url>
  <url>
    <loc>http://www.hanselman.com/blog/CommentView.aspx?...</loc>
    <changefreq>daily</changefreq>
    <priority>0.7</priority>
    <lastmod>2006-08-22</lastmod>
  </url>
  <url>
    <loc>http://www.hanselman.com/blog/FinePrintChangesTheWayIPrint.aspx</loc>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
    <lastmod>2006-08-22</lastmod>
  </url>
....SNIP....

Aside, I had no idea I was the 3rd (or so) Scott if you search just for "Scott" on Google One day I'll crush Scott Fly Rods, but until that day, it's the Bronze for me. ;)

I also encourage folks to "sesha iWeb" with Google ngaisiZulu. ;)

Tracked by:
"Daily builds of dasBlog" (Vasanth Dharmaraj's Blogs) [Trackback]
"The Dasblog 1.9 AJAX Autosave true story (part 2)" (Gray's Matter) [Trackback]
"DasBlog 1.9 Released" (Scott Hanselman's Computer Zen) [Trackback]
"dasBlog 1.9 Just Released! " (Mike Schinkel's Miscellaneous Ramblings) [Trackback]
"it's done: dasBlog version 1.9 is there..." (schrankmonster blog) [Trackback]
"Congratulations and thank you to the DasBlog team on the 1.9 release" (Scott Sc... [Trackback]
"Major Upgrade to dasBlog" (Along the Way...) [Trackback]
"升级到dasblog 1.9" (网空的似水流年-Leon Lau's Blog) [Trackback]
"DasBlog 1.9 Released" (Chirag Batra) [Trackback]
"Google Sitemaps und Webmaster Tools" (werner - oder was ?) [Trackback]
"DasBlog 1.9 Released : new features" (Phạm Đức Hải) [Trackback]
"News 1.9 Released" (DasBlog Documentation) [Trackback]


Monday, August 21, 2006 11:41:01 PM (Pacific Standard Time, UTC-08:00)
Bertrand posted a cool HttpHandler that supports automatically generating a Google SiteMap from your configured ASP.NET 2.0 Site Navigation provider. You can download the source code and use it for free here: http://weblogs.asp.net/bleroy/archive/2005/12/02/432188.aspx

Hope this helps,

Scott
Tuesday, August 22, 2006 12:30:23 AM (Pacific Standard Time, UTC-08:00)
You're in second place if you use www.google.se :)
Tobias Barlind
Tuesday, August 22, 2006 4:58:57 AM (Pacific Standard Time, UTC-08:00)
Scott, how do you compute your update frequency and priority values?
Tuesday, August 22, 2006 11:32:15 AM (Pacific Standard Time, UTC-08:00)
Scott, the release this week, is this the 1.9 release?
Tuesday, August 22, 2006 2:02:00 PM (Pacific Standard Time, UTC-08:00)
"One day I'll crush Scott Fly Rods, but until that day, it's the Bronze for me. ;)"

Be happy you've got the bronze! I have a feeling that its going to take a lot of work before I can even get myself into the top 5 pages on a search for "Justice". ;)
Thursday, August 31, 2006 1:44:37 PM (Pacific Standard Time, UTC-08:00)
Scott, it looks like you moved up to Silver. Scott Fly Rods just can't compete
Carl
Friday, September 22, 2006 7:38:24 AM (Pacific Standard Time, UTC-08:00)
Scott,

What is the url of the sitemap ??

Thx .. Ken
Friday, October 06, 2006 1:43:25 PM (Pacific Standard Time, UTC-08:00)
Im so glad that this feature was added. Now all dasBlog needs is a tool which forces google to reindex our blogs:>
Friday, October 06, 2006 1:44:42 PM (Pacific Standard Time, UTC-08:00)
Ken. The location of the site map is http://[YourDomain]/[BlogLocation]/googlesitemap.ashx
Friday, October 06, 2006 1:55:40 PM (Pacific Standard Time, UTC-08:00)
Kevin - Actually we have a tool for that. It's the new Google Sitemap stuff in dasBlog 1.9. Log into the Google Webmaster Tools and point them to http://youblog/blog/googlesitemap.ashx. If you sign up for that you can tell them to reindex.
Friday, October 06, 2006 2:18:04 PM (Pacific Standard Time, UTC-08:00)
Scott,
I have a couple of questions about this and I was hoping that you could help since Ive had a hard time getting the facts while searching around:
1. When the Google Site Map changes does it resubmit the sitemap to google so that the sitemap can be downloaded again? Doesnt this require a post to google and not just the contents of googlesitemap.ashx to change?
2. Does frequently updating your sitemap help to have google reindex your site more frequently? Or does it just help them index your site when they go ahead and do so.
Comments are closed.

Contact

Sponsors

Hosting By

Hot Topics

Tags

Calendar

<November 2009>
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

Archives

November, 2009 (2)
October, 2009 (19)
September, 2009 (11)
August, 2009 (12)
July, 2009 (21)
June, 2009 (26)
May, 2009 (16)
April, 2009 (13)
March, 2009 (17)
February, 2009 (17)
January, 2009 (18)
December, 2008 (32)
November, 2008 (17)
October, 2008 (22)
September, 2008 (16)
August, 2008 (14)
July, 2008 (25)
June, 2008 (19)
May, 2008 (17)
April, 2008 (17)
March, 2008 (26)
February, 2008 (21)
January, 2008 (28)
December, 2007 (19)
November, 2007 (17)
October, 2007 (31)
September, 2007 (39)
August, 2007 (37)
July, 2007 (43)
June, 2007 (37)
May, 2007 (32)
April, 2007 (38)
March, 2007 (29)
February, 2007 (46)
January, 2007 (31)
December, 2006 (27)
November, 2006 (31)
October, 2006 (32)
September, 2006 (39)
August, 2006 (34)
July, 2006 (40)
June, 2006 (18)
May, 2006 (31)
April, 2006 (34)
March, 2006 (30)
February, 2006 (38)
January, 2006 (44)
December, 2005 (19)
November, 2005 (34)
October, 2005 (24)
September, 2005 (37)
August, 2005 (20)
July, 2005 (24)
June, 2005 (33)
May, 2005 (16)
April, 2005 (22)
March, 2005 (34)
February, 2005 (15)
January, 2005 (37)
December, 2004 (28)
November, 2004 (30)
October, 2004 (34)
September, 2004 (22)
August, 2004 (34)
July, 2004 (18)
June, 2004 (64)
May, 2004 (49)
April, 2004 (21)
March, 2004 (29)
February, 2004 (29)
January, 2004 (36)
December, 2003 (25)
November, 2003 (24)
October, 2003 (59)
September, 2003 (42)
August, 2003 (24)
July, 2003 (44)
June, 2003 (29)
May, 2003 (21)
April, 2003 (30)
March, 2003 (27)
February, 2003 (47)
January, 2003 (50)
December, 2002 (31)
November, 2002 (38)
October, 2002 (44)
September, 2002 (15)
May, 2002 (2)
April, 2002 (4)

Google Ads