Unity News feed

Is there a way to import some kind of feed into unity. i have a feed to import just text, but i want to be able to import images and maybe if possible videos too

1 Answer

1

Good news: Yes, you can absolutely import whatever is available on the web into Unity.

Bad news: This is not built in to Unity.

There are many libraries out there for, say, parsing RSS or parsing tweets. They typically require you to be an experienced programmer and to understand JSON or XML schemas to implement.

However, I’m not sure this is actually your question - you say “can I import a feed into Unity”, then “I have a feed already working.” Do you perhaps have some other question to ask, like “how do I import images from the web into Unity?”

well I am wanting to add a news feed to my game. but i don't want it to just show text. I am wanting it to show images that are in the feed too. so i guess that is a yes.

Okay, so you want to know how to download and display images in Unity given a URL? Please see the documentation for WWW: http://docs.unity3d.com/Documentation/ScriptReference/WWW.html

can that load a html page?

Yes it can.

Hey Tredpo, There are a couple of ways of doing that, do the hard work and code everything, or use a external plugin. There are lot of unity plugins available like in-app feedback, in-app surveys, in-app poll, newsfeed, etc.