Google sitemap for LBS2

Google sitemap:https://www.google.com/webmasters/sitemaps/login
有gmail的可以用gmail直接登录.
登录后把提交 http://yourblogurl/sitemap.asp 就行了

sitemap.asp



<%
function outputSiteMap(arrArticle){
var postTime;
Response.ContentType="text/xml; charset="+globalEncoding;
%>"?>

<%for(var i=0;i var postTime = new Date(Number(arrArticle.log_posttime));
%>

<%=theCache.settings["baseURL"]%>article.asp?id=<%=arrArticle.log_id%>
<%=func.getDateTimeString("YY-MM-DD", postTime)%>
daily 1.0

<%}%>

<%}%>

source/src_sitemap.asp

<%
var articles;
var strSQL = "SELECT log_id, log_postTime FROM [blog_Article] WHERE log_mode=1 ORDER BY log_postTime DESC";
articles = connBlog.query(strSQL);
if(!articles) articles="";

outputSiteMap(articles);

%>