parsing information from .asx

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • testforecho

    #1

    parsing information from .asx

    I am new to PHP. I am trying to extract the artist, title, etc. from
    this .asx stream: http://www.sirius.com/asx/6lu9ladr/starlite.asx

    I understand .asx is Windows code, but I assume this still may be
    possible. Where can I begin to figure out how to do something like this?
    Any resource suggestions or ideas would be greatly appreciated.

    Thanks,
    TFE

  • jn

    #2
    Re: parsing information from .asx

    "testforech o" <testforecho@vo lcanomail.com> wrote in message
    news:v7h4c.1970 02$B81.2901383@ twister.tampaba y.rr.com...[color=blue]
    > I am new to PHP. I am trying to extract the artist, title, etc. from
    > this .asx stream: http://www.sirius.com/asx/6lu9ladr/starlite.asx
    >
    > I understand .asx is Windows code, but I assume this still may be
    > possible. Where can I begin to figure out how to do something like this?
    > Any resource suggestions or ideas would be greatly appreciated.
    >
    > Thanks,
    > TFE
    >
    >[/color]

    These are the contents of the asx:

    <ASX Version="3.0">
    <entry>
    <ref
    href="mms://wmbcast.siriusr adio-na-regional.speede ra.net/wmbcast.siriusr adio
    -na-regional/wmbcast_siriusr adio-na-regional_jan092 004_0848_53065"/>
    <ref
    href="mms://wmbcast.siriusr adio-na-regional-a.speedera.net/wmbcast.siriusr ad
    io-na-regional/wmbcast_siriusr adio-na-regional_jan092 004_0848_53065? backup=a
    "/>
    <ref
    href="mms://wmbcast.siriusr adio-na-regional-b.speedera.net/wmbcast.siriusr ad
    io-na-regional/wmbcast_siriusr adio-na-regional_jan092 004_0848_53065? backup=b
    "/>
    </entry>
    </ASX>

    To get all that info about the streams then, I assume you have to do more
    than parse the ASX file...you have to actually connect to the media and get
    the info that way.

    I've never messed with it though....sorry .


    Comment

    Working...