Thread Tools Display Modes
03-25-06, 10:13 AM   #1
robodude666
A Cyclonian
 
robodude666's Avatar
Join Date: Mar 2006
Posts: 42
Possible or Impossible?

Hello,

I was wondering about a few things. Are the following possible to do?

1) Parse xml files? Say if you had
Code:
<mainxml>
	<node att="attstuff">
		<info1>32:354:36:somestring</info1>
		<info2>362:3534:356:somestring2</info2>
	</node>
</mainxml>
Could it be possible to parse it and create a table with all that data?
2) Get data from a website. EX: Get an xml file from a website.
3) Get the html from a website and pick out parts (i know the picking out is possible because of regexp but im not sure about getting html from a website)
4) Connect to mysql db and get table data. (doubt this is possible...)

That is about it Thank you,
robodude666
Toriand of Zul'jin

Last edited by robodude666 : 03-25-06 at 10:16 AM.
  Reply With Quote
03-28-06, 02:58 PM   #2
JIM the Inventor
A Cyclonian
 
JIM the Inventor's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 42
I'm pretty sure that there is no parsing of the XML code from AddOns ..
You can, of course, access strings from variables all over the place.

Blizzard has made specific efforts towards removing access to data outside of the WoW system. Web data is simply out of the question just with the current function-set, and this is not looking like it will change.

Now there's always the possibility that a program running concurrently with WoW could pull data and transplant it into files that WoW does consult (Saved Variables, for example!), but there you're looking at introducing EXEs and such - something highly frowned upon.
  Reply With Quote
03-28-06, 03:08 PM   #3
Esamynn
Featured Artist
Premium Member
Featured
Join Date: Jan 2005
Posts: 395
Jim is correct. The UI sandbox specifically prevents any sort of real time I/O and the only way AddOns can write out any data at all is in the form of saved variables. AddOns don't even have the ability to read their own files directly. AddOn files are processed by the game when the player logs in and the results are loaded in the UI memory space.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Possible or Impossible?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off