XML Walk 1.0 Fetch
Posted: 30 July 2008 10:20 AM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2008-07-30

Hi, I’m looking forward to using the XML Walk tool however I’m having problems getting it to work for my feeds (the example feeds work fine however I have the same problems with this feed: http://www.w3schools.com/xml/cd_catalog.xml).

This is what I’ve coded for the template:

<h1>Adili</h1>

{exp:ano_xml_parser:fetch source='http://pf.tradedoubler.com/export/export?myFeed=12174370031432787&myFormat;=-1' refresh='0' parent_tag='products' child_tag='product'}
Name
{name}<br>
Description{description}<br>
Price{price}<br>
<
hr>
{/exp:ano_xml_parser:fetch}

and this is a section of the feed:

<?xml version="1.0" encoding="ISO-8859-1" ?> 
- <products>
- <
product>
  <
name>Solid Silver V Shaped Bangle</name
  <
description>A gorgeous bangleGreat for special occasions and a lovely gift</description
  <
price>25.00</price
  </
product>
- <
product>
  <
name>3 Piece Baby Gift Box Set</name
  <
description>This stunning gift set is delivered in a beautiful boxThe set comprises a babygrowbeanie hat and gorgeous little bootiesThe garments are made from natural colour cotton which is a naturally pigmented fibrehaving no harmful chemicals or toxins Ideal next to your baby's skin</description> 
  <price>16.00</price> 
  </product>

(Note: the tag is included in the feed where it should be but it just doesnt seem to show up here...)

However I’m getting the following error along with the field labels, without the content:

Notice: Undefined variable: tag_value in d:\Domains\lamodeethique.com\wwwroot\expression\system\modules\ano_xml_parser\mod.ano_xml_parser.php on line 155

What am I doing wrong?

I would appreciate your help :o)

Luke GM

Profile
 
 
Posted: 30 July 2008 12:42 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

How are you using XML Walk as it’s not available yet? rasberry

Or did you somehow get a copy a long time ago?

 Signature 
Profile
 
 
Posted: 30 July 2008 02:20 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2008-07-30

I found it on the EE Wiki. Anyway… any ideas??? :o)

Profile
 
 
Posted: 30 July 2008 02:27 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

I see, you’re referring to: http://expressionengine.com/wiki/XML_Parsing_Tool/

It is not XML Walk - it is based on XML Walk…
There has obviously been several modifications to the code, and we cannot support it. wink

That said, I have never used our own (XML Walk) and cannot help you here wink

Give the EE Forums a whirl, you’ll probably have better luck there as surely others would have used this variation you’re using.

 Signature 
Profile
 
 
Posted: 31 July 2008 02:22 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  3
Joined  2008-07-30

OK, thankyou :o)

Profile