I’m really new to this so I was hoping someone could point me in the right direction. I’d like to have a news feed within my app that I could update remotely.
I was thinking of putting a file on my website somewhere that I could fill with news items and the app would look at on load to check if there were any new items. I am just wondering if this is a bad idea. I guess my concern straight away is that someone else could hack the file and put some random crap in there.
Is there a standard way to do this? I imagine it would be done all the time but I’m stuck as to what to search for…
Disclaimer: I’ve never done anything like this yet, so this is just conjecture on my part. I’m a web developer by day, and only an amateur, first-time game developer.
If security is a big issue of yours, you could put your news items in a database on a server instead. This would at least give a user/password screen to protect your content, although, to be honest, any decent web host should be able to ensure the security of any file you’d put up.
Hey thanks Shnieider21! I didn’t get an alert for your reply. Yeah actually ,aybe I am worrying too much about it. I guess I’ll know pretty quick if someone has hacked it.
I kind of have a similar problem but i need a news feed like facebook or tumblr where
the posts might have pictures too and a text file limits that, a possible solution is to have each entry with a picture simply contain a link to the picture that is uploaded onto another folder on the server.
But that’s for your solution , I can’t really use this method because I’ll need to add push notifications at a later date and a text file definitely won’t be able to handle that unless you code something that’s honestly not worth the time. Best solution for me would be an RSS feed and I actually managed to get that working using a local server (XAMP) but as soon as I put it online the results are not what I want.