wrx Posted January 31, 2010 Posted January 31, 2010 I wanted this functionality for my newspaper and thought others might find it usefull What is it ? Function to display RSS feeds in your game newspaper / or any where on your site. Why ? Some games have a main site for news, game updates,etc... that users might not visit regularly since they most likely bookmark the game link and come directly to the login page missing any site news /content.Grabbiing this data and displaying it in your in game newspaper will increase the chance of getting game news and updates to your users attention. create file sitenews.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add in any file you want to want to display your feed (newspaper.php,loggedin.php,etc....) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. =================================================================== note You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. getFeed("http://www.yourdomain.com/?feed=rss2" - is your feed address your grabbing ( this can also be any valid feed address you might want to grab) , 5 - is the number of posts to pull Quote
bluegman991 Posted January 31, 2010 Posted January 31, 2010 nice mod i think ill try it out but we could save pages by just adding the function to global functions Quote
Zero-Affect Posted February 1, 2010 Posted February 1, 2010 Nice idea RSS into MC does seem a little far though, it's a game but good job. Quote
Jordan Palmer Posted February 1, 2010 Posted February 1, 2010 Not something I'd use, However thank's for the add. I may end up using one day lol Quote
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.