corzoogle logo - a simple chubby magnifier with a lightening bolt inset. Everything is in a cool semi-transparent grey gradient.

install corzoogle..

Simple install..

Drop "corzoogle.php" into whatever folder you want to search, and take your web browser to..

  http://yoursite/corzoogle.php

That's it.

Site install..

If you are running corzoogle on a live web site, even if you're not, it would probably be a good idea to open corzoogle.php in a text editor and customize its preferences. There's copious notege and comment within.

If you are running corzoogle on a live web site, and don't want folk to find your database passwords and such, I definitely recommend you read the preferences!

Greatest hits..

If you want corzoogle to remember recent searches, you'll need to have a file named .corzoogles, and that file will need to be writable by the web server process. corzoogle will attempt to create the file itself, but depending on your security settings, probably won't succeed. See this page for more details about how to remedy that.

Preferences..

corzoogle is extremely configurable. It's worth reading through the preference section at the top of corzoogle at least once. I'm told it's a good read, and you may even get a laugh or two.

F.A.Q..

When I load corzoogle in my browser I get a 403 error. What's up?

Mac OSX user? It sounds like you unzipped corzoogle somewhere, perhaps on a network volume, and then moved it into place on your local machine. Often, when moving files across volumes like this, file permissions get altered, tightened. And the mac webserver is pretty strict about file permissions; generally a good thing.

What to do is, open the file's "get info" (right click the file) in the Finder, and set permissions to read/write for all catagories ( owner / group / others (world) ), or do..

  chmod 755 /path/to/corzoogle.php

..in a shell/terminal session (as root).

If you unzip corzoogle on the same volume (preferably right in the folder where it will live) there is much less chance of its file permissions being reset like this, they will remain at the factory (my iMac) default.

The above probably applies to any script you download and install from corz.org

Is my Language supported?
aka. "Can I use such-and-such a character?"

A real-life email response sums up the whole matter..

> Hi!
>
> (lots of stuff about how great corzoogle is ..snipped.. *grin*)
>
> Is there any way to make corzoogle include the swedish characters å, ä and ö
>
> Thanks!
>
> *non-english person*

>

There is a way, but currently it's not pretty. I've had similar requests from Hungary, Estonia, Russia and a few other places, and I'm currently looking into full Unicode search support, which should hopefully cover everyone's needs. Sadly, php itself has only recently acquired "full" Unicode support, and older servers (like my host) just choke on it. Unicode handling is also slow.

The alternative (if plan A fails) is to have some kind of plug-in language support, and if I go this way, I will *definitely* be in touch at the early testing stage!

Now here's the really fun answer..

corzoogle ALREADY DOES!

It all depends on your server setup, and the encoding of the documents you are searching. I do know that corzoogle is installed on some *really* foreign sites, and they get results in everything from Arabic to Swahili! It just works, and no one says a word!

Right now (as a wee test) I added the word "öändersonå" to my main title page, and then corzoogled for it. See the attached jpeg. Weird huh?

Try this..

In the main .htaccess file of your site, add the line..

php_value default_charset utf-8

If, for some reason, you don't have access to the .htaccess file (now that's ironic) you could add a line to corzoogle itself, up near the top of the script, this..

ini_set('default_charset','utf-8');

might just make it all happen. I'll probably put that in the next release. (done, and just wait for the screams!) Please let me know how that works out, and thanks for caring about corzoogle!

for now..

;o) corz.org

And PLEASE do let me know how it works out!

next!

You can leave feedback!

You can ask stuff there, leave comments, that kind of thing. I don't expect it to get too busy; corzoogle just works.

Feedback

If you have a question, feel free to leave a comment, below. I don't expect it to get too busy; Anti-Hammer usually just works.


Welcome to the comments facility!


previous comments (one page)   show all comments

corz - 29.06.04 7:32 am

searching for "html -.html" brings up only legitimate results with "html" in the text … isn't that the answer to your own question? that's why the -not mechanism exists, so users can filter out stuff.

You think that corzoogle should automatically not search for terms that happen to be file extensions? It's technically feasible, of course, but do we really want this? Most folk, I imagine, would input something like "html" specifically to search for filenames inside files.

But maybe I don't understand the question, I can be a bit thick sometimes; feel free to elaborate.

;o)
(or



encoderX - 10.07.04 10:33 pm

Fantastic script! I've been searching for months for something like this.
Corzoogle is amazingly configuarable yet amazingly simplistic. Can't fault it... yet!
Thank you and keep up the great work - appreciated.

encoderX


jenninnifer - 19.07.04 11:09 pm

Do you have a 'Search with the results' option?

So if someone searchs for 'Whatever', then within those results, they can then search for 'Something'?

Thanks a bunch!


corz - 20.07.04 12:21 am

'Search with the results'?

Yes! simply add more terms! corzoogle always operates in "Boolean AND mode". The more terms you add, the narrower the search.

For instance, if you searched for Whatever and got fifty results, searching for Whatever Something would return reslts with BOTH the word Whatever AND the word Something, and probably much fewer results. You can narrow the search right down this way, being very specific. And there is no limit to the number of terms you can use, either. (though I have put a 256 character limit on the form input, corzoogle itself has no limit)

Check out the tips page for more useful stuff like this!

;o)
(or


Jim - 12.08.04 1:18 am

I have searched the net for many sleepless nights hoping to find a search script like yours. I can now sleep (for 2-3 hours). Thank you for writing this fantastic work! I have had no problems running your script and getting great results. I now go to delete all the other search scripts on my sites that didn't work.

A fan for life;

Jim


hs - 12.08.04 1:54 pm

maybe for the next version an option that all text between 'script-kiddie prank: ' en '' can be ignored, so the php src can't be viewed and so reducing the chance for unsecurity.
or i am mistaking and is this option already included?
greets hs


Jan Gottliebsen - 04.09.04 4:01 pm

Hi

corzoogle looks like a wery nice sitesearch. I have downloaded the script but something seems to be wrong with the zip file.

Can you help me? I would really like to test this script.

Best regards
Jan Gottliebsen


Cameron - 06.09.04 5:53 pm

Nice script, thank you! I love all your funny comments in the script too...especially the things you would accept as tokens of gratitude (like "mungbeans" or "interesting stones") I will be packaging up the mungbeans and stones soon to send to you (ummm...will mungbeans clear with customs? - and what is a phototron unit?) Anyhow...you can see your script (and join in if you have a photoblog) at work here: photoblogring.org
an image


corz - 09.09.04 2:31 am

glad to be of help with the sleep, Jim. I gotta get some of that myself; soon, I hope. Been a helluva few weeks.

hs, I'm guessing you mean between php tags; cbparser eats those. I guess you mean the preview snippets too. Not a bad idea, would slow things down a bit, but we could have a switch. noted.

Jan, if you're still having troubles with the zip, bang something in my inbox and I'll send you a plain text version. Putting "corzoogle" in the subject is a good idea, my shit-list deamon has a ferocious appetite.

Cameron! Good timing! I'm on the very dregs of my mung supply! mail me and I'll return a pdf version of "The Magic of Mung Beans" for your amusement. A Phototron Unit, by the way, is a hexagonal growroom particularly suited to high yeild type plants. I fancy playing with one, swapping out the bulbs, experimenting. I'd like a piano, too, for similar reasons.

All the best with the photoblog!

;o)
(or




raja iskandar shah - 10.09.04 12:01 pm

useful script. but i could not get it to work with pdf and sxw (oo.o writer). worked with .txt .doc and .html





corz - 10.09.04 11:42 pm

just add whatever extensions you need into the preferences.
the line goes something like..
$extentions = '..html.txt.doc.phps.blog.comment';/*


;o)
(or



next comments (9 pages)

First, confirm that you are human by entering the code you see..

(if you find the code difficult to decipher, click it for a new one!)


gd verification image