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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:20:30 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 310
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 264
  • Total: 264

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