So, breaking out the coding shoes after such a long break, I’ve decided to slim down some options on WITT to try and get a fully functional version out.
The idea of linking abilities and whatnot is going to be on hold for awhile. At least until wowhead adds an xml sheet for all of them. ;) (Not a big fan of having to parse through web pages for info. :x)
I’m going to brush up the language selection stuff a bit more, work on the options panel, get the xml parser finished again, and that leaves all new features/fixes done. The big issue is that it still doesn’t work for some people. Leaving me to one of two possible ideas: a. cURL isn’t enabled on their servers, or b. the plugin load order is screwy.
I’m going to try and get some research done on both of those issues this week.. Hopefully. Internet still is crapping out on me… Haven’t got to play WoW in a week. ;)
I’ll never get my shaman to 70. -_-’
*random*
Anyone out there wanna Brawl? My usual brawl buddies are all occupied. :P
So ya, a month just flew by me there… Between my old roommate crashing on my couch for about 3 weeks, work and avoiding my computer by playing X-Box, I’ve pretty much ignored production on the plugin… But thankfully I did finish half of the stuff back in April. :P
My plan of action: finish the XML parser, check into why it doesn’t work for some people in 2.5.1 (I’m thinking other plugins enabled) and look into this multiple language thing that Wowhead has added recently.
Oh, and my friend got a keylogger installed on my other computer and got my second account hacked. /cheer I don’t understand how he got it considering I yelled at him not to download anything the last time he got his own account hacked. *sigh*
Re-re-rewrite of the XML parser
- removes extra iterations in the xml parsing, so new items should load faster
itemico tags! (have to give credit to Darren and Apnea for the idea, thanks you two :P)
- tag to display item icons instead of item text links. (example below)
Some minor database changes. (need to cache item icon type)
And probably some other stuff, like bug fixes and error handling, but those are silly. ;)
After a few days of script changes, and some making my blog spew out errors at me, I’ve finished enough of the script to feel confident in a beta release! So, for your blogging pleasure, I present to you:
The changelog is posted on the plugin’s page, for those of you who are interested. But for the rest of us, just drop the script into the wp-content/plugins/ folder, then activate it in the “Plugins” section on your admin!
If you have any errors, comments, concerns, I please ask that you comment on this post to help out further development.
*edit*
It seems to appear there was an issue with variable scope in the plugin activation method, which was causing the table to not get created properly. There is a fix posted, so if you have downloaded the plugin prior to 7PM EDT on Thursday, April 17th, you may wish to download the plugin again.
So, I dinked around in the code a little, and found that the xml from wowhead changed a little, causing the plugin to stop working properly. I changed the values in the array strings a little, but I’m not satisfied with why this happened, so I’m going to release a true fix in a copy days, but for now a wrote a quick hotfix for it.
If it doesn’t work right away, you’ll need to flush the database entries. (I’ll get a quick howto up if you’re clueless on that in a little bit)
edit:
Scratch all of that, it needs to be rewritten… I’m working on it as I type this. :P
edit2:
Rewrote the search parse function, like I meant to do months ago. The xml part will come later, I’m feeling kinda hungry so I’m going to head home and work on another project I’ve been doing.
edit3:
The XML parser has been rewritten as well. I have a new version working on this blog, but I’m not satisfied with how I wrote the parser so far. It’ll most likely get rewritten before a public release.
I’ve yet to find any issues with the posts “freezing” if they have an item link. The only thing that I could think would cause that would be either a) an unclosed item link. (meaning [item] with no closing tag.) or b) something internal with wordpress’s plugin load order.
Any info on any outstanding issues anyone has would be superb. :D
(if you’d like to try new version, comment and i’ll email you a copy)
So, I noticed WP 2.5 is out. I’m going to upgrade later this week (more like the weekend). And I’ll try and get new versions of any plugins I have up and going.