Discuz!NT 2.5 正式版 下载
beta、RC版升级补丁
中秋模板发布
首届Discuz!NT 模板大赛圆满结束
著名音乐网站SoGua网、分贝网
采用Discuz!NT搭建社区
FIFA Online2官网论坛使用Discuz!NT
游戏城寨论坛使用Discuz!NT搭建
Discuz!NT 2.5正式开源 Discuz!NT文档中心
用户整合说明文档
Discuz!NT亮相微软Tech-Ed 2007
Discuz!NT情景搞笑短片抢先看
 
1/2页12 跳转到查看:3999
发新话题 回复该主题

[下载] Google Sitemap生成工具2.1 for Discuz NT2.0.9

Google Sitemap生成工具2.1 for Discuz NT2.0.9

升级后系统接口变化,重新修改下..系统功能:
自动生成针对Google搜索引擎的Sitemap,生成的页面是根据最新帖子来生成,默认生成最新的500帖,
生成完提供自动提交到google的链接,点击就可以提交到google。
使用版本: Discuz NT 2.0.9
    Discuz NT 2.0下载这个: http://nt.discuz.net/showtopic-29635.html
    Discuz Nt 1.0请下载这个:http://nt.discuz.net/showtopic-21884-1.html

我的论坛演示:http://bbs.map99.net/tools/sitemap.aspx

使用方法:
1.上传压缩文件中的sitmap.aspx 到论坛的tools文件夹下

2.进入后台模板设置,这样修改后只有管理员才有这个生成sitemap的菜单:
进入后台模板管理,打开模板页:-_header.htm
找到代码:    <a href="admin/index.aspx" target="_blank">系统设置</a> |
在后面加入  <a href="tools/sitemap.aspx" target="_blank">Google SiteMap</a> |
重新生成模板就可以了

以下两处提供论坛管理员手动更改,用记事本打开sitemap.aspx文件,修改下面的值
1. total= 后面的,可以根据自己设置提交到google的页面数
2. string fileext= 设置论坛页面所使用的扩展名,如果有URLRewrite就使用自定义的后缀,否则使用默认的.aspx

演示图片:




下载地址:

附件: Sitemap.rar (2007-9-15 22:31:25, 2.89 K)
该附件被下载次数 235




Google SiteMap的作用
Google SiteMap Protocol是Google自己推出的一种站点地图协议,此协议文件基于早期的robots.txt文件协议,并有所升级。在Google官方指南中指出加入了Google SiteMap文件的网站将更有利于Google网页爬行机器人的爬行索引,这样将提高索引网站内容的效率和准确度。

TOP

 

回复:Google Sitemap生成工具2.1 for Discuz NT2.0.9

;P 支持

TOP

 

回复:Google Sitemap生成工具2.1 for Discuz NT2.0.9

支持,好东东。

TOP

 

回复:Google Sitemap生成工具2.1 for Discuz NT2.0.9

你们没有遇到问题吗??

9-7版本的错误:
==============================================



Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'Entity' does not exist in the namespace 'Discuz.Forum' (are you missing an assembly reference?)

Source Error:



Line 5:  <%@ Import namespace="System.Web.UI.WebControls" %>
Line 6:  <%@ Import namespace="System.Data" %>
Line 7:  <%@ Import namespace="Discuz.Forum.Entity" %>
Line 8:  <script runat="server">
Line 9:      /*
最后编辑可乐 最后编辑于 2007-09-16 18:09:49

TOP

 

回复: Google Sitemap生成工具2.1 for Discuz NT2.0.9

9-15的错误:

==============================================

Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'ShowforumPageTopicInfoCollection' could not be found (are you missing a using directive or an assembly reference?)
Source Error:

Line 45:    }
Line 46:
Line 47:    private void OutPut(ShowforumPageTopicInfoCollection dt)
Line 48:    {
Line 49:        /*论坛帖子的文件后缀,如果没有使用URL转发,请修改下面的.html为.aspx就可以了*/

TOP

 

回复:Google Sitemap生成工具2.1 for Discuz NT2.0.9

出现的错误版本,数据库能不能说明下?
我的.net 1.1 SQL2000没问题

TOP

 

回复: Google Sitemap生成工具2.1 for Discuz NT2.0.9



引用:
原帖由 无聊 于 2007-9-16 21:490 发表
出现的错误版本,数据库能不能说明下?
我的.net 1.1 SQL2000没问题


windows 2003+sp1
IIS6.0
.net 2.0
sql server 2000

TOP

 

回复: Google Sitemap生成工具2.1 for Discuz NT2.0.9



引用:
原帖由 可乐 于 2007-9-16 1870 发表
你们没有遇到问题吗??

9-7版本的错误:
==============================================



Compilation Error
Description: An error occurred during the compilation of a resource required to ......


这个错误应该是文件没上传上去,

删掉重新下载再上传看看

TOP

 

回复: Google Sitemap生成工具2.1 for Discuz NT2.0.9



引用:
原帖由 可乐 于 2007-9-16 21:540 发表


引用:
原帖由 无聊 于 2007-9-16 21:490 发表
出现的错误版本,数据库能不能说明下?
我的.net 1.1 SQL2000没问题


windows 2003+sp1
IIS6.0
.net 2.0
sql server 2000


你试试这个看看,奇怪官方源码只更新一个版本,2.0版本接口好像没变
Discuz NT 2.0下载这个: http://nt.discuz.net/showtopic-29635.html

TOP

 

回复: Google Sitemap生成工具2.1 for Discuz NT2.0.9



引用:
原帖由 无聊 于 2007-9-16 22:230 发表


引用:
原帖由 可乐 于 2007-9-16 21:540 发表
[quote] 原帖由 无聊 于 2007-9-16 21:490 发表
出现的错误版本,数据库能不能说明下?
我的.net 1.1 SQL2000没问题


windows 2003+sp......


试过了,失败,暂时放弃了。。。
可惜。。。

TOP

 
1/2页12 跳转到
发表新主题 回复该主题