Chuckles’ Blog or Chog, or maybe Bluckles » wiki-links

wiki-links


Despite reports of advanced wiki-links no longer working, after a site upgrade I can confirm that it is still working

The title says it all, Advanced Wiki-Links works fine with the new WordPress, no code updates needed

I’m going to update the version of WordPress that I’m using which from reports will break my Advanced Wiki-Links plugin. The upgrade will force my to work on the Wiki-Links code, so anyone out there thats uses it, hope fully there will be a new version soon.

Well i implemented the linking of categories and created a new plugin “Advanced Wiki Links”. Grab it if you want to take a look.

Well i’ve implemented a solution, basically i replace all href tags with a temp tag, process the article content then put the href tags back in.

Not the nicest solution but works for now until a better one comes along.

Next step is to auto link to tags as well as titles.

I tried to install the Wiki-Links plugin yesterday but found it wasn’t working with the latest WordPress (2.2.2). So i sat down today and fixed it. Dave also fixed it and better yet provided me with a regexp string to prevent it from placing links within HTML tags. I wanted something one better, I wanted it to ignore anything embedded in <a> tags so i sat down and put the regexp string together and what happens … this php bug (or as they state, perl’s).

So basically i need to sit down and see if i can get around it, but it will have to wait for another day, bed calls

Here’s the string if anyone wants to have a starting point “/(?<!<[a][a-z0-9]*[^<]*)$string/”