Salad UN

To Taste The Salad Of Life.

« DedeCMS 5.1版缩略图修改补充DedeCMS录入时间的修改方法 »

KingCMS友情链接模块生成XML错误修改

[ At 2008-12-13 By Ash   4 comments ]

群里有人说KingCMS的友情链接模块XML生成的时候有问题,

问题描述是生成的路径不对,参看图片

 

我大致的看了一下,既然没人修改,我就尝试的进行一下修改 找到文件page/link/fun.asp

搜索    outmap=outmap&"<loc>"大约在 424行

将outmap=outmap&"<loc>"&getpath(data(2,i),0,king.siteurl&king.inst&listpath&"/"&data(1,i))&"</loc>"

修改为 outmap=outmap&"<loc>"&getpath(data(2,i),0,king.siteurl&king.inst&listpath)&"</loc>"

搜索    outmap=outmap&"<lastmod>"大约在 425行

将outmap=outmap&"<lastmod>"&formatdate(data(0,i),1)&"</lastmod>"

修改为outmap=outmap&"<lastmod>"&formatdate(data(0,i),"yyyy-MM-dd")&"</lastmod>"

 

 

以上修改参照文章模块的时间设置,我并没有测试,如果有问题再留言,并留下详细错误。

 

 

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722 Code detection by Codefense

Copyright 2008 www.s-un.cn. Some Rights Reserved.