Keyword

Display category alias in a url to get feed adress

  • Alfonso F. Moreno
  • Alfonso F. Moreno's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 10 months ago #90363 by Alfonso F. Moreno
Display category alias in a url to get feed adress was created by Alfonso F. Moreno
I will try to explain what i want to do...I have installed the nice social bookmark mod in my web (www.madridout.es). The problem is that the feed icon takes just one feed link in all the sections, so if you are in a different category it always take the feed of the home.Well... i have invetigated the php of the mod and code is like that:echo '<a id="l8" target="_blank" rel="nofollow" href="'.$rss_url.'/index.php'?format=feed&amp;type=rss"><img title="RSS Feed" border="0" src="/modules/mod_nice_social_bookmark/icons/rss_'.$iset.'_'.$isize.'.png" alt="RSS Feed" /></a>&nbsp;';where $rss_url is "$rss_url = "http://".$_SERVER;"Then i would like to add something behind $rss_url like that: .$rss_url.'/.$categoryname.'?format=feed&amp;amp;type=rss" bla blaSo when you click on the feed icon it will appear the feed of the category i have tested in the browser typing directly and it works. Can anyone help????

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum