utvara
05-14-2007, 03:10 PM
The simplest way of integrating various web softwares with your Vivvo CMS is to gather data through RSS/Atom, here is extension to help you create feed boxes (feed items are formated in same manner as articles).
Check out new Vivvo forum feed box on http://www.myvivvo.com/.
This extension is based on SimplePie feed parser (http://simplepie.org), great work :cool:
Usage example:
$feed = HTML_feed_list(
'box_article_list.tpl',
array('BOX_TITLE'=> 'Vivvo forum feed','BOX_ID' => 'box_feed'),
'article_title.tpl',
array(),
'http://www.vivvo.net/forums/external.php?type=RSS2',
5
);
$template_manager->assign($feed, '/{BOX_FEED}/');
This will assign feed from Vivvo's forum to {BOX_FEED} tag, feed items will be formated using templates/content/box_article_list.tpl and templates/content/summary/article_title.tpl (you should remove {ROOT} tag from it to correct href problem).
Check out new Vivvo forum feed box on http://www.myvivvo.com/.
This extension is based on SimplePie feed parser (http://simplepie.org), great work :cool:
Usage example:
$feed = HTML_feed_list(
'box_article_list.tpl',
array('BOX_TITLE'=> 'Vivvo forum feed','BOX_ID' => 'box_feed'),
'article_title.tpl',
array(),
'http://www.vivvo.net/forums/external.php?type=RSS2',
5
);
$template_manager->assign($feed, '/{BOX_FEED}/');
This will assign feed from Vivvo's forum to {BOX_FEED} tag, feed items will be formated using templates/content/box_article_list.tpl and templates/content/summary/article_title.tpl (you should remove {ROOT} tag from it to correct href problem).