Page 1 of 2

Google quicksearch plug-in

Posted: Wed Aug 17, 2005 1:30 pm
by wesley
I made a Google quicksearch plug-in as an alternative to the default
quicksearch. Quicksearch can't search half of my website, that is, the
Korean version, since it only indexes the default language version. So
instead of waiting for quicksearch to improve I just hitched on Google.

The search page's language and encoding is configured automatically
based on s9y's current page settings (e.g. if it's set to Korean, it'll show
the results in Korean).

SourceForge CVS download

Related blog post

Posted: Sat Aug 27, 2005 8:24 am
by MySchizoBuddy
why is this not on spartacus

Posted: Mon Aug 29, 2005 2:36 pm
by garvinhicking
It is on Spartacus. "Serendipity_plugin_google_quicksearch", "Search for an entry (Google)". It's a sidebar plugin.

Regards,
Garvin

Posted: Mon Aug 29, 2005 2:59 pm
by MySchizoBuddy
i'm getting this

Code: Select all

Please report this bug. This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_plugin_google_quicksearch [1] => [2] => right [3] => 0 [4] => serendipity_plugin_google_quicksearch ) 
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_plugin_google_quicksearch:c72a03d0c2e5dc54865205b190d4b328', 7, 'right', '0', 'serendipity_plugin_google_quicksearch')
Init probe for plugin serendipity_plugin_google_quicksearch:c72a03d0c2e5dc54865205b190d4b328, , serendipity_plugin_google_quicksearch
Including plugin serendipity_plugin_google_quicksearch, serendipity_plugin_google_quicksearch
No valid path/filename found.
Including plugin(2) serendipity_plugin_google_quicksearch, serendipity_plugin_google_quicksearch
No valid path/filename found. Aborting.
Classname serendipity_plugin_google_quicksearch still does not exist. Aborting.
Loading plugin failed painfully. File not found?
Init probe for plugin serendipity_plugin_google_quicksearch:c72a03d0c2e5dc54865205b190d4b328, , 
Including plugin serendipity_plugin_google_quicksearch, 
No valid path/filename found.
Including plugin(2) serendipity_plugin_google_quicksearch, serendipity_plugin_google_quicksearch
No valid path/filename found. Aborting.
Classname serendipity_plugin_google_quicksearch still does not exist. Aborting.

Posted: Mon Aug 29, 2005 4:02 pm
by garvinhicking
Did the file get downloaded, the path created?

Regards,
Garvin

Posted: Mon Aug 29, 2005 4:14 pm
by MySchizoBuddy
Nup the directory was not created, and no file is downlaoded

Posted: Mon Aug 29, 2005 4:47 pm
by garvinhicking
Did you check the permissions on your plugin directory? They should be 777. Try to download another spartacus plugin, that might also not work?

Regards,
Garvin

Posted: Tue Aug 30, 2005 1:44 pm
by MySchizoBuddy
ok got it
it still can't find my latest article.
I gues its the same BS with google.

it would be nice if it showed the results using my blog look

Posted: Sat Sep 10, 2005 5:57 am
by MySchizoBuddy
OK it isn't validating
click here to see the result

Search Button

Posted: Sat Sep 10, 2005 9:11 pm
by Wizard
Why on both QuickSearch plugin and Google the Site plugin there is no Search button or Submit or something to indicate the user to Go start the search? It's not necessarily obvious to some users to press the enter key. I know, it's a minor issue, but it's all about maintaining GUI standards.

Posted: Mon Sep 12, 2005 6:05 am
by wesley
Okay, I fixed the validation issue and added option to put 'submit' button
under the search box. The new version has just been committed. It'll be
accessible in a few hours (version 1.3). Thanks for the suggestions! :)

Ah... something wrong..

Posted: Wed Sep 14, 2005 6:59 am
by Wizard
Just so you know. Spartacus still shows Version 1.1 so it doesn't allow me to upgrade. I ended up uninstalling and then deleting the plugin from my site. After retrieving the listed 1.1 version from Spartacus again, it is indeed the 1.3 version. Also, it widens my left sidebar a little more than it used to, so it throws everything off slightly. So I think something is wrong with the version still. Just a heads up.

Posted: Wed Sep 14, 2005 8:29 am
by wesley
As for the Spartacus, I've updated my plugin the usual way, so I don't
think there should've been any problem. SF CVS properly shows the
version as 1.3. Perhaps Spartacus didn't properly have the version number
loaded, although as I understand this should be automatically retrieved,
and my code has the version declaration properly. So I don't think it can
be solved from my side. Weird... -_-a I wonder how often Spartacus checks
the version string... it's only been two days.

As for the widening, that's weird, too, if it occurs regardless of adding the
button or not. The form code has nothing changed except for adding a
part for checking if it should display the button or not, and therefore it
should look formatted exactly like the previous version. If it only happens
when adding the button, it could be that the template or the browser might
have interacted with the new element a bit, although in my testing there
were no layout anomalies. Can you check a bit?

Spartacus?...

Posted: Wed Sep 14, 2005 11:44 pm
by Wizard
Is there a problem with Spartacus? Is that why I don't see version 1.3 and downloadmanager version 0.3?
garvinhicking wrote:(Plugin also committed to CVS as version 0.3 :-)

Regards,
Garvin
Maybe there is a time delay, but three days?

Too wide

Posted: Thu Sep 15, 2005 8:29 am
by Wizard
You know, the only thing I can see different is the size of the input box. Somehow it's slightly bigger, so it stretches the whole plugin to fit. It's slightly bigger than even the Shoutbox. I moved it to my right side for now, since I haven't a clue on how to fix it. It's already wide on that side due to the calendar being wide.