logo for corzoogle; fast realtime personal search engine for your home or website, from corz.org

faq..

You can leave feedback!

I added a comment form to the foot of this page. You can ask stuff there, leave comments, that kind of thing. I don't expect it to get too busy; corzoogle just works.
 

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 recent 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)
(or


And PLEASE do let me know how it works out!



next!

 
cbparser powered comments..

previous comments (five pages)   show all comments

Nathan - 14.09.05 7:49 am

&*$% you noticed lol. I've made the changes. I was wondering if having multiple pages for larger max results would be possible or would it eat the speed too much?


cor - 14.09.05 8:27 am

smiley for :lol:

I don't have a mechanism to split the results into pages, no, if someone is getting more than a dozen results, they probably need to narrow their search query, and I have considered adding some text along these lines, something like.. "you have reached the results limit, consider adding more search terms to narrow down your results"

You can set a maximum limit for results, but corzoogle is so good at getting the best results to the top of the list, any half-intelligent search query will usually get the page you wanted in the top three or so, so it's never really been an issue.

Multiple results pages isn't so much a speed issue so much as one of compexity. We'd have to store the results somewhere before splitting them for the user (like these comments are paged) which would mean creating a file somewhere, and I guess I like to keep corzoogle as portable as possible, drop-in-and-search.

If lots of folk asked me for this, of course I'd consider it for when I get around to corzoogle pro, circa early 2006.

;o)
(or

ps.. THIS is a corzoogle logo..   an image
being transparent, it will look better against your orange background, too.


Ryan - 09.11.05 5:43 pm

First and foremost, brilliant software. Very easy to understand and implement into any site. Awesome.

Quick question though. I was wondering if corzoogle has the ability to show the results in a sepcified area. Lets say I had the search box at the top of the home page and wanted to overwrite my home page content with the search results when the user inputs a word to search (the site im working with is a php based site) ...Like many sites using other software for their search engine, this layout is used, Just wondering if I could get some help implementing this function! Thanks! And Great Work!



- Ryan.


cor - 10.11.05 10:02 am

Sure, just set $embedded = true; and then include corzoogle in your page. It will return the results in whatever space you put it inside. Lots of folk now run corzoogle this way.

You can put the search form - which is simply an html post form - absolutely anywhere and everywhere (the target being your embedded results page). Check out the 404 page here for an example, there's another example inside corzoogle itself, but you'll have to scroll for that.

have fun!

;o)
(or


Rikel - 16.11.05 2:34 pm

Hi Cor,

Nice to see a helpful FAQ page, and what seems like a nice clean search engine.

I wonder if it's possible for corzoogle to receive the search terms from a form, and run the search unseen. What I'm trying to do is have the user choose a couple of dropdown options, and then return just the results page (with logo, of course smiley for :D) after they submit.

This is a bit of a reach for my coding skills, so any help would be appreciated.

Thanks!
- Rik


Rikel - 18.11.05 1:05 pm

...Or could I just change the search text box to dropdowns in the corzoogle code?

That'd probably be a lot easier!

Is that possible?


- R


cor - 18.11.05 1:27 pm

erm - insert apologies for effin gmx mail server - so that's why it's been so quiet these last few days - damn, I wish I could still speak German! smiley for :roll: - yup. The form itself is self-contained (see functions at foot) so you could mess with that without fear of messing up corzoogle itself (you'll have a backup too, of course).

There are loads of ways to run things. Essentially, corzoogle searches and returns the results. You can do this in lots of ways, embedded, in an iframe, whatever you like. I saw one site using a drop-down to fire corzoogle, it was javascript, there was no need to even hit submit, it just shot off, but I'll be darned if I can find that URL.

Feel free to get back with more specifics, there will be a way.

;o)
(or


Rikel - 18.11.05 3:50 pm

Putting in the dropdowns themselves is no problem, it's making sure that corzoogle picks up everything from them is what concerns me.

I'd have to keep the name="q", wouldn't I? I see that's used later. How can I then be sure this captures the options from *both* dropdowns? smiley for :erm:

Thanks for spoon-feeding me on this.

- R


cor - 19.11.05 3:38 pm

Well, corzoogle will only use the "q" variable (you could easily change that), but *all* named elements will be available as variables in your target page. "capturing" and using them is up to you, or rather, the target script (container page).

For instance, if you had a form with two dropdowns. The first is the query term (named "q", value is whatever they choose), and the second is something else, say, a list called "other". When the user submits the form, "q" AND "other" will be available in the target page, their values being whatever was set by the user. corzoogle will use the "q" part, you can use the other variables however you like.

Grab this and use it as your target page for testing. It will show you exactly what variables are arriving at the page, and what their values are, along with lots of other potentially useful information.

If you need more help, paste in the actual HTML code you are using.

for now..

;o)
(or


Rikel - 21.11.05 2:58 pm

Right, so corzoogle wouldn't search by the 2nd dropdown term - unless I assigned it another variable and told corzoogle to look at that, too.

OK, let me think about that...

- R


sushma - 02.12.05 10:41 am

it only searches for files names with certain extensions.it would not search for a word which is present in those files.it would be better if we can search a term in all files and retun the files corresponding to that.what exactly i'm talking is like microsoft indexing service functionality in asp.net.
-chowdary


cor - 02.12.05 12:13 pm

sushma, I'm not sure I understand what you mean.

I think what you are saying is that corzoogle should seacrh *all* files regardless of the extension, but that sounds like security insanity!

;o)
(or

ps.. by the way, it would take about three second's hacking to get corzoogle to do that! But why oh why?


Nathan - 16.12.05 4:18 am

Hi again,
I ended up getting multiple pages to work withought using multiple files. There is one small error that i know of but it doesn't effect it too much. If you want to see the code changes just let me know. Here's the url again http://www.themeofthebible.com/misc/search.php


cor - 16.12.05 11:28 am

Heh, yeah, that's nice. You are running the search for *every* page, yeah? I'd considered this approach, but really I guess the idea of running the search all over again just to show the next "page" of results seems wasteful to me. This saves in other areas, of course.

But corzoogle is fast, and clearly its fast enough to make this a feasible option at least on small to medium sized sites, the results are cached in the server's ram, so this might actually be a good way forward. Hmm. Certainly I reckon it could be an option. Nice work!

And Yes! Of course I want to see your code! If anyone does *anything* to corzoogle, I want to see the code!

;o)
(or

ps.. what's the small error? perhaps I could look into it.


Nathan - 18.12.05 2:10 am

Did you want me to post the changes here or somewhere else?
There is something wrong with the code tags. At least on my computer.


cor - 24.12.05 2:04 am

Oh, mail that! It's noisy here. I'll take a look at your code tags, too. A second pair of eyes is always useful.

;o)
(or

[ edit - oops! what was I telling folk about posting comments on the dev mirror! smiley for :lol: ]


Mardi - 10.04.06 11:42 am

Hi!

I just get start with corzoogle. I don't know if corzoogle works with Khmer Unicode?

Best regard,
Mardi


LPetri - 02.10.07 6:24 pm

Hi,
I am using Corzoogle and loving it! Do you know if it will work with PHP5? My server is about to upgrade.
Thanks!


cor - 02.10.07 8:08 pm

Cool! As to your question..

Good question! I moved to a php5 server last week, and before corzoogle would work, I had to..
do nothing at all. smiley for :lol: Yup, it works great.

for now..

;o)
(or

ps. new update coming soon, as well as a corzoogle XHTML overhaul (but first I'll need to do that to this area of the site, which for some reason, I'm leaving until last).


Simon - 29.11.07 11:16 pm

Can't download, it complains I don't have cookies enabled - but I do! This is in Firefox and IE.


cor - 03.12.07 10:18 am

Aye, that was a bug with the recent distro machine beta (always the latest version of everything running here at the .org, bugs and all!). It's now fixed.

It was still possible to download from the main distro machine menus in /engine (as many seem to have), just not the embedded menus, like on the corzoogle download page.

By the way, the beta is the recommended version (as running here), not just for the XHTML-goodness. It will likely become the main release, as soon as I get time to do that.

;o)
(or

ps. Apologies for not replying sooner - recovering from hardware failure.


 

leave a comment, become part of this site!


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

(if you find it difficult to read, refresh the page for a new code)


Enter the 5-digit code this text sounds like : lower-case em, Upper-Case Kay, too!, lower-case aitch, Upper-Case Aitch


 
 
[site notice]

If you give a shit, BUY A SHIRT!