1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

XML Feeds

Discussion in 'Programming' started by DarrenC, Sep 6, 2004.

  1. #1
    Okay, what is XML?

    Now that you have answered that I'd like to know how difficult it is to set up a feed. What I have is a MySQL database which has data relating to clients holiday properties - I would like to be able to produce a feed of this data to load on other websites.

    Also I'd like companies who have a large number of properties to submit be able to send the property details in an xml feed and then load this into the MySQL database.

    Is this what XML can do, or am I on the wrong track? If not, how can I get say a text file to load into a MySQL database? Theres hundreds of fields, so it'll be a big file.

    Any help?

    Darren
     
    DarrenC, Sep 6, 2004 IP
  2. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Trance-formation, Sep 7, 2004 IP
  3. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you saying you want a xml feed to show your holiday properties, which the data is stored in a mysql db?

    This can be done using PHP.
     
    xml, Sep 7, 2004 IP
  4. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Trance thanks - will check out the link!

    Sad innit! hehe

    XML - No, I have the properties in an mysql database which are listed in PHP on the website. What I would like to do is download all of the data on the mysql database and use this data to promote my clients properties on other websites.

    I've been told that you can do this via an xml feed?

    Darren :)
     
    DarrenC, Sep 7, 2004 IP
  5. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ah... you want to be able to give other sites the option of displaying your content... so if my visitors might find it useful, I could display info about your clients properties on my sites? XML or RSS seem to be the way then, but my limited experiments with RSS simply showed me that I need to spend more time on the learning curve :confused:
     
    Trance-formation, Sep 7, 2004 IP
  6. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
  7. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks Adam.

    I don't have time to learn, but I'll do some reading up! Any ideas how much it costs for this type of thing?
     
    DarrenC, Sep 8, 2004 IP
  8. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    So you want to supply the data in your db, via XML feeds? (i suggest RSS).

    I'm working on a tutorial atm, i'll link you once i'm done.
     
    xml, Sep 9, 2004 IP
  9. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    xml, Sep 9, 2004 IP