View Full Version : Python VS RSS
tdhz77
May 29th, 2009, 09:55 PM
Besides python being a full featured programming language; what are the benefits of using python over xml/rss? I've been looking for a new application to develop, but ALL of my ideas can be done using XML. The entire MTV app can be done using only XML, likewise Hulu is the same. What do you typically use python for? (I'm still reading OReilly's Python 3), so bare with me, but I'm struggling to see the difference considering how powerful Boxee's API is.
NPerez
May 29th, 2009, 10:13 PM
If you can use RSS, that's what I'd recommend.
Obviously there are more possibilities with a full-featured programming language. If I need to make a script where users can register & log into a website/service through their API, Python seems to be the solution.
That's just one example - if you look through Boxee's Python API, and all of the modules included & available for Python you'll notice a lot of things that are not remotely possible with RSS. Image processing, for one. Encryption is another, which is needed in order to authenticate with a lot of major media web-services.
So basically, when i need an app to do stuff, Python it is.
For simply gathering & browsing lists of media content, RSS is the simpler solution.
junda
May 29th, 2009, 10:52 PM
Besides python being a full featured programming language; what are the benefits of using python over xml/rss? I've been looking for a new application to develop, but ALL of my ideas can be done using XML. The entire MTV app can be done using only XML, likewise Hulu is the same. What do you typically use python for? (I'm still reading OReilly's Python 3), so bare with me, but I'm struggling to see the difference considering how powerful Boxee's API is.
Facebook has no rss, so I have to use its API and generate a local rss file to display. Python is also useful for non-content functions like usenet download.
tdhz77
May 29th, 2009, 11:09 PM
Thanks for clearing this up. Displaying data is XML's cup of tea, but changing and creating data python is where it's at. I think I understand what I must do!
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.