Results 1 to 5 of 5
  1. #1
    Newbie
    Join Date
    April 21st, 2008
    Posts
    7
    Index page
    Thank you for your assistance!! Currently, I am using the template below for my index page. I would like to have all of the products appear on one index page instead of just "one product per page". How would I accomplish this? (This XML feed will be uploaded to my online store.)

    Thanks!!

    R Bass


    This is the current template:

    <?xml version="1.0" encoding="UTF-8" ?>
    - <root>
    - <product>
    - <information>
    <title>[WM-Field: name]</title>
    <shortdescription>[WM-Field: shortdescription]</shortdescription>
    <longdescription>[WM-Field: longdescription]</longdescription>
    <weight>[WM-Field: weight]</weight>
    <weightunits>lbs</weightunits>
    <isstarred>0</isstarred>
    <isuploaded>1</isuploaded>
    <refcode />
    </information>
    - <pricing>
    <retailprice>[WM-Field: retailprice]</retailprice>
    <yourprice>[WM-Field: saleprice]</yourprice>
    <discount>[WM-Field: discount]</discount>
    <applypercent>[WM-Field: percent]</applypercent>
    </pricing>
    - <charging>
    - <tax>
    <description>None</description>
    <amount>000</amount>
    </tax>
    <shipping>[WM-Field: shipping]</shipping>
    <defaultshipping>1</defaultshipping>
    <handling>000</handling>
    </charging>
    - <extraoptions>
    <option1 />
    <option2 />
    </extraoptions>
    - <quantity>
    <typequantity>default_quantity</typequantity>
    <defaultquantity>1</defaultquantity>
    <minrangequantity>1</minrangequantity>
    <maxrangequantity>5</maxrangequantity>
    </quantity>
    - <internal>
    <id>0</id>
    <status>Active</status>
    <catid>0</catid>
    <anyfieldnotdefault>1</anyfieldnotdefault>
    <mainheaderisset>1</mainheaderisset>
    <secondaryheaderisset>0</secondaryheaderisset>
    <priceisset>0</priceisset>
    <prevstatus>SemiPopulated</prevstatus>
    </internal>
    - <images>
    - <image>
    <full>[WM-Field: thumbnail]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image1]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image2]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image3]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image4]</full>
    <isset>0</isset>
    </image>
    </images>
    </product>
    </root>




    This is how I want the results to look:



    <?xml version="1.0" encoding="UTF-8" ?>
    - <root>
    - <product>
    - <information>
    <title>[WM-Field: name]</title>
    <shortdescription>[WM-Field: shortdescription]</shortdescription>
    <longdescription>[WM-Field: longdescription]</longdescription>
    <weight>[WM-Field: weight]</weight>
    <weightunits>lbs</weightunits>
    <isstarred>0</isstarred>
    <isuploaded>1</isuploaded>
    <refcode />
    </information>
    - <pricing>
    <retailprice>[WM-Field: retailprice]</retailprice>
    <yourprice>[WM-Field: saleprice]</yourprice>
    <discount>[WM-Field: discount]</discount>
    <applypercent>[WM-Field: percent]</applypercent>
    </pricing>
    - <charging>
    - <tax>
    <description>None</description>
    <amount>000</amount>
    </tax>
    <shipping>[WM-Field: shipping]</shipping>
    <defaultshipping>1</defaultshipping>
    <handling>000</handling>
    </charging>
    - <extraoptions>
    <option1 />
    <option2 />
    </extraoptions>
    - <quantity>
    <typequantity>default_quantity</typequantity>
    <defaultquantity>1</defaultquantity>
    <minrangequantity>1</minrangequantity>
    <maxrangequantity>5</maxrangequantity>
    </quantity>
    - <internal>
    <id>0</id>
    <status>Active</status>
    <catid>0</catid>
    <anyfieldnotdefault>1</anyfieldnotdefault>
    <mainheaderisset>1</mainheaderisset>
    <secondaryheaderisset>0</secondaryheaderisset>
    <priceisset>0</priceisset>
    <prevstatus>SemiPopulated</prevstatus>
    </internal>
    - <images>
    - <image>
    <full>[WM-Field: thumbnail]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image1]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image2]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image3]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image4]</full>
    <isset>0</isset>
    </image>
    </images>
    </product>

    // Begin Product 2

    <product>
    - <information>
    <title>[WM-Field: name]</title>
    <shortdescription>[WM-Field: shortdescription]</shortdescription>
    <longdescription>[WM-Field: longdescription]</longdescription>
    <weight>[WM-Field: weight]</weight>
    <weightunits>lbs</weightunits>
    <isstarred>0</isstarred>
    <isuploaded>1</isuploaded>
    <refcode />
    </information>
    - <pricing>
    <retailprice>[WM-Field: retailprice]</retailprice>
    <yourprice>[WM-Field: saleprice]</yourprice>
    <discount>[WM-Field: discount]</discount>
    <applypercent>[WM-Field: percent]</applypercent>
    </pricing>
    - <charging>
    - <tax>
    <description>None</description>
    <amount>000</amount>
    </tax>
    <shipping>[WM-Field: shipping]</shipping>
    <defaultshipping>1</defaultshipping>
    <handling>000</handling>
    </charging>
    - <extraoptions>
    <option1 />
    <option2 />
    </extraoptions>
    - <quantity>
    <typequantity>default_quantity</typequantity>
    <defaultquantity>1</defaultquantity>
    <minrangequantity>1</minrangequantity>
    <maxrangequantity>5</maxrangequantity>
    </quantity>
    - <internal>
    <id>0</id>
    <status>Active</status>
    <catid>0</catid>
    <anyfieldnotdefault>1</anyfieldnotdefault>
    <mainheaderisset>1</mainheaderisset>
    <secondaryheaderisset>0</secondaryheaderisset>
    <priceisset>0</priceisset>
    <prevstatus>SemiPopulated</prevstatus>
    </internal>
    - <images>
    - <image>
    <full>[WM-Field: thumbnail]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image1]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image2]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image3]</full>
    <isset>0</isset>
    </image>
    - <image>
    <full>[WM-Field: image4]</full>
    <isset>0</isset>
    </image>
    </images>
    </product>

    // Begin Product 3

    <product>
    Stuff here
    </product>

    // Begin Product 4

    <product>
    Stuff here
    </product>

    // Begin Product 5 etc

    <product>
    Stuff here
    </product>
    </root>

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    See the section in WebMerge Help on the WM-Record tag. That should do it.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Newbie Freeman727's Avatar
    Join Date
    May 30th, 2007
    Posts
    29
    Very interesting topic. I was not aware that you could create a XML/RSS feed this way. This is a grand idea if it works. Nice thinking "outside the box" solution.

  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    One of the most rewarding things about making software is discovering all the cool stuff people do with it.

    I've been soliciting info from our customers about how we might support their desire to generate RSS feeds from within WebMerge, and fortunately I stumbled across a thread in another part of ABW which has provided some helpful guidance. I'll see if I can squeeze in something to help RSS generation before v2.5 goes final, but in the meantime this relatively simple template is a good inspiration for v2.4 users to do this today. Good work!
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  5. #5
    Newbie Freeman727's Avatar
    Join Date
    May 30th, 2007
    Posts
    29
    Again Richard, this is a awesome product. I really was not aware of this type of flexibility. I am going to test a XML template based on this thread just to see how it will work. Nice way to start the week!

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. How can I search, link index page to detail page?
    By rbass in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: August 15th, 2008, 12:33 PM
  2. How to show index numbers on index page?
    By sinpeople in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: June 24th, 2007, 12:06 AM
  3. Making an index page of index pages
    By Pierre (aka Terdef) in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: June 30th, 2005, 05:24 AM
  4. my index page
    By henrylair in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: October 24th, 2004, 12:42 PM
  5. how do I link from a detail page back up to a category/index page?
    By pw3909 in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: May 4th, 2004, 06:00 PM

Posting Permissions

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