Speedy059 Posted November 6, 2007 Share Posted November 6, 2007 I've been trying to search the forums for a way to post what announcements that are made to be posted on a main page of my site. Has anyone done this? If so, how? 0 Quote Link to comment Share on other sites More sharing options...
JofleyUK Posted November 6, 2007 Share Posted November 6, 2007 I use a free newsreader on my site, go to "www.rssfeedreader.com" and create your link to your announcements.xml file, it will give you code like this to paste into your site: <?php $olderror_reporting =error_reporting(0); include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fcrystalhost.eu%2Fsys%2Fannouncements.xml&newpage=&chead=&atl=&desc=1&owncss=1&eleminate=&auth=1&dts=1&width=300&max=3&tlen=0&rnd=&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=&tc=&ts=11&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1"); error_reporting($olderror_reporting); ?> You can then see you announcements on your site, look at mine to see: www (dot)crystalhost (dot) eu 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.