Submit Your Article Forum Rules

Results 1 to 6 of 6

Thread: How to create a data feed in xml for e-commerce website?

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    3

    Question How to create a data feed in xml for e-commerce website?

    Hi All

    My client has an e-commerce website built in Joomla + Virtuemart.

    I want to start ppc advertising in getprice and myshopping (Australian websites). They want me to upload a data feed in xml format to advertise.

    I tried searching in Joomla and VirtueMart but was unable to find how to create a xml data feed. I am not an expert in Joomla and I have tried reading forums but was not able to find anything relevant.

    If anyone can suggest some answers to this problem it will help me a lot.

    Regards
    Reheen

  2. #2
    WebProWorld MVP chandrika's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    742

    Re: How to create a data feed in xml for e-commerce website?

    First you need to look at the format of the xml datafeed file that is required to upload to getprice and myshopping, on their site they probably have an example to download. Main points are what are the column headings (such as price, name, description, url) and whether it is tab delimited, comma delimited or other, (that is the space between each column)

    It is easiest just to copy an example from the site it is for. Microsoft Excel spreadsheet program is useful for creating datafeeds, as it lays the information in an easy to see way, and you can then save as an xml file.

  3. #3

    Re: How to create a data feed in xml for e-commerce website?

    Hi,
    If I werre you I would write a php file which do the export following the required layout. The script should connect to the database then put the active products into an associated array. Within a while or foreach loop you may easily place the product data into a comma separated files with the correct header declaration.
    Thanks

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Re: How to create a data feed in xml for e-commerce website?

    do you have an example or something i could referance?

  5. #5
    It is very simply a matter of replacing the appropriate variables in your generated XML format file.
    Below is an example of a basic RSS 2.0 format file. The same principle can be used for any XML format they would require.

    <?xml version="1.0"?>
    <rss version="2.0">
    <channel>
    <title>Example Channel</title>
    <link>Website URL</link>
    <description>My example channel</description>
    <item>
    <title>Item Title</title>
    <link>Item 1 URL</link>
    <description>Product 1 description</description>
    </item>

    <title>Item Title</title>
    <link>Product 2 URL</link>
    <description>Product 2 description</description>
    </item>
    </channel>
    </rss>
    Last edited by NexusSoft; 06-28-2010 at 05:47 PM.

  6. #6
    Administrator LD's Avatar
    Join Date
    Apr 2006
    Location
    Still the same.
    Posts
    4,257
    Thread closed.
    Local Web Design Company in Markham, Toronto and Richmond Hill
    Markham-based Search Engine Optimization company servicing Toronto, the GTA including Richmond Hill
    Why a business needs a good Facebook Fan Page. IFM serves Markham, Toronto and the GTA.

Similar Threads

  1. Create RSS Feed of Google News Alerts
    By feelee in forum Syndication and Social Media Discussion Forum
    Replies: 5
    Last Post: 07-12-2010, 01:54 AM
  2. Flash/Flex site feed by xml data. Do I forget organic SEO ?
    By claudine in forum Search Engine Optimization Forum
    Replies: 1
    Last Post: 05-09-2006, 02:22 PM
  3. CSV Data Feed
    By roban in forum eCommerce Discussion Forum
    Replies: 0
    Last Post: 08-25-2005, 07:08 AM

Posting Permissions

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