Kapture
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011
03:50 AM
XML Help
Hi all,
I have a site that I update regularly with MP3s and basically what I want to do is
have my XML parse the data so that in my MP3 selection menu I have all the old
MP3s but also have the selection menu update automatically with the new MP3s that I add to my site.
Also, I have never worked with XML and I find it very weird to work with. (I'm not a network programmer 😛 )
Thank you very much to whoever can help me out.
Edit- Yes I have looked at the examples in the SDK and also the Docs, but it's still difficult for me.
I have a site that I update regularly with MP3s and basically what I want to do is
have my XML parse the data so that in my MP3 selection menu I have all the old
MP3s but also have the selection menu update automatically with the new MP3s that I add to my site.
Also, I have never worked with XML and I find it very weird to work with. (I'm not a network programmer 😛 )
Thank you very much to whoever can help me out.
Edit- Yes I have looked at the examples in the SDK and also the Docs, but it's still difficult for me.
Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that. Hate multiplies
hate, violence multiplies violence, and toughness multiplies toughness in a descending spiral of destruction. - MLK Jr.
hate, violence multiplies violence, and toughness multiplies toughness in a descending spiral of destruction. - MLK Jr.
5 REPLIES 5
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011
12:48 PM
Re: XML Help
This would be done on the server, so you might use something like PHP or perl to build a list of all mp3 and associateed info, in XML.
XML typically might look like this:
XML typically might look like this:
<songs>
<song>
<title>Dance of the River Monkeys</title>
<artist>Apezilla</artist>
<mediafile>http://www.myserver.com/apezilla/dance%20of%20the%20River%20Monkeys.mp3</mediafile>
</song>
<song>
<title>My new Red Shoes</title>
<artist>Shoefetish</artist>
<mediafile>http://www.myserver.com/shoefetish/My%20New%20Red%20Shoes.mp3</mediafile>
</song>
</songs>
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Kapture
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011
05:12 PM
Re: XML Help
Thanks for the reply,
I understand how to have static data now with the info you provided, but I'm still
confused on how to make my data dynamic (updating when I update the server)
without rolling out a new channel update every week I update the server.
I understand how to have static data now with the info you provided, but I'm still
confused on how to make my data dynamic (updating when I update the server)
without rolling out a new channel update every week I update the server.
Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that. Hate multiplies
hate, violence multiplies violence, and toughness multiplies toughness in a descending spiral of destruction. - MLK Jr.
hate, violence multiplies violence, and toughness multiplies toughness in a descending spiral of destruction. - MLK Jr.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011
07:23 PM
Re: XML Help
"Kapture" wrote:
Thanks for the reply,
I understand how to have static data now with the info you provided, but I'm still
confused on how to make my data dynamic (updating when I update the server)
without rolling out a new channel update every week I update the server.
You would point your code to an XML file that is either dynamically or statically generated on your server. If you code is looking for a specific URL, you just need to update the content at that URL, and the channel will read the new data. No need to build/release a new channel.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Kapture
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011
08:03 PM
Re: XML Help
Wow, I never thought about that. 😛
Thank you for the info guys and hopefully
I can get this to work.
Cheers,
Kapture
Thank you for the info guys and hopefully
I can get this to work.
Cheers,
Kapture
Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that. Hate multiplies
hate, violence multiplies violence, and toughness multiplies toughness in a descending spiral of destruction. - MLK Jr.
hate, violence multiplies violence, and toughness multiplies toughness in a descending spiral of destruction. - MLK Jr.
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011
05:29 PM
Re: XML Help
This might be helpful:
http://www.php-help.ro/php-tutorials/output-folder-content-in-xml-file/
http://www.php-help.ro/php-tutorials/output-folder-content-in-xml-file/
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!