zoukankan      html  css  js  c++  java
  • asp.net向Google提交Sitemap的代码

    这两天给自己网站写了提交sitemap的代码,如果是新手,请过来看,如果是高手,可以不用看。

    aspx代码

    Code

    cs代码:

    Code

    另1:XmlWriter writer = XmlWriter.Create(writer1, settings); 如果 writer1是直接文件路径如 d:\TestFolder\TestFile.xml 则settings有效果,不然无效。
    哪位知其原,请告诉我。不甚感谢。

    另2:google sitemap 暂不支持二级域名的提交,哪位有好方法,欢迎献上来。

    阿里云优惠券领取地址:https://partner.aliyun.com/shop/35783975 ,需要更多优惠请联系QQ和微信:891115,热线:400-968-4968
  • 相关阅读:
    HTML
    python io
    python 线程进程
    python socket
    python 面向对象2
    python 面向对象
    python hashlib模块
    python configparser模块
    python logging模块
    数组去重方法汇总
  • 原文地址:https://www.cnblogs.com/coolbug/p/1410224.html
Copyright © 2011-2022 走看看