Grow your CSS skills. Land your dream job.

XML incorporate.

  • # May 15, 2011 at 11:55 pm

    How can i incorporate XML more into my portfolio website?

    what elements can be changed? and am i going to need to find another host that serves for xml like PHP sometimes needs to?
    PS. i do not want Flash Components.
    i would love replies to this.
    thank you.

    - Attila

    # May 16, 2011 at 7:33 am

    What XML are you looking to incorporate? If you want to take an XML file and display the contents as something readable, you’ll need to use PHP

    # May 16, 2011 at 1:06 pm

    oh seriously?

    # May 16, 2011 at 1:09 pm

    Isn’t it possible to use jquery to parse xml using ajax?: http://webhole.net/2009/12/16/how-to-read-xml-with-javascript/

    # May 16, 2011 at 10:55 pm

    xml is like a simple database. Only you make up all the tags for the data. Ex:




    David Foster Wallace
    1996
    39.99



    Thomas Pynchon
    1973
    49.95

    You then use php or js to call data from the xml file to display on in your html.
    Not sure quite what you would use it for on a portfolio site.

    # May 17, 2011 at 12:15 am

    could i use it for the portfolio part, like the images? and then display them like that? possibly in a grid system and lay it out like that, and with php – randomize it?

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".