Y!Q for Wordpress

by Aaron Brazell on February 8, 2005 · 8 comments

I wrote a plugin for Wordpress that adds the Y!Q Yahoo context search to blogs. It’s really a rough in at the request of Jeremy Zawodny who has provided details on incorporating it into MoveableType. Yahoo continues to put some great products out. I’m going to run the plugin on my Fog theme to see how it performs.

If you’re interested in trying the plugin out on your own blog, you can download it here.

{ 8 comments }

1 Collin February 8, 2005 at 7:31 pm

You should’ve read his comments first, I beat you by a day ;-)

<a href=”http://collingrady.com/2005/02/06/wp-yq/
http://collingrady.com/2005/02/06/wp-yq/&lt;br />

Also, yours won’t quite work as you don’t add the script tag that is required for Y!Q :)

Not that there’s anything wrong with multiple plugins, mind you :)

2 Collin February 8, 2005 at 6:31 pm

You should’ve read his comments first, I beat you by a day ;-)

http://collingrady.com/2005/02/06/wp-yq/

Also, yours won’t quite work as you don’t add the script tag that is required for Y!Q :)

Not that there’s anything wrong with multiple plugins, mind you :)

3 Aaron February 9, 2005 at 12:22 am

ah I missed it. Well good on ya. Sorry to waste my time. :D

4 Aaron February 8, 2005 at 11:22 pm

ah I missed it. Well good on ya. Sorry to waste my time. :D

5 Aaron February 9, 2005 at 9:06 am

Collin, actually step 1 of the README provides the code to paste into the template for the javascript. I haven’t looked at yours but do you do yours all within the template or does the user have to make template mods?

6 Aaron February 9, 2005 at 8:06 am

Collin, actually step 1 of the README provides the code to paste into the template for the javascript. I haven’t looked at yours but do you do yours all within the template or does the user have to make template mods?

7 Collin February 9, 2005 at 8:53 pm

The only mod required for mine is playing the doYQhtml() call in your template somewhere. I hook into the wp_head() function to add the javascript automatically.

Unfortunately there is no hook I haven been able to find to successfully add it to the individual article pages automatically.

While I can add it, because of the hook’s location, it loses the title info, making it completely useless.

Eventually I hope to find a hook that works properly so you don’t have to add the doYQhtml() function call, but until then, it’s at least a simple mod :)

8 Collin February 9, 2005 at 7:53 pm

The only mod required for mine is playing the doYQhtml() call in your template somewhere. I hook into the wp_head() function to add the javascript automatically.

Unfortunately there is no hook I haven been able to find to successfully add it to the individual article pages automatically.

While I can add it, because of the hook’s location, it loses the title info, making it completely useless.

Eventually I hope to find a hook that works properly so you don’t have to add the doYQhtml() function call, but until then, it’s at least a simple mod :)

Comments on this entry are closed.

Previous post: Lessons in Web Security: The Bane of FTP

Next post: Job Accepted