Page 1 of 1
RSS2HTML prints rtf-8 at top of page?
Posted: Sun Dec 16, 2007 5:18 pm
by Jack @ PharSide
I just upgraded to the latest version of RSS2HTML and for some odd reason, it is placing an
rtf-8 line of text above the feed output on the pmain page. Any ideas what this can be? I searched the templates and can not find where this is being called.
Here is the site:
http://www.pharside.org/index.php?page=industry-news
Running CMSMS 1.2.2 & RSS2HTML v1.2
Thanks,
-Jack
Re: RSS2HTML prints rtf-8 at top of page?
Posted: Thu Jan 10, 2008 7:39 am
by rosgar
Nice site...
But I want to know how to jump to a new window when you click the news feed..
Re: RSS2HTML prints rtf-8 at top of page?
Posted: Sat Jan 12, 2008 2:25 pm
by rosgar
Never mind.. I just figured it out.
In the template of RSS2HTML, I just added---> target="_blank"
Code: Select all
<h2>{$rss->channel.title}</h2>
<p><em>{$rss->channel.link}</em></p>
<table width="100%" border="0" cellspacing="0" cellpadding="7">
{foreach from=$rss->items item=item}
<tr style="background: {cycle values="#999999, #000000"}">
<td><h3 style="margin: 0; display: inline;"><strong><a href="{$item.link}" target="_blank">{$item.title}</a></h3></strong> - <em>{$item.pubdate}</em>
<p style="margin: 0;">{$item.summary}</p></td>
</tr>
{/foreach}
</table>