VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    anybody know of a good xml parser, one that would allow me to extract, say for instance, Title, as in:

    Title: 'Video clip musical de 'Hotel Transilvania'

    i am looking for a good algorithm to extract a couple of values out of the xml file that i get back from youtube after sending them a query. they have several versions of this xml resource, but the one i am using for the few items to extract from, is all i need for the moment plus response time is instant over my dsl. the other query versions they serve are a little slower to respond.

    i am using borland delphi 6 thank you.

    Code:
      <?xml version="1.0" encoding="utf-8" ?> 
    - <oembed>
      <provider_url>http://www.youtube.com/</provider_url> 
      <thumbnail_url>http://i4.ytimg.com/vi/3EpkVKkwBI8/hqdefault.jpg</thumbnail_url> 
      <title>Video clip musical de 'Hotel Transilvania'. por Becky G feat. will.i.am</title> 
      <html><iframe width="480" height="270" src="http://www.youtube.com/embed/3EpkVKkwBI8?fs=1&feature=oembed" frameborder="0" allowfullscreen></iframe></html> 
      <author_name>noescine</author_name> 
      <height>270</height> 
      <thumbnail_width>480</thumbnail_width> 
      <width>480</width> 
      <version>1.0</version> 
      <author_url>http://www.youtube.com/user/noescine</author_url> 
      <provider_name>YouTube</provider_name> 
      <type>video</type> 
      <thumbnail_height>360</thumbnail_height> 
      </oembed>
    Quote Quote  
  2. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    by golly, i think i've got it!

    edit: don't got it. nothing seems to work for me. looks like i'll be writing my own customized parser.
    Last edited by vhelp; 12th Oct 2012 at 19:37.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!