Hi, all...

I've been banging my head against this XML wall for over
a week now and either I just don't get it or what I'm trying
to do is not possible given what the vendor is providing.

The vendor of product info provides 3 ways to access product
information:

Categories, Product within those Categories, and each Product's details

Now, if I were pulling this info from a db, I would naturally use
loops to get the categories, products within each categories and
products details for each product.

However I can't see to get this approach to work with info coming
from cfhttp links.

For obtaining all categories, the vendor provides:
http://lennox.com/api/v1/z7RRSHM/Categories/

For obtaining all products within categories:
http://lennox.com/api/v1/z7RRSHM/Category/<CategoryID>

And for product details:

http://lennox.com/api/v1/z7RRSHM/Product/<productID>


I've tried to set up all kinds of loops to get this info at this
same time while looping the cfhttp queries.

Is this even possible given the way the info is provided?

You can see what's being return at this links above.

To get this kind of display:

Category 1

  - product one: This is a great product!
  - product two: This another another great product!
  - product three: Yet another great product!

Category 2

  - product one: A super category 2 product!
  - product two: Another great category 2 product!
  - product three: Wow! Another super category 2 product!

etc, etc.

In order to get that kind of looping over each category and
product list, do I need to turn to putting the info into a
database first? Or is there a way using the cfhttp statements
that vendor is providing?

I want this info integrated in how I get it so I can use
a jQuery slide & hide form of product/product details display
for a particular category, rather than a traditional,
 - show all categories
 - click on a category
 - show all products
 - click on a product for details
 - start over again

Thanks for ANY clues! I know this will all be so clear and
easy one day, but for now, I'm just lost in the sauce!

Perhaps someone has a wish list somewhere on Amazon or someplace
that needs some action?! :o)

Rick






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to