Webmastersite.net
Register Log In

Show RSS Icon if feed available
I would like a rss feed icon to show if listing has a feed available.

Comments on Show RSS Icon if feed available

hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Dec 27, 2010 - 7:44 AM:

When a listing has an rss feed, there is no way to know unless you click to the details page. I would like to add a rss icon to the linkbit template that will show only if the listing has a feed available. I'm not sure what template code I should reference to do this. I'm assuming my code would be something like this: <IF {*unknown*}><img src="{IMAGESURL}/*my rss feed icon*" /></IF>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
1 of 1 people found this comment helpful
Posted Dec 27, 2010 - 9:39 AM:

<IF {LINKHASFEEDCONTENT}><img src="{IMAGESURL}/*my rss feed icon*" /></IF>
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Dec 27, 2010 - 1:33 PM:

It's working just the way I wanted now. Thank you Paul.
blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
Posted Dec 28, 2010 - 8:52 PM:

Just to extend this fuether - on the details.tpl page if I want to allow the user to subscribe to the feed (if available) from the details page, what further changes should I consider? - like user clicks on that feed icon and shoudl be able to subscribe to the feed from my directory...

Thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 29, 2010 - 4:06 PM:

A simple link to {LINKFEEDURL} would do that, right? May depend on their web browser.
blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
Posted Dec 29, 2010 - 8:06 PM:

Thanks Paul. I used the mentioned feed url variable and it is working.

just wondering - if it is possible to count the clicks to that feed url on each details listing page?
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.