Google quicksearch plug-in
Google quicksearch plug-in
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
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
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
It is on Spartacus. "Serendipity_plugin_google_quicksearch", "Search for an entry (Google)". It's a sidebar plugin.
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
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.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Did the file get downloaded, the path created?
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
Search Button
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.
Wizard
My WeBlog
My WeBlog
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!
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!
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
Ah... something wrong..
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.
Wizard
My WeBlog
My WeBlog
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?
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?
Last edited by wesley on Thu Sep 15, 2005 8:13 am, edited 1 time in total.
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
Spartacus?...
Is there a problem with Spartacus? Is that why I don't see version 1.3 and downloadmanager version 0.3?
Maybe there is a time delay, but three days?garvinhicking wrote:(Plugin also committed to CVS as version 0.3
Regards,
Garvin
Wizard
My WeBlog
My WeBlog
Too wide
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.
Wizard
My WeBlog
My WeBlog