Updates from Justin Shreve Toggle Comment Threads | Keyboard Shortcuts

  • Justin Shreve 4:11 am on August 15, 2009 Permalink
    Tags: ,   

    Hello Everyone Sorry  for the extreml… 

    Hello Everyone

    Sorry  for the extremely late update. As I let Andy know, I was on vacation this week.  My parents got a cottage up in West Virginia and I was invited to come stay with them Monday-Friday. I was also in and out of service so I was unable to post my update on Wednesday.

    I actually meant https://gsoc2009wp.wordpress.com/2009/08/08/220/ to be an early status update so that information applys here.

    The demo is also running the latest version and the latest version is available in the plugin repository.

    All that is left now is a final look over for me. It’s the last few days so good luck to everyone else!

  • Justin Shreve 12:34 am on August 8, 2009 Permalink  

    In response to last night’s dev chat and… 

    In response to last night’s dev chat and a follow up by John Myrstad I have released a new version.

    The new release includes the ability to search by post tags and custom taxonomies (through register_taxonomy – see more) as well as some improvements to the code and how the category selector on the advanced search page is showed.

    Here’s a preview:

    taxonomy preview

    You can download the new release here Make sure to deactivate and reactivate both the mysql and the search plugins so the database update takes affect.

    Thanks all for the great chat last night!

    • Justin 11:19 pm on August 8, 2009 Permalink

      It was also requested to have the MySQL plugin enabled by default. The Search API now does this. Also the search API deactivates the current activate plugin if you disable the search api.

  • Justin Shreve 1:07 am on August 6, 2009 Permalink
    Tags: ,   

    Earlier in this week of code I worked on… 

    Earlier in this week of code I worked on developer documentation which is included as part of the README. It talks about some of the basics of building a search plugin. I also created a “dummy” plugin which can be downloaded by developers to base their own search plugins off of.

    I also delt with some minor issues that were reported by some users who downloaded the program.

    I added another option for search plugin authors. Before you could disable ‘filters’ or enable which included ordering/sorting. I now made this a separate option so you can have filters (filtering by comment, post, page) and not ordering or ordering and no filtering.

    I then worked on and finished the basic ‘Sphinx Search Plugin’ which is a basic plugin that utilizes both the Search API and Sphinx. It allows for filtering by content and an advanced search query syntax (searching just titles with @title, etc). The code for this has been written as well as a README. I’ll be submitting it has a different plugin as it comes with some additional files (a .conf file for sphinx, the sphinx api, and it’s own installation directions since you need to install sphinx server side). The Sphinx Search plugin will be located at http://wordpress.org/extend/plugins/sphinx-search/ once it has been approved.

    Right now I’m just about about to shoot off an email to Andy and then off to finish the remaining pieces of the project that I want to finish before Sunday/Monday:

    • Proof read the README’s for any mistakes
    • Add some screen shots for the plugin directory (so users can get a feel of how the plugin works and any other “marketing”
    • Verify the uninstall / install process works smoothly
    • Fix any additional bugs I run across.
    • Do a final sweep to try to make the code more efficient, etc.
  • Justin Shreve 11:19 pm on July 29, 2009 Permalink
    Tags: ,   

    It’s just been another week of document… 

    It’s just been another week of documentation stuff. I cleaned up some of the comments and generated some documentation on the source code.

    I’m also working on writing a tutorial on how to write a new search plugin so developers can follow along. I’m killing two birds one stone because I’ll be building the Sphinx plugin along side it. (It’ll be on how to build the basic sphinx plugin from scratch).

  • Justin Shreve 4:50 pm on July 22, 2009 Permalink
    Tags: ,   

    Hello, Right now I am working on some o… 


    Right now I am working on some of the documentation aspects of the project. I am working on the README right now to include the installation directions, description, uninstall etc. I am then going to try to write some developer documentation for adding new plugins.

    In addition, once the README is written I am going to have Andy post about my plugin to try to get some testing going on.

  • Justin Shreve 4:01 pm on July 16, 2009 Permalink
    Tags: ,   

    Here is my late update (late night last … 

    Here is my late update (late night last night)… I just got through with freshman orientation, registering for classes, etc. Yay computer science major!

    No updates really (sorry). The plugin was looked over by Andy and approved for mass distribution. So.. I just need to get it submitted to the plugins directory now and wait for some bug reports :).

  • Justin Shreve 3:16 am on July 9, 2009 Permalink
    Tags: ,   

    Hello I was on a vacation from Monday t… 


    I was on a vacation from Monday till today. Before that though Andy tested out the plugin(s) for me and reported issues to fix and suggestions.

    I went through and secured some of my code, changed how the plugins were loaded so they would work correctly, and added some alerts (if the plugin needs additional configuration or if you need to enable a search plugin for the api to use still). Minor fixes but the plugin(s) did get improved.

    I updated the source on http://wpsearch.serenelabs.com/ which can be downloaded here:


    I believe we are releasing it on wp-plugins soon too.

    Also, I filled out the survey so I should be set for the mid-term :).

  • Justin Shreve 4:28 pm on July 2, 2009 Permalink
    Tags: , ,   

    Sorry for the slightly late update! I wa… 

    Sorry for the slightly late update! I was at a concert last night.

    Over the last week I released the source code for testing and created a small website (powered by WordPress of course) at http;//wpsearch.serenelabs.com

    I also got a few pieces of feed back from Andy for bug fixes, the way I coded things and I went through and fixed some of those as well.

    Although the source is available on my site, I’m going to be committing the code to wp-plugins svn and releasing in the plugin directory soon, once Andy has a chance to test a little.

  • Justin Shreve 6:36 pm on June 25, 2009 Permalink  

    I got the small project website up and h… 

    I got the small project website up and have released the source code and example plugins.


    If anyone has time it would be great to get some early testing on some real content as well as some feedback.

  • Justin Shreve 8:10 pm on June 24, 2009 Permalink
    Tags: , ,   

    I thought I would have some trouble gett… 

    I thought I would have some trouble getting back into the project after the little break I took for the camp I was helping with.

    I actually worked literally all through the weekend/week after and got a lot accomplished. The code portion of the project is basically done. I will be getting a small site up soon with the source code and a download so people can start giving feedback and comments.


    Form Controls

    I coded all the form controls for reordering results and filters on the search page.


    Advanced Search Page

    All the form controls for the “Advanced Search” page work. You can now filter and search by category, author and all the other settings. The advanced search page also uses the virtual page setup


    API Improvment

    You can easily disable API features depending on what your search plugin will need. For example the MySQL plugin needs the index table, pagination, and advanced search options while the Google plugin can disable all of these and save resources.
    I also wrote the installer code to set up the index table, etc.

    Search Settings / ACP

    You can also have your plugin store settings which the Google plugin does for the client settings. The Search API generates a settings control panel and you can add settings very easily without much code.


    Cleaning up code and commenting, etc

    I did a mass clean up of all the code. I made sure all the functions that should be in the core search api were there. I also went through and made sure all my comment blocks and comments described what the plugins are doing so it’ll be easier
    for other developers to develop new search plugins. In addition I made sure any string was wrapped in the i18n function (something I forgot to do from the get go)

    Finished the MySQL Search Plugin

    The MySQL fulltext search plugin is now complete.

    Started and Finished the Google Search Plugin

    The Google plugin has been fully writen and showcases the settings part of the search plugin. That makes two example plugins that showcase all the features. A sphinx plugin will be released before the end of the summer of code program.


    What Next?

    Like I mentioned, I am going to get a small site setup (trac) so I can start getting this tested. I am also going to probably write the Sphinx plugin as a third example.

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc