Hi, I''m looking into developing an API for publishing videso/audio/etc to iTunes using Rails. Has anyone done anything like this? or can point me in the right direction? The web doesn''t seem to have anything on it, regarding Rails or other technologies. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 1/14/07, Bart <bart-ERYYqGLKSZVWk0Htik3J/w@public.gmane.org> wrote:> > Hi, > I''m looking into developing an API for publishing videso/audio/etc to > iTunes using Rails. Has anyone done anything like this? or can point > me in the right direction? The web doesn''t seem to have anything on > it, regarding Rails or other technologies. > > ThanksiTunes uses RSS. Just publish RSS with the itunes tags, and anyone can add that feed to itunes and subscribe. Yahoo has some media extensions to RSS''s enclosure element as well. http://www.apple.com/itunes/store/podcaststechspecs.html http://help.yahoo.com/l/us/yahoo/podcasts/podcasts-57268.html -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Rick! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
you might also look at OPML parsing since many of the podcatchers use it...and if you want people to be able to export their subscriptions into your app itd be good to have a parser. here''s one i''ve used in the past (i didn''t write it, but it works) # parse_opml (opml_node, parent_names=[]) # # takes an REXML::Element that has OPML outline nodes as children, # parses its subtree recursively and returns a hash: # { feed_url => [parent_name_1, parent_name_2, ...] } # def parse_opml(opml_node, parent_names=[]) feeds = {} opml_node.elements.each(''outline'') do |el| if (el.elements.size != 0) feeds.merge!(parse_opml(el, parent_names + [el.attributes[''text'']])) end if (el.attributes[''xmlUrl'']) feeds[el.attributes[''xmlUrl'']] = parent_names end end return feeds end require ''rexml/Document'' opml = REXML::Document.new(File.read(''ipodder-subscriptions.opml'')) feeds = parse_opml(opml.elements[''opml/body'']) On 1/14/07, Bart <bart-ERYYqGLKSZVWk0Htik3J/w@public.gmane.org> wrote:> > > Thanks Rick! > > > > >-- Ed Hickey Developer Litmus Media 816-533-0409 ehickey-A4HEbNdjHgMmlAP/+Wk3EA@public.gmane.org A Member of Think Partnership, Inc www.ThinkPartnership.com Amex ticker symbol: THK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---