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

Recent

Welcome to TinyPortal. Please login or sign up.

February 26, 2024, 02:06:41 PM

Login with username, password and session length
Members
  • Total Members: 3,881
  • Latest: fords8
Stats
  • Total Posts: 195,080
  • Total Topics: 21,209
  • Online today: 104
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 62
  • Total: 62

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