Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

September 28, 2022, 07:16:24 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 193513
  • Total Topics: 21092
  • Online today: 91
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 77
Total: 77

Author Topic: RSS Feed reader For blocks & articles  (Read 8578 times)

0 Members and 1 Guest are viewing this topic.

MetalHellsangel

  • Guest
RSS Feed reader For blocks & articles
« on: March 15, 2006, 07:15:09 PM »
Php code to syndacate rss feeds in either blocks or articles

Download & Support HERE
« Last Edit: June 05, 2006, 01:47:28 PM by MetalHellsangel »

DAD

  • Guest
Re: RSS Feed reader For blocks & articles
« Reply #1 on: March 18, 2006, 05:04:59 AM »
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

  • Guest
Re: RSS Feed reader For blocks & articles
« Reply #2 on: March 18, 2006, 06:14:12 AM »
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

  • Guest
Re: RSS Feed reader For blocks & articles
« Reply #3 on: March 18, 2006, 10:12:19 AM »
great thanks very much :)

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3169
    • Tiny Pix... Free Image Hosting and Sharing.
Re: RSS Feed reader For blocks & articles
« Reply #4 on: March 18, 2006, 01:09:59 PM »
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
Please don't PM me for support without an invitation.


MetalHellsangel

  • Guest
Re: RSS Feed reader For blocks & articles
« Reply #5 on: March 18, 2006, 05:07:58 PM »