egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML parse

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
m_key
Voice


Joined: 10 Nov 2006
Posts: 1

PostPosted: Fri Nov 10, 2006 9:36 am    Post subject: XML parse Reply with quote

Please help me to create script, which parses info from url www.somegame.com/cgi-bin/user.pl?SomePlayer

Code:

- <USER login="SomePlayer" online="1" level="4" str="12" dex="10" int="8" pow="12" acc="1" man="1" HP="28" psy="0" maxHP="80" maxPsy="52" name="" regday="07.11.2006" ne=",,,,," s1="" s2="">
  <O name="b2-k6" txt="Butterfly knife M1" slot="G" type="1.13" />
  </USER>


I need for this output by "!info SomePlayer" command:

Name: SomePlayer Online: yes level: 4 str: 12 dex: 10 int: 8 pow: 12 acc: 1 man: 1 HP: 28 psy: 0 maxHP: 80 maxPsy: 52
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Dec 03, 2006 6:51 am    Post subject: Reply with quote

Is the url above valid? It says:
Sorry, this page no longer exists. To visit the homepage for this domain, please click here.

It looks like a "parked" domain, not a real site.

Making the requested script wouldn't be that difficult, but give me a valid url.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber