Adding RSS in Categories and Tags Page

 Thursday, September 20th, 2007
Mods Compatibility
IndexU 5.4.X
IndexU Deluxe

If you browsing my directory, you'll notices the RSS feed in the bottom of categories and tags page. It is taken from yahoo news rss using the 'rss feed' block feature that already provided by IndexU. No source code change in this regards, simply playing around with the templates file :)

For browse categories page, edit your browse.html template and add the following :

Content visible to member only. Please register or login first.

For browse tags page, edit your browsetag.html template and add the following :

Content visible to member only. Please register or login first.

You might want to adjust block parameters to suits your need.

  • url : rss feed source
  • title : the block title
  • template : the template file (you can use your own customized template to provide different layout)
  • max_item : number of rss item to show
  • cache_time : how long the rss item will be cached in second (86400 = 1 day)

Ok, thats all.
I hope this simple tips will be useful for you.

Related Mods
- Adding RSS News in Detail Page
- Yahoo News Mods

Leave a Reply