WESECE Forum
August 01, 2010, 03:14:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Calendar Links Login Register  
phpld Mods index LifeTime membership LifeTime members Sites Create a Thumb! SEO Desktop
New from Iwebtools! Adsflip...A Must have advertising Tool!!
Pages: [1]   Go Down
  Print  
Author Topic: Re: Add RSS feed Link  (Read 545 times)
0 Members and 1 Guest are viewing this topic.
kosir
sloRSS.net
Lifetime Member
Newbie
***

Karma: 1
Offline Offline

Gender: Male
Posts: 31


WWW
« on: July 18, 2007, 10:43:26 PM »

Hey!

I got everything working but now I am trying to show a link to rss feed for submissions with feeds in link.tpl but it doesn't show up. I am using

{if $RSS == NULL}{else}<a href='{$RSS|escape|trim}' target='_blank'><img src='{$smarty.const.FULL_TEMPLATE_PATH}/images/rss.gif' alt='RSS vir strani {$TITLE|escape|trim}' border='0' /></a>{/if}

To be able to disply RSS feed on detail page I had to add '$data['RSS']          = $rdata['RSS'];' to detail.php. Where must I also add it to be able to use it in link.tpl.

I am also trying to get some RSS parsing script to work on my directory so I wouldn't use javascript to display posts from feeds but PHP script. This way SE could also see it and it would make detail pages more dynamic but I can't get it to work.

Since I can't use Smarty in php code I don't know how to read the feeds URL from the db. Got any ideas or suggestions?


PS: The script allow you to use cashed RSS data so it won't put too much load on server and I have it setup on my dir (even if it's not working) to check the feeds only once per week or not even that if the page don't get any visitors.
Logged

wesece
Board Administrator
Administrator
Hero Member
*****

Karma: 14
Offline Offline

Gender: Male
Posts: 559


459048412 sidneyrill@insightbb.com
WWW
« Reply #1 on: July 18, 2007, 10:53:16 PM »

use $link.RSS instead of $RSS

nothing else needed
Logged

R.I.P. Wesece

DO NOT CONTACT THIS ID! ANY AND ALL CONTACTS WILL NOT BE SEEN!

CONTACT SHADAV OR POST IN THE FORUMS

This Id has been left in tact out of respect for wesece.
WESECE Forum
« Reply #1 on: July 18, 2007, 10:53:16 PM »

Is your website SEO Ready?
 Logged
kosir
sloRSS.net
Lifetime Member
Newbie
***

Karma: 1
Offline Offline

Gender: Male
Posts: 31


WWW
« Reply #2 on: July 18, 2007, 10:56:59 PM »

thanks!
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Directory Toolbar



Directory Tools
Latest Featured Links
wesece.net Toolbar
Free Text Message

Partners




Powered by MySQL Powered by PHP Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!