Click here to Skip to main content
15,897,518 members
Articles / Programming Languages / C#

Sitemap and Sitemap Index Generator

Rate me:
Please Sign up or sign in to vote.
3.14/5 (5 votes)
25 Mar 2009CPOL2 min read 39.9K   1.1K   20  
Base class for generating sitemaps and sitemap indexes for Google, Yahoo!, and MSN.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Abstractions.Attributes;

namespace Core.Web.Types
{
  public enum UpdateFrequency
  {
    [EnumDescription("always")]
    Always,
    [EnumDescription("hourly")]
    Hourly,
    [EnumDescription("daily")]
    Daily,
    [EnumDescription("weekly")]
    Weekly,
    [EnumDescription("monthly")]
    Monthly,
    [EnumDescription("yearly")]
    Yearly,
    [EnumDescription("never")]
    Never
  }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer Intuitive Search Technologies
United Kingdom United Kingdom
Originally from New Zealand, currently work as Development Directory at a software company in the UK specialising in online marketing and advertising.
I have a blog located at: http://andrew.thomas.net.nz, which is all about development in Microsoft .Net, focused on C#, Asp .NET, SQL Server and SEO. Check it out...

Comments and Discussions