TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,036
  • Total Topics: 21,335
  • Online today: 321
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 145
  • Total: 146
  • @rjen

RSS Feed reader For blocks & articles

Started by MetalHellsangel, March 16, 2006, 02:15:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MetalHellsangel

Php code to syndacate rss feeds in either blocks or articles

Download & Support HERE

DAD

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

MetalHellsangel

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.

DAD


Lesmond

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


This website is proudly hosted on Crocweb Cloud Website Hosting.