• Hi everyone

    This is my first thread started on wordpress, i simply always find an answer, so never had to write one before. In over 2 years ive grown to love WP so much im unable to even think of moving platforms. However recently i have been asked to create a data feed for my client.

    My question is there any plugins that can create a custom data feed of my coupons and export the XML with fields required by my affiliates. for instance my affiliate asked me to submit a data feed in this format below. Is there any plugins in assisting this task. yes i know that it all depends on the theme ect.

    <deals>
    <deal>
    <id>42</id>
    <url>http://www.example.com/Pay-R22-for-four-chocolate-42</url&gt;
    <image>http://www.example.com/images/42.jpg</image&gt;
    <title>Pay R22 for four chocolate or vanilla cupcakes with butter icing from Wildflour!</title>
    <description>We could wax lyrical about the joys of eating cupcakes. We could quote Marie
    Antoinette or that ever popular proverb. We could, but that would be boring and cheesy and these
    cupcakes are anything but. We’ll cut to the delicious stuff and let you in on our heavenly deal: Get 4
    divine chocolate or vanilla cupcakes with butter icing from Wildflour for only R22! That’s R5.50 a
    cupcake, which is less than a litre of milk, the Sunday Times, an avocado, a cup of coffee, a bar of
    soap, a loaf of bread and… a lot of other things.</description>
    <price>22.00</price>
    <discount>50.00</discount>
    <start_date>2012-01-16 00:00:00</start_date>
    <end_date>2012-01-22 00:00:00</end_date>
    <city>Cape Town</city>
    <category>Restaurants</category>
    <conditions>
    <condition>Max 3 coupons may be purchased per person</condition>
    <condition>Coupon valid for four chocolate or vanilla cupcakes made with butter
    icing</condition>
    <condition>Coupon valid for 1 month from date of issue</condition>
    </conditions>
    <address>Regent Road, Sea Point, Cape Town , 8005</address>
    <lat>-33.920637</lat>
    <lng>18.383922</lng>
    </deal>
    </deals>

    Feed Field Description: * marks a required field.
    id *: The uniquely identifiable ID of the deal on your system.
    url *: The URL for the deal.
    image *: The URL of the deal image.
    title *: The deal title.
    description *: The deal description.
    price *: The final (discounted) price of the deal.
    discount *: The percentage discount.
    start date *: The date the deal starts. Format is YYYY-MM-DD HH:MM:SS.
    end date *: The date the deal ends. Format is YYYY-MM-DD HH:MM:SS.
    city *: The city where the deal is applicable. Must be on of: Bloemfontein, Cape Town, Durban, East
    London, Johannesburg, National Deals, Pietermaritzburg, Port Elizabeth, Pretoria, Stellenbosch,
    Nelspruit, Paarl, Garden Route, Kimberley, Soweto.
    category *: The category that most accurately represents the deal. Must be one of: Bars & Clubing,
    Courses & Classes, Entertainment, Health & Beauty, Hotels & Trips, Local Services, Products,
    Restaurants, Sports.
    conditions: Any conditions/fine print associated with the deal.
    address: The address of the deal vendor.
    lat: The latitude of the address of the deal vendor.
    lng: The longitude of the address of the deal vendor.

  • The topic ‘XML data feed’ is closed to new replies.