无为清净楼资源网 Design By www.qnjia.com
示例地址:
http://www.18eden.com/rss.asp
站点:http://www.18eden.com/jiankang
该程序放根目录
或者其他目录,地址自己改,读出最新的20条资源.( 可以修改成读取get叁数的形式)
自动判断网站地址端口,无需要人工干预.
复制代码 代码如下:
<% Option explicit %>
<!--#include file="Manage/Include/Config.do" -->
<%
Dim sSQL, rs, sCrLf, sXmlClear, sRssHead, sRssEnd ,Url
sCrLf = chr(13) & chr(10) '回车+换行
If Request.ServerVariables("HTTPS") = "on" Then
URL = "https://"
Else
URL = "http://"
End If
Url=Url&Request.ServerVariables("SERVER_NAME")&":"&Request.ServerVariables("SERVER_PORT")
sXmlClear = "<?xml version='1.0' encoding='gb2312'?>" & sCrLf
'sRssHead ="<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:sy='http://purl.org/rss/1.0/modules/syndication/' xmlns:admin='http://webns.net/mvcb/' xmlns='http://purl.org/rss/1.0/'>"
sRssHead = "<rss version='2.0'>" & sCrLf
sRssHead = sRssHead & "<channel>" & sCrLf
sRssHead = sRssHead & "<title> "& Def_MySiteTitle &" </title>" & sCrLf
sRssHead = sRssHead & "<description> "& Def_SysTitle &" </description>" & sCrLf
sRssHead = sRssHead & "<link>" & url& "</link>" & sCrLf
sRssHead = sRssHead & "<language>zh-cn</language>" & sCrLf
sRssHead = sRssHead & "<docs>News Center</docs>" & sCrLf
'sRssHead = sRssHead & "<dc:creator>Yezhan,okhtm@msn.com</dc:creator>" & sCrLf
sRssHead = sRssHead & "<generator>Rss Generator</generator><items>" & sCrLf
sRssEnd = "</items></channel></rss>"
'Response.CharSet="gb2312" '数据集
Response.ContentType="text/xml" '数据流格式定义
Response.ContentType="application/xml"
Response.Expires=0
Response.write sXmlClear
Response.write sRssHead
Dim Conn
Set Conn = Server.CreateObject("Adodb.Connection")
Conn.Open ConnStr
Dim sql
Sql="select Top "& RssNewsList_PageSize &" Title,FilePath,AddTime,KeyWord,Content,Classtitle,EditorTitle From view_NewsInfo where Del=0 Order By addTime DESC"
Set Rs=Server.CreateObject("ADODB.RecordSet")
Rs.open sql,conn,1,2
IF RS.EOF AND RS.BOF Then
Response.Write("<item></item>")
Else
do while not rs.eof
Response.Write("<item>")&RS("Title")
Response.Write("<title><![CDATA["&Rs("Title")&"]]></title>")
Response.Write("<description><![CDATA["&RS("KeyWord")&"]]>")
Response.Write("<content><![CDATA["&RS("Content")&"]]></content>")
Response.Write("<link>" &url&RS("FilePath")&"</link>")
Response.Write("<subject>"&RS("Classtitle")&"</subject>")
Response.Write("<creator>"&RS("EditorTitle")&"</creator>")
Response.Write("<date>"&RS("addtime")&"</date>")
Response.Write("</description></item>")
RS.MoveNext
loop
end if
rs.close
set rs=nothing
Response.write sRssEnd
%>
陆续放出少年不在修改版 tsys修改办法```
http://www.im286.com/thread-1370996-1-1.html
http://www.18eden.com/rss.asp
站点:http://www.18eden.com/jiankang
该程序放根目录
或者其他目录,地址自己改,读出最新的20条资源.( 可以修改成读取get叁数的形式)
自动判断网站地址端口,无需要人工干预.
复制代码 代码如下:
<% Option explicit %>
<!--#include file="Manage/Include/Config.do" -->
<%
Dim sSQL, rs, sCrLf, sXmlClear, sRssHead, sRssEnd ,Url
sCrLf = chr(13) & chr(10) '回车+换行
If Request.ServerVariables("HTTPS") = "on" Then
URL = "https://"
Else
URL = "http://"
End If
Url=Url&Request.ServerVariables("SERVER_NAME")&":"&Request.ServerVariables("SERVER_PORT")
sXmlClear = "<?xml version='1.0' encoding='gb2312'?>" & sCrLf
'sRssHead ="<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:sy='http://purl.org/rss/1.0/modules/syndication/' xmlns:admin='http://webns.net/mvcb/' xmlns='http://purl.org/rss/1.0/'>"
sRssHead = "<rss version='2.0'>" & sCrLf
sRssHead = sRssHead & "<channel>" & sCrLf
sRssHead = sRssHead & "<title> "& Def_MySiteTitle &" </title>" & sCrLf
sRssHead = sRssHead & "<description> "& Def_SysTitle &" </description>" & sCrLf
sRssHead = sRssHead & "<link>" & url& "</link>" & sCrLf
sRssHead = sRssHead & "<language>zh-cn</language>" & sCrLf
sRssHead = sRssHead & "<docs>News Center</docs>" & sCrLf
'sRssHead = sRssHead & "<dc:creator>Yezhan,okhtm@msn.com</dc:creator>" & sCrLf
sRssHead = sRssHead & "<generator>Rss Generator</generator><items>" & sCrLf
sRssEnd = "</items></channel></rss>"
'Response.CharSet="gb2312" '数据集
Response.ContentType="text/xml" '数据流格式定义
Response.ContentType="application/xml"
Response.Expires=0
Response.write sXmlClear
Response.write sRssHead
Dim Conn
Set Conn = Server.CreateObject("Adodb.Connection")
Conn.Open ConnStr
Dim sql
Sql="select Top "& RssNewsList_PageSize &" Title,FilePath,AddTime,KeyWord,Content,Classtitle,EditorTitle From view_NewsInfo where Del=0 Order By addTime DESC"
Set Rs=Server.CreateObject("ADODB.RecordSet")
Rs.open sql,conn,1,2
IF RS.EOF AND RS.BOF Then
Response.Write("<item></item>")
Else
do while not rs.eof
Response.Write("<item>")&RS("Title")
Response.Write("<title><![CDATA["&Rs("Title")&"]]></title>")
Response.Write("<description><![CDATA["&RS("KeyWord")&"]]>")
Response.Write("<content><![CDATA["&RS("Content")&"]]></content>")
Response.Write("<link>" &url&RS("FilePath")&"</link>")
Response.Write("<subject>"&RS("Classtitle")&"</subject>")
Response.Write("<creator>"&RS("EditorTitle")&"</creator>")
Response.Write("<date>"&RS("addtime")&"</date>")
Response.Write("</description></item>")
RS.MoveNext
loop
end if
rs.close
set rs=nothing
Response.write sRssEnd
%>
陆续放出少年不在修改版 tsys修改办法```
http://www.im286.com/thread-1370996-1-1.html
标签:
tsys,_rss程序
无为清净楼资源网 Design By www.qnjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无为清净楼资源网 Design By www.qnjia.com
暂无评论...
更新日志
2024年11月15日
2024年11月15日
- 张真.1993-失恋十四行【上华】【WAV+CUE】
- 钟明秋《爱有天意HQCD》[低速原抓WAV+CUE]
- 孙云岗唢呐《金声玉振[HIFI珍藏版]》[低速原抓WAV+CUE]
- 谭艳精讯TEST-CD试音39号》2CD[DTS-WAV]
- 姚璎格《发烧女中音》DSD版[低速原抓WAV+CUE][1G]
- 张玮伽《微风细雨DSD》发烧大碟[WAV+CUE][1.1G]
- 群星《2024好听新歌14》十倍音质 U盘音乐 [WAV分轨][966M]
- s14全球总决赛T1战队队员都有谁 LOLs14全球总决赛T1战队介绍
- 英雄联盟faker身价有10亿吗 英雄联盟faker身价介绍一览
- faker大魔王称号怎么来的 faker大魔王称号来源介绍
- PS5 Pro上的蒂法更美了!博主盛赞新机1000%值得购买
- 腾讯互娱再离职一员大将!或因供应商贪腐
- Ayaneo3游戏掌机预热:旗舰定位、造型圆润自带底键
- 动力火车.1999-背叛情歌【上华】【WAV+CUE】
- 刘力扬.2019-Neon.Lit虹【摩登天空】【FLAC分轨】