I've reduced the RSS Simple Pie template down to this.
Code: Select all
<div class="feeds">{foreach from=$feeds item=onefeed}
<div class="feed-content">
{$onefeed->get_content()}
</div>
{/foreach}</div>
From this template I get the following output:
Tide Times & Heights for
Stoke Gabriel (Duncannon) on 22nd April 2015
03:19 - Low Tide (0.10m)
09:46 - High Tide (4.50m)
15:36 - Low Tide (0.30m)
21:57 - High Tide (4.50m)
It would be useful to keep the <pubDate> date. Otherwise, it's only the tidal information I wish to display and not the description.
RSS raw data is as follows:
Code: Select all
<item>
<title>Stoke Gabriel (Duncannon) Tide Times for 22nd April 2015</title>
<link>http://www.tidetimes.org.uk/stoke-gabriel-duncannon-tide-times</link>
<guid>http://www.tidetimes.org.uk/stoke-gabriel-duncannon-tide-times</guid>
<pubDate>Wed, 22 Apr 2015 00:00:00 GMT</pubDate>
<description><a href="http://www.tidetimes.org.uk" title="Tide Times">Tide Times</a> & Heights for<br/><a href="http://www.tidetimes.org.uk/stoke-gabriel-duncannon-tide-times" title="Stoke Gabriel (Duncannon) tide times">Stoke Gabriel (Duncannon)</a> on 22nd April 2015<br/><br/>03:19 - Low Tide (0.10m)<br/>09:46 - High Tide (4.50m)<br/>15:36 - Low Tide (0.30m)<br/>21:57 - High Tide (4.50m)<br/></description>
</item>