Conris.Utility/SitemapLib.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/***************************************************************************************
* File: SitemapLib.cs
* Author: nathanbuggia.com
* Date: 4/15/2007
*
* Use this library to generate a standard XML Sitemap for your website. Follows the
* sitemap standard here: http://sitemaps.org. There are no copyrights or limitations
* on use for this library. Use it, sell it, claim it as your own, all okay by me.
*
* One last thing, I'm not a professional developer, I'm a marketer. Use this code at
* your own risk, because I might be committing some horrible mistake that causes the
* world to end.
* *************************************************************************************/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Text;
using System.Net;
//
// Implements the sitemap standard, http://sitemaps.org
//
namespace Conris.SitemapLib
{
public enum ChangeFrequency
{
Always = 0,
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
Never,
DontUseThisField
}
public class SiteMapItem
{
private String _loc;
public String Loc
{
get { return _loc; }
set { _loc = value; }
}
private DateTime _lastmod;
public DateTime LastMod
{
get { return _lastmod; }
set { _lastmod = value; }
}
后面还有 207 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
