View Single Post
Old 11-08-2008, 09:07 PM   #6 (permalink)
Mithadriel
The Wanderer
 
Join Date: Nov 2008
Posts: 5
Thanks: 2
Mithadriel is on a distinguished road
Default

Great contribution, really simple to follow and takes a whole lot of headache out of querying the armory!

Managed to get information on characters with no problems but hit a snag when trying to query guild info. Noticed a wee typo on the example above:

PHP Code:
// change the first part of the $url to the armory link that you need
    
if( $this->query === 'roster' ){
        
$url 'http://eu.wowarmory.com.com/guild-info.xml?r=' $this->server '&n=' $this->guild '&p=' $this->page

Remove the spurious .com and everything works as expected :)

p.s excuse the thread necromancy ... figured this was worth it though.
Mithadriel is offline  
Reply With Quote