logo
Home XtGem- Templates- XtScript- bottom

Paged rss feed xtscript function

This Xtscript function adds
to the standard XtGem rss reader
The pagination is created using XtGem pagination Blocks in the Xtscript
So Xtscript custom pagination can also be used
Css colors are for demo purposes only

Yahoo world news

Main CSS class names

You can change these in the scripts if you wish
xt_feed = outer container (purple)
xt_feed_select = feed selector container (blue)
xt_feed_title = feed title (red)
xt_feed_inner = inner container (yellow)
xt_feed_item = (cyan) added via template
xt_pagination = pagination container (green)

Settings Xtscript

must go above the main Xtscript

Main Xtscript

Must go below the settings Xtscript

Time ago xtscript/javascript

Must go below the main Xtscript
For "time ago" conversion to work
.pubDate. must be wrapped in a element named pubdate in the $template variable