Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    AMF
    AMF is offline
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    using XML data in a HTML page

    Hi there,

    I am creating a TV guide for a website, i have the XML file of which contains all the channel information needed and I have a HTML web page of which i want to feed the data into.
    Can anyone give me any tips or point me to a tutorial somewhere that would help me figure out how to do this?

    Any help is much appreciated,
    Thanks!

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by AMF View Post
    Hi there,

    I am creating a TV guide for a website, i have the XML file of which contains all the channel information needed and I have a HTML web page of which i want to feed the data into.
    Can anyone give me any tips or point me to a tutorial somewhere that would help me figure out how to do this?

    Any help is much appreciated,
    Thanks!
    that's depend of what you can run on that server( I assume is a remote page), what programming language you know, how you want to do the processing, server side or client side.

    best regards

  • Users who have thanked oesxyl for this post:

    AMF (12-17-2008)

  • #3
    AMF
    AMF is offline
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    that's depend of what you can run on that server( I assume is a remote page), what programming language you know, how you want to do the processing, server side or client side.

    best regards
    Hey thanks for the reply

    i know i can run php on the server and javascript if that helps.
    the programming languages i know are java and html but i am using (and learning at the same time) javascript, css, html and php.
    the processing should be server side (if that means that the xml data will be on a server and will upload to the webpage from the server?)

    sorry if i am not really clear enough, ive not done this type of thing before thats why i am looking for a bit of help

    thanks again!

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by AMF View Post
    Hey thanks for the reply

    i know i can run php on the server and javascript if that helps.
    the programming languages i know are java and html but i am using (and learning at the same time) javascript, css, html and php.
    the processing should be server side (if that means that the xml data will be on a server and will upload to the webpage from the server?)
    some solution:
    - only with php on server side, you can use one of this extensions:

    http://www.php.net/manual/en/refs.xml.php

    I prefere dom extension and in your case if I use this I also use xslt to transform the feed.

    - you can use only javascript, this is one example( same idea with xslt):

    http://www.mindlence.com/WP/?page_id=224

    another idea is to load xml( same way as in previous link) and using usual methods of manipulating the dom tree to insert data in html page( without xslt)

    - a mixed method, ajax, some thing php others javascript. You can find some frameworks which can simplify this( and in my opinion add new complication, ).

    sorry if i am not really clear enough, ive not done this type of thing before thats why i am looking for a bit of help
    no problem, this questions are normal.

    best regards

  • Users who have thanked oesxyl for this post:

    AMF (12-17-2008)

  • #5
    AMF
    AMF is offline
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    some solution:
    - only with php on server side, you can use one of this extensions:

    http://www.php.net/manual/en/refs.xml.php

    I prefere dom extension and in your case if I use this I also use xslt to transform the feed.

    - you can use only javascript, this is one example( same idea with xslt):

    http://www.mindlence.com/WP/?page_id=224

    another idea is to load xml( same way as in previous link) and using usual methods of manipulating the dom tree to insert data in html page( without xslt)

    - a mixed method, ajax, some thing php others javascript. You can find some frameworks which can simplify this( and in my opinion add new complication, ).


    no problem, this questions are normal.

    best regards
    thank you so much i'll get onto reading that stuff and see how it comes along!

  • #6
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by AMF View Post
    thank you so much i'll get onto reading that stuff and see how it comes along!
    you are welcome . When you are decided or if you have other question/problems post,

    best regards

  • Users who have thanked oesxyl for this post:

    AMF (12-17-2008)


  •  

    Posting Permissions

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