10
If the News module is installed, the News Headline links are added to your XOOPS backend.php feed.
Here is a way to display a XOOPS backend.php RSS news feed on a static html page.
1) Download
rss2html.php. Upload it to the XOOPS server.
2) Make an rss news template (named newstemplate.html) and upload it to the static html site's root directory.
le="color: #000000"><?php <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>RSS News Feed</title> </head> <body> <H3>~~~FeedTitle~~~</H3> <p>~~~FeedDescription~~~</p> <TABLE width="100%"> ~~~BeginItemsRecord~~~ <TR> <TD> <hr width="90%" align="left"> </TD> </TR> <TR> <TD> <p><A href="~~~ItemLink~~~" target="_blank">~~~ItemTitle~~~</A></p> </TD> </TR> <TR> <TD> ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~ </TD> </TR> <TR> <TD> ~~~ItemDescription~~~ </TD> </TR> ~~~EndItemsRecord~~~ </TABLE> </body> </html>
3) Add some iframe code to the html page where you want to display the news feed.
le="color: #000000"><?php <iframe name="rssnews" src="http://yourxoopssite/rss2html.php?XMLFILE=http://yourxoopssite/backend.php&TEMPLATE=newstemplate.html&MAXITEMS=10" height="400" width="99%" title="RSS News Feed" align="center"> Your browser does not support inline frames. </iframe>
The XMLFILE url can point to any xml rss feed.
le="color: #000000"><?php To display Headlines from a single News category: XMLFILE=http://yourxoopssite/modules/news/backendt.php?topicid=1