I've written a drupal module that adds a filter that provides pretty links item links from wowhead

If you'd like to integrate this into wowguild, that would be great :D. If not, I can put it up as a separate module. Note that this is my first crack at drupal module development, and it probably isn't brilliant.

Inside the attached zip, is all the module files, and a screenshot showing how it works. :)

CommentFileSizeAuthor
#1 source.png1.66 KBytwater
#1 format_settings.png4.51 KBytwater
#1 results.png5.74 KBytwater
wowhead.zip35.09 KBAzelphur

Comments

ytwater’s picture

StatusFileSize
new5.74 KB
new4.51 KB
new1.66 KB

Looks great!

I added it to the 7.x-2.x branch but has not been commited yet.

The only issue I've seen is if "Convert URL into links" is processed before "Wowhead item filter" (which it defaults to), it break the link.

Settings:
settings

Source:
source

Results:
results

Also, I'm looking at https://sourceforge.net/projects/wowarmoryapi/ for armory/wowhead access, check it out. Right now it will not work because it does not implement [if-modified-since] headers which is needed to prevent cached hits to the armory.

Azelphur’s picture

Yea that's correct, I don't think that wowhead having to go before url converter is a bug. They both perform conversion on a URL, and one has to take priority. :)

That PHP library does look cool, If it works I see no reason to reinvent the wheel :D

ytwater’s picture

Version: 7.x-3.x-dev » 7.x-2.0-alpha14
Status: Active » Closed (fixed)

Commited in 7.x-2.0-alpha15.