an skill icon database

riktw

Wilds Pathfinder

Join Date: Jul 2008

netherlands

Mo/E

i am making a program where GWbbcode goes in and BBcode goes out.
like this

the skill link is easy
http://wiki.guildwars.com/wiki/enter skill name here
but for skill icons that wont work :s
if you change wiki.guildwars.com/images/8/8a/Deadly_Paradox.jpg to wiki.guildwars.com/images/8/8a/shadow_form.jpg you get an nice 404 error.
so is there a database or so wich hosts all skills with an easy to use format, so by just changing the skill name in the url you get the good link?

Bob Slydell

Forge Runner

Join Date: Jan 2007

Quote:
Originally Posted by riktw View Post
i am making a program where GWbbcode goes in and BBcode goes out.
like this

the skill link is easy
http://wiki.guildwars.com/wiki/enter skill name here
but for skill icons that wont work :s
if you change wiki.guildwars.com/images/8/8a/Deadly_Paradox.jpg to wiki.guildwars.com/images/8/8a/shadow_form.jpg you get an nice 404 error.
so is there a database or so wich hosts all skills with an easy to use format, so by just changing the skill name in the url you get the good link?
Heres why it gets a 404 Error.

images/8/8a/Deadly_Paradox.jpg
images/e/e4/Shadow_Form.jpg

Difference in their directories.

And not too sure where there would be a good database. Did you try PvX wiki? Also keep in mind.. if you are making a program that always takes data from a website to build it in the program:

A.) If the website goes down your program becomes useless for the time being
B.) If they change the icon directories... your program will probably stop being able to build the icons when you request a skill until you fix them.

riktw

Wilds Pathfinder

Join Date: Jul 2008

netherlands

Mo/E

Quote:
Originally Posted by Chrisworld View Post
Heres why it gets a 404 Error.

images/8/8a/Deadly_Paradox.jpg
images/e/e4/Shadow_Form.jpg

Difference in their directories.

And not too sure where there would be a good database. Did you try PvX wiki?
i know, its very annoyng
pvxwiki is not much better
http://images.wikia.com/pvx/img_skills/1767.jpg
a number per skill, and i dont want to list all skills + good link or number in my program :s

Kattar

Kattar

EXCESSIVE FLUTTERCUSSING

Join Date: Mar 2007

SMS (lolgw2placeholder)

Me/

What's the suggestion here?