Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 10-02-2002, 10:07 PM   #1
Bigman397
A Bat
 
Join Date: Oct 2002
Server: Xev
Posts: 1
Default XML and Winamp 3

Winamp 3 uses xml code to edit windows and mods and such. Is there anyway you could create a plugin based on teh xml to be viewed in eq? Was just wondering, but verant woudl most likely have to make it an editable window wouldn't they =/
__________________
Tanacious Bastige
~Xev~
Bigman397 is offline   Reply With Quote
Old 10-03-2002, 10:14 AM   #2
xguix
A Snow Griffin
 
xguix's Avatar
 
Join Date: Jul 2002
Posts: 53
Default

Many people here on forums have a huge missconception of what XML is and what is can do.

XML is NOT a programming language!

With that out of the way, and without going into too much technical details, let's just say that XML is a tool used to describe data to an application in a very structured way. It is completely up to the application (be it EQ, Winamp, or Internet Explorer browser) and it's internal XML Parser to determine how to treat the data it's receiving via an XML file.

For example, what's easier to read and understand:
Code:
John,Smith,12/01/75,New York,5"6',220,married,1


or this:
Code:
<Person> <FirstName>John</FirstName> <LastName>Smith</LastName> <BirthDate> <Month>12</Month> <Day>01</Day> <Year>77</Year> </BirthDate> <CityOfResidence>New York</CityOfResidence> <Height>5"6'</Height> <Weight>220<Weight> <MaritalStatus>married</MaritalStatus> <NumberOfChildren>1</NumberOfChildren> </Person>


There are several XML Parsers available for many programming languages to quickly and efficiently parse the data in 2nd example and retrieve the information. As you can see, the data is also quite self-explanatory, whereas in the 1st example you could only guess what the last digit could stand for.

It is up to the XML Parser to understand what the tags in between the < and > are supposed to do with the data. Hence, the functionality is "locked" to whatever was programmed into the parser.

For example, in Winamp3, XML files are used to tell the main about the different components of the particular skin. Note that when the skin changes the functionality of the buttons does not. XML by itself cannot add or change functionality. It can only tell the parser to make the main program do something it was already designed to do.

Same applies to EQ. Its UI Engine was programmed to display particular elements in a finite amount of ways. With XML-formatted UI configuration files we can only tell the engine to use its built-in functions. What we cannot do is make it do something it was never programmed to, such as display gauges vertically, control external applications such as Winamp, etc. (there was a thread on this board about what the New UI cannot do).

Now it is quite possible that the EQ developers will at some time in the future program all the things on our wishlist into the UI's engine and parser thus giving us ability to do more with our skins and mods. It's also possible that there are some "undocumented" features they wouldn't want us to accidentally sumble upon just yet, but for now skinners only have Verant's EQGUI manuals and limitations combined with their own experience and creativity to guide them in making UI skins and mods.


P.S. Whew! This must be the longest post I ever made on this board Hope this explains a few things. And if you think I'm gonna proof-read this post, you're mistaken, so please forgive any spelling/grammar mistakes
__________________
- xguix
Say "NO" to dancing bananas!
xguix is offline   Reply With Quote
Old 10-03-2002, 10:24 AM   #3
Methuselah
A Ghoul
 
Join Date: Sep 2002
Posts: 17
Default Winamp and EQ

Not sure if it is what you were after or not, but you can use sneaky amp to control winamp inside EQ. It has not been made for winamp 3 yet, so you need to use winamp 2. Anyway is bascially lets you enter text command to winamp inside eq. You would type in any chat window something like

winamp play""

check out their website at http://my.execpc.com/~zor/SneakyAmp/index.htm
Methuselah is offline   Reply With Quote
Old 10-03-2002, 11:42 AM   #4
Earthscum
A Shissar Disciple
 
Join Date: Sep 2002
Server: Quellious
Posts: 136
Interface Author - Click to view interfaces
Send a message via AIM to Earthscum Send a message via Yahoo to Earthscum
Default

XML is a Definition Language not a programming laguage. Just wanted to get the name straight ) lol.

I have a plugin for winamp (different than Sneky amp) that I use as well. It actually reads you EQ Notes to control it. To control it, you type /note winamp play and it plays... /note winamp stop, etc.

I'm pretty sure that's how the plugz for WA3 will work as well, since that is one of the only reliable port sources from EQ that VI won't get down your throat for using, lol.
Earthscum is offline   Reply With Quote
Old 10-03-2002, 02:23 PM   #5
xguix
A Snow Griffin
 
xguix's Avatar
 
Join Date: Jul 2002
Posts: 53
Default

Quote:
Originaly posted by Bigman397
Is there anyway you could create a plugin based on teh xml to be viewed in eq?


If you're asking for a way to control Winamp from EQ - the answer is "yes, it's possible". If you're asking if there is a way to display such controls via the new UI - the answer is "not yet" Of course, with the sneakyamp that Methuselah mentioned you can set up some hotkeys to get the basic Play/Pause/Stop/Forward/Back Winamp functionality, but that's not really UI, that's just cheating
xguix is offline   Reply With Quote
Reply




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


All times are GMT -5. The time now is 10:03 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI