Gossamer Forum
Quote Reply
XML Feed - default
I have the XML Feed plugin set up to display new links. Is it possible for a default message to appear in the feed list if there are no new links?

I've tried adding the code below (in red) but it doesn't seem to work.

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="0.91">
<channel>

<title><%site_title%> Latest Additions</title>
<link><%build_root_url%></link>
<description>Site Description</description>
<language>en-us</language>

<%if link_results_loop~%>
<%loop link_results_loop%>
<item>
<title><%Title%> <%URL%></title>
<link><%config.db_cgi_url%>/jump.cgi?Detailed=<%ID%></link>
</item>
<%endloop%>
<%else%>
No new links added this week.
<%endif%>

</channel>
</rss>

Last edited by:

MJB: May 7, 2010, 8:25 AM
Subject Author Views Date
Thread XML Feed - default MJB 3312 May 7, 2010, 8:24 AM
Thread Re: [MJB] XML Feed - default
Andy 3197 May 7, 2010, 9:46 AM
Post Re: [Andy] XML Feed - default
MJB 3183 May 7, 2010, 12:08 PM