SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Parsing external XML with JS

    Is it posible to parse external XML(other server) with JavaScript?

    Somewhere(below) i read that this is not posible due to JavaScript security sandbox your code must live in.

    --------------
    http://xmljs.sourceforge.net/website/tools.html (LoadXML)

    In many cases, it is useful to load XML from another file on your web server or from another web server entirely and manipulate it with XML for <SCRIPT>. With JavaScript, the former is possible with a little effort. However, the latter is impossible due to the JavaScript security sandbox your code must live in. This makes it impossible, for example, to load and manipulate an external RSS news stream directly from JavaScript.
    --------------

  2. #2
    SitePoint Zealot DrkFusion's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Didn't Sitepoint use to offer RSS feeds, that are parsed using a javascript?? I was trying to find this earlier, but could not find it.

    Edit:
    NVM
    ZunePoint.com
    Yes, we cover everything and anything zune.

  3. #3
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd say that's probably true. Browsers don't give Javascript any cross-domain rights that I know of.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •