sparksp/laravel-ircbot — pull request #9 by janhartigan (2012-12-04 02:49:12+00:00)
Title: Adding irc-docsearch bundle

Some examples...first line is typed into IRC, second line is what Rommie (should) respond with:

!docs eager loading
Did someone ask for some docs? Here you go: http://laravel.com/docs/database/eloquent

!docs artisan commands
Did someone ask for some docs? Here you go: http://laravel.com/docs/artisan/commands

!docs where clauses
Did someone ask for some docs? Here you go: http://laravel.com/docs/database/fluent

This is screen scraping Google search results. There's an immediate and obvious enhancement that can be made to this. Consider the last case where you type `!docs where clauses`. For some reason, when I curl the page using my browser, it returns the "Jump to: " link.

However, it doesn't show up in the curl response. I'm not totally sure why this is the case, but if we could get it, then the `!docs eager loading` command could return http://laravel.com/docs/database/eloquent#eager