⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rss1.jsp

📁 版本信息:Jaoso新闻文章发布系统 0.9.1beta1 原POPTEN新闻发布系统现更名为Jaoso,不兼容popten,目前不提供popten升级Jaoso的程序.
💻 JSP
字号:
<%@ include file="../include/includexml.jsp" %>

<%
	String context = "http://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();
	java.util.Date date = new java.util.Date();
%>
<?xml version="1.0" encoding="UTF-8"?> 
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">
	<channel xmlns="" rdf:about="<%=context%>">
		<title>Jaoso</title> 
        <link><%=context%></link> 
		<description>Jaoso group</description>
		<language>zh-cn</language>
		<date><%=date%></date>
		<image>
			<url><%=context%>/pages/images/spring.gif</url>
			<title><%=context%></title>
			<link><%=context%></link>
			<description>welcome to Jaoso!</description>
		</image>

		<items>
			<rdf:Seq>
				<logic:iterate id="article" name="articles">
				<rdf:li rdf:resource="<%=context%>/viewArticle.do?method=viewArticle&amp;id=<bean:write name="article" property="artId"/>" />
				</logic:iterate>
			</rdf:Seq>
		</items>
	</channel>


<logic:iterate id="article" name="articles">
		<item xmlns="" rdf:about="<%=context%>/viewArticle.do?method=viewArticle&amp;id=<bean:write name="article" property="artId"/>">
			<title><![CDATA[ <bean:write name="article" property="artTitle"/> ]]></title>
			<link><%=context%>/viewArticle.do?method=viewArticle&amp;id=<bean:write name="article" property="artId"/></link> 
			<description><bean:write name="article" property="artContent"/>
			</description>
			<author><bean:write name="article" property="author.name"/></author> 
			</item>
</logic:iterate>
</rdf:RDF>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -