TinyPortal
Development => Block Codes => Topic started by: MetalHellsangel on March 16, 2006, 02:15:09 AM
Php code to syndacate rss feeds in either blocks or articles
Download & Support HERE (http://www.blockcodes.com)
Thanks for this, it works really well, especially placing it in a php article and linking from a menu.
Is there a way to reduce the font size slightly as its a little large?
Cheers
DAD
See this
echo "<table width=\"100%\" border=\"0\"><tr>
<td class=\"main-table\">
<span class=\"nav-head\"><strong>
";
printf("<p><b><a href='%s'>%s</a></b></p>", // make our title into an actual link
trim($link),htmlspecialchars(trim($title))); // remove html characters from the title
echo "</tr>";
echo "<tr>
<td class=\"nav\">";
printf("<p>%s</p>",$description); // Print out the live journal entry
echo"</td>";
echo "</tr>";
echo "</table>";
you can add your own font tags in there, it's just like html, except you need to add \" slashes before quotations.
great thanks very much :)
Don't know if this happening to anyone else but this seems be giving me errors :o
Quote
8: Use of undefined constant r - assumed 'r'
File: /home/lesmonds.co.uk/smf/Themes/TP_helios_multi11_rc2/TPortal.template.php (eval?)
Line: 67
Quote from: MetalHellsangel on March 16, 2006, 02:15:09 AM
Support For this Snippet Can Be found Here (http://noizepollutionrox.com:70/index.php?topic=3.msg3;topicseen)