We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

XMLgrab Not Fetching

Development and Programming

leadsuccess's avatar
leadsuccess
408 posts
16 years ago
leadsuccess's avatar leadsuccess

For some odd known reason XMLgrab will not fetch anything. It shows this and that is it.

Fetching: http://www.example.com/grab/party_planet.xml

My code I am using:

{exp:xmlgrab url="http://www.example.com/grab/party_planet.xml" 

   itempath="/venues/venue"
   weblog="51"

   author="1"

   title="company_name"

   date="posted_year-posted_month-posted_day"

   use="address|city_name|province_name|postal_code|phone|company_url|description|venue_type|latitude|longitude"

  fields="street_address|city|providence|postal_code|phone1|web_address|description|event_type|latitude|longitude"}

Simple version of the XML file I am grabbing from:

<venues>
<venue>
<company_name>Example XML Entry</company_name>
<address>500 Test St</address>
<city_name>Vancouver</city_name>
BC</province_name>
V6B 4y2</postal_code>
<latitude>49.285956000</latitude>
<longitude>-123.111764000</longitude>
555-555-1212</phone>
−
<company_url>
http://www.example.com
</company_url>
−
<description>
<center><font size=5><b>The Example Venue</center></font></b>

Home to some of the best electronic music in the world.

The best party planet test text around
</description>
2008</posted_year>
8</posted_month>
26</posted_day>
<venue_type>Live Venue</venue_type>
</venue>
</venues>

Any ideas where I am going wrong?

       
leadsuccess's avatar
leadsuccess
408 posts
16 years ago
leadsuccess's avatar leadsuccess

Any ideas on what might be happening. I am thinking about taking the plunge for Solspace’s Importer and scrapping XMLgrab all together, I have used FeedGrab and that worked fine but XMLgrab has taken hours from me with no results.

       
leadsuccess's avatar
leadsuccess
408 posts
16 years ago
leadsuccess's avatar leadsuccess

Thank you to all who responded :blank:.

Ok so I went with Solspace Importer and wish I had earlier as I would have saved myself 4 hours of tinkering. It may be a little pricey but well worth it, a true importer for the masses:)

       
noregt's avatar
noregt
360 posts
15 years ago
noregt's avatar noregt

dvancouver, at least you did help me. Tried the same with XMLgrab, but I had trouble with it too. Reading this, I quickly decided to get the Solspace module and that worked (though not immediatly for PHP 4, but now it does, thanks to Mitchell)

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.