yacy_search_server/htroot/News.rss
luccioman 2da5f339f8 Fixed /News.html and /Wiki.html pages in Search Portal mode (issue #87).
Also fixes theses pages rendering when the peer is not online.

Re-factored code in common with /opensearchdescription.xml and
ConfigPortal.html.
2016-11-03 02:33:36 +01:00

33 lines
934 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[YaCy '#[clientname]#': #(page)#News Overview::Incoming News::Processed News::Outgoing News::Published News#(/page)#]]></title>
<link>#[context]#/News.html?page=#[page]#</link>
<image>
<url>#[context]#/env/grafics/YaCyLogo_60ppi.png</url>
<title>YaCy</title>
<link>#[context]#/</link>
</image>
#(table)#<!-- News Overview -->
::<!-- News Tables -->
#{list}#<item>
<author><![CDATA[#[ori]#]]></author>
<title><![CDATA[#[title]#]]></title>
<link><![CDATA[#[link]#]]></link>
<pubDate>#[crerfcdate]#</pubDate>
<guid>#[id]#</guid>
<description><![CDATA[
<p>#[description]#</p>
<hr />
<table border="1">
#{attributes}#<tr>
<td>#[name]#</td>
<td>#[value]#</td>
</tr>#{/attributes}#
</table>
]]></description>
<category><![CDATA[#[cat]#]]></category>
</item>#{/list}#
#(/table)#
</channel>
</rss>