gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > TV Guide?

#105002 - doedill - Thu Oct 05, 2006 12:10 am

is there one?

Thinking a simple program like DSLiveWeather where it'll just grab tvguide.com or tv.yahoo.com listing and show it.

#105017 - felix123 - Thu Oct 05, 2006 6:23 am

Just what I'm thinking. There are programs that make tv listings in xml format at http://xmltv.org.

#105067 - deshi - Thu Oct 05, 2006 5:37 pm

if you have an RSS feed with the tvprogramm in it you could use DSMail to view it on your DS.
But sadly I haven't found a german tv programm feed yet :(

#105226 - doedill - Fri Oct 06, 2006 9:31 pm

is there a tutorial for using XML in HTML?

#105229 - HyperHacker - Fri Oct 06, 2006 9:37 pm

What do you want to do with it?
_________________
I'm a PSP hacker now, but I still <3 DS.

#105280 - Mrshlee - Sat Oct 07, 2006 8:48 am

There are two ways to deal with this..

1) DS using wifi connects to a http/xml server and downloads the required data.. using an XML pharsing tool shows the data in a readable format on the screen.

or the lick method.

2) have a server download all the xml info and cache is locally.. the server takes the "xml" and turns it into basic strings that can be sent to to DS

If you want to display TV information... might be worth looking at the hundreds of TV tools.
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#105283 - Lick - Sat Oct 07, 2006 10:24 am

I'll just expand what MrShlee said.

Method 1 is a direct way of getting the information, and parsing the information on the DS. Advantage of this method is that you don't need a server inbetween. Disadvantages are, the XML file could be big (dswifi's www->DS speed is still slow) and that would also take more processing time on the DS to parse the XML.

Method 2 is a indirect way of getting the information, using a server to parse the information. Advantages are that you can simplify the XML data into a shorter format. The downloadspeed and processing time depend on the server instead of the DS. You can implement caching, but in this case I don't think it's really necessary, but in the case of DSLiveWeather, the weather.com XML License required me to cache the information for some amount of time. Disadvantage, you need that extra server and servercode.

- Lick
_________________
http://licklick.wordpress.com