diff --git a/rss/magpie/scripts/templates/simple.smarty b/rss/magpie/scripts/templates/simple.smarty new file mode 100644 index 00000000000..c0761cffbdf --- /dev/null +++ b/rss/magpie/scripts/templates/simple.smarty @@ -0,0 +1,46 @@ + + +A Simple RSS Box: I'm not a designer + + + +
+RSS File: + + +
+ +Displaying: {$rss_url} +

+ +{* if $error display the error + elseif parsed RSS object display the RSS + else solicit user for a URL +*} + +{if $error } +Error: {$error} +{elseif $rss} + + + + + {foreach from=$rss->items item=item} + + + + + {/foreach} +
+ {$rss->channel.title} +
+ {$item.title} + + {$item.dc.date|rss_date_parse|date_format:"%A, %B %e, %Y"} +
+{else} + Enter the URL of an RSS file to display. +{/if} + + +