Adding RSS News in Detail Page
|
||||||||
The RSS blocks in IndexU script is very flexible. We can use this feature to offer link owner a rss resource for news / article in their link detail page, so they will get more benefit for listing their site in your directory. You can make this available for all listing, or for PREMIUM / SPONSORED listing only.
Here is the installation guide :
- Create a custom field through IndexU Admin Panel
- Next, edit your detail_link.html and add the following code :
If you want this to available for PREMIUM / SPONSORED listing only, simply change it like this :
The above code will retrieve 5 news item and will cache them for 1 day.
You may want to change the parameters to suit your need. - One last details.
By default, IndexU show these custom fields in the "sort" filter on your browse page. So, you might want to turn it off.
Edit browse.html template file.
Change :To :
Done.
Simple isn't it :)
Probably take 5 - 10 minutes to install.
Ok, we hope this mods will be useful for you.
| Related Mods |
| - Adding RSS in Categories and Tags Page |
| - Yahoo News Mods |
| - RSS Lookup Mods |


