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

📄 rss2.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"?> 
<rss>
	<channel>
		<title>Jaoso</title> 
        <link><%=context%></link> 
		<description>Jaoso group</description>
		<language>zh-cn</language>
		<managingEditor>xiongjie@csdn.net</managingEditor>
		<webMaster>happysuasalito@hotmail.com</webMaster>
		<pubDate><%=date%></pubDate>
		<lastBuildDate><%=date%></lastBuildDate>
		<category></category>

		<image>
			<url><%=context%>/pages/images/spring.gif</url>
			<title><%=context%></title>
			<link><%=context%></link>
			<description>welcome to Jaoso!</description>
		</image>

<logic:iterate id="article" name="articles">
		<item>
			<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>
	</channel>
</rss>

⌨️ 快捷键说明

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