?? feeds.jsp
字號(hào):
<%@ page contentType="text/html;charset=gbk" errorPage="error.jsp"%>
<%@ page import="com.hongshee.ejforum.util.PageUtils"%>
<%@ page import="com.hongshee.ejforum.common.CacheManager"%>
<%@ page import="com.hongshee.ejforum.common.ForumSetting"%>
<%@ page import="com.hongshee.ejforum.common.IConstants"%>
<%@ page import="com.hongshee.ejforum.data.UserDAO.UserInfo"%>
<%@ page import="com.hongshee.ejforum.data.GroupDAO.GroupVO"%>
<%
String ctxPath = request.getContextPath();
String forumName = ForumSetting.getInstance().getForumName();
String title = PageUtils.getTitle(forumName);
UserInfo userinfo = PageUtils.getSessionUser(request);
String[] menus = PageUtils.getHeaderMenu(request, userinfo);
String homeUrl = ctxPath + "/index.jsp";
String rootPath = PageUtils.getForumURL(request);
String forumStyle = PageUtils.getForumStyle(request, response, null);
String sPrivate = "";
GroupVO aGroup = CacheManager.getInstance().getGroup('G');
if (aGroup.rights.indexOf(IConstants.PERMIT_VISIT_FORUM) < 0)
sPrivate = " ( 私密 )";
int cols = 3;
String colWidth = String.valueOf(100 / cols) + "%";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>RSS 訂閱 - <%= title %></TITLE>
<%= PageUtils.getMetas(title, null) %>
<LINK href="styles/<%= forumStyle %>/ejforum.css" type=text/css rel=stylesheet>
</HEAD>
<BODY onkeydown="if(event.keyCode==27) return false;">
<SCRIPT src="js/common.js" type=text/javascript></SCRIPT>
<DIV class=wrap>
<DIV id=header>
<%= PageUtils.getHeader(request, title) %>
<%= PageUtils.getHeadAdBanner(request, null) %>
</DIV>
<%= menus[0] %>
<DIV id=foruminfo>
<DIV id=nav><A href="<%= homeUrl %>"><%= forumName %></A> » RSS 訂閱</DIV>
</DIV>
<DIV class=box><SPAN class=headactions>
<IMG id=tips_img onclick="toggle_collapse('tips');" src="styles/<%= forumStyle %>/images/collapsed_no.gif"></SPAN>
<H4>訂閱提示</H4>
<TABLE id=tips cellSpacing=0 cellPadding=0 class="forumlinks">
<TBODY>
<TR>
<TH><a href="http://www.wisol.net.cn/wisc.jsp" style="FLOAT: right; padding-top:4px" target="_blank">
<img src="http://www.wisol.net.cn/images/wisol_120x50.gif" alt="萬維網(wǎng)簡(jiǎn)RSS瀏覽器"/></a>
<ul style="padding-left:27px">
<li>RSS 是一種對(duì)不同來源的信息進(jìn)行聚合以及快速瀏覽的技術(shù),使用簡(jiǎn)單、方便、快捷。</li>
<li>本論壇的 RSS 內(nèi)容輸出方式有標(biāo)題式和全文式兩種,其中全文式特別適合于離線閱讀器或?yàn)g覽器。</li>
<li>推薦使用萬維網(wǎng)簡(jiǎn) RSS 瀏覽器訂閱本論壇的頻道和頻道組(OPML),從而獲得最佳的閱讀效果。</li>
</ul></TH>
</TR></TBODY></TABLE></DIV>
<DIV class="mainbox forumlist">
<H3><A href="./index.jsp">論壇全局</A></H3>
<TABLE id="section_all" cellSpacing=0 cellPadding=0>
<TBODY><TR>
<TH width="<%= colWidth %>">
<H2><A href="<%= homeUrl %>" id="g_all_name"><%= forumName %></A></H2>
<P style="margin-bottom:2px">包含本論壇所有版塊的 RSS 地址列表</P>
<P class="moderators"><IMG src="images/opml.gif" border="0" align="absmiddle">
- <A href="<%= rootPath %>forums-all-0.xml" target=_blank>標(biāo)題式</A>
- <A href="<%= rootPath %>forums-all-1.xml" target=_blank id="g_all_url">全文式</A>
- <A href="javascript:subGroup('g_all')">訂閱</A>
</P></TH>
<TH width="<%= colWidth %>">
<H2><A href="./spec_topics.jsp?spec=new" id="c_new_name"><%= forumName %>_最新發(fā)表</A></H2>
<P style="margin-bottom:2px">包含本論壇若干個(gè)最新發(fā)表的主題<%= sPrivate %></P>
<P class="moderators"><IMG src="images/rss.gif" border="0" align="absmiddle">
- <A href="<%= rootPath %>topics-new-0.xml" target=_blank>標(biāo)題式</A>
- <A href="<%= rootPath %>topics-new-1.xml" target=_blank id="c_new_url">全文式</A>
- <A href="javascript:subChannel('c_new')">訂閱</A>
</P></TH>
<TH width="<%= colWidth %>">
<H2><A href="./spec_topics.jsp?spec=hot" id="c_hot_name"><%= forumName %>_最新熱貼</A></H2>
<P style="margin-bottom:2px">包含本論壇若干個(gè)最新的熱門主題<%= sPrivate %></P>
<P class="moderators"><IMG src="images/rss.gif" border="0" align="absmiddle">
- <A href="<%= rootPath %>topics-hot-0.xml" target=_blank>標(biāo)題式</A>
- <A href="<%= rootPath %>topics-hot-1.xml" target=_blank id="c_hot_url">全文式</A>
- <A href="javascript:subChannel('c_hot')">訂閱</A>
</P></TH>
</TR></TBODY>
</TABLE></DIV>
<%= PageUtils.getRSSFeeds(rootPath) %>
<DIV class=box><SPAN class=headactions><IMG id=forumlinks_img
onclick="toggle_collapse('forumlinks');" src="styles/<%= forumStyle %>/images/collapsed_no.gif"></SPAN>
<H4>友情推薦</H4>
<TABLE id=forumlinks cellSpacing=0 cellPadding=0 class="forumlinks">
<TBODY>
<TR>
<TD>
<h5><a href="http://www.wisol.net.cn" target="_blank">萬維網(wǎng)簡(jiǎn)</a></h5>
<p>信息聚合、網(wǎng)絡(luò)導(dǎo)航、高效快捷的RSS閱讀和瀏覽器、輕松自然的沖浪感覺</p></TD>
</TR></TBODY></TABLE></DIV>
</DIV>
<%= menus[1]==null?"":menus[1] %>
<%= menus[2]==null?"":menus[2] %>
<%= PageUtils.getFooter(request, forumStyle) %>
</BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -