Do I need server code for xml input?

Discussion in 'HTML & Website Design' started by SEOjr, May 26, 2008.

  1. #1
    I'm planning to develop a site. Some of the pages will get data from a Contents supplier. It is in XML format.

    I have limited Web programming experience. Can I just use Frontpage / Dreamweaver to develop pages which can process XML and display it in the format I want?

    Or we have to develop server code to take care of XML first and then pass to client pages' code?

    :confused:
     
    SEOjr, May 26, 2008 IP
  2. UseShots

    UseShots Peon

    Messages:
    244
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I guess you need to XSL-process the XML data on the server side, somehow. Or get some AJAX widget that would work the the XML feeds directly in a web browser.
     
    UseShots, May 27, 2008 IP
  3. Flash Junky

    Flash Junky Well-Known Member

    Messages:
    319
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Also, make sure the site you're getting the XML feed from doesn't have XML sandbagged on their server.

    Meaning: some sites won't allow their XML files to be read from other URL's.
     
    Flash Junky, May 27, 2008 IP
  4. multippt

    multippt Peon

    Messages:
    176
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    XML can be parsed using JavaScript (not sure how, but I've seen some people do it), but it's prefered if you were to use server-side code for that instead since most server-side code can access external servers without much problems, while client-side code may not be able to do that (cross-site scripting is considered a security issue hence is disabled for most browsers, and the only way to get around it is to use a proxy which again is server-side code).
    In your case, you'll most likely need to use server-side code to get the job done since you are going to access it via another site.
     
    multippt, May 27, 2008 IP