teaching machines

Homework 3 – wettstaj

Wow Insider RSS Simulator


I am proud to announce that i have finished my app! So basically, this app was designed to be like an RSS feed simulator for a website that i often like to visit (Wow Insider). However, i really hate that the page only shows a few articles, and wanted to list the articles out so i only had to see the name and then click to see the actual article. Eventually, i would also like to add the image/video image as you see in the picture.

I basically took most of my design from wevents. I cut down what i didn’t need and figure out how the reciever worked in sending data back to the activity. From there it was only a matter of parsing XML, because this site did not have JSON or anything else. So i figured, hey, how hard could that be? Well it was a lot tougher than i thought. First i tried and automatic parser, but because the XML was in an odd format, it didn’t read quite well. Eventually, with the help of Ben Krueger’s post, i was able to get mine running how i wanted it. Thanks Ben :). So if your wondering how to parse XML his guide it extremely helpful.

I grabbed the XML from here: http://wow.joystiq.com/rss.xm

From there it was only a matter of grabbing the titles and link and setting them up to connect to a webpage through the adapters on click listener, which is done like so:

public void onItemClick(AdapterView<?> adapterView, View itemView, int position, long id) {
String url = stuff[position].getLink();
Intent intent = new Intent(Intent.ACTION_VIEW);


Leave a Reply

Your email address will not be published. Required fields are marked *