Results 1 to 2 of 2
  1. #1

    Default Can anyone explain how to incorporate xml feeds from one site to anothers mysql

    Okay, I have been looking for some code to help with my project.


    All I need to do is create a feed, and get another site to read it and insert it into its database.

    Would need to upload images, and control how the feed is incorportaed. ie. prices uploaded can be adjusted as it loads into the database.

    Or anyone out there looking for a project if we can agree terms?

    Thanks
    MadW

  2. #2
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Posts
    1,661

    Default

    Quote Originally Posted by madwayne View Post
    Okay, I have been looking for some code to help with my project.


    All I need to do is create a feed, and get another site to read it and insert it into its database.

    Would need to upload images, and control how the feed is incorportaed. ie. prices uploaded can be adjusted as it loads into the database.

    Or anyone out there looking for a project if we can agree terms?

    Thanks
    MadW
    For the feed you could easily create a PHP script which can pull the info from the database and present it in XML format. For the other website you would want to create a cron job which could pull the feed from the other website and then insert each bit of information into your database - for example if you were using PHP then this information could be pulled using cURL.

    Price adjustment would be easy, but uploading the images may be a bit harder - not sure if it would be possible to pull them in the same way as the XML, but I see no reason why not.

    That's how I would do it and seems the most simple way.
    Josh

    Resident Blogger

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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