Photo Corners headlinesarchivemikepasini.com


A   S C R A P B O O K   O F   S O L U T I O N S   F O R   T H E   P H O T O G R A P H E R

Enhancing the enjoyment of taking pictures with news that matters, features that entertain and images that delight. Published frequently.

Site Tweak: Brave Search and More Share This on LinkedIn   Tweet This   Forward This

24 June 2021

This week Brave, the privacy-focused browser company, released a beta of its new Brave Search private search tool based on technology acquired from Tailcat in March.

In addition to providing no tracking or profiling, it uses its own index rather than renting from Google or Microsoft. "However, there are types of queries, as well as certain areas such as image search, for which our results are not relevant enough yet, and in those cases we are using APIs until we are able to expand our index," the company said.

We gave it a whirl and found it was not nearly up to snuff when it came to retrieving results from Photo Corners. But as its index expands, we expect it to improve, so we jumped the gun a bit and included both a text and image search option in our own site Search tool on our main pages.

There are quite a few of those pages and until today we've always kept the code inline. Some of the pages are PHP and some are just HTML and we didn't want to mix methods of including the search form.

Yes, "until today." Today we got tired of pasting the new versions in and switched to a JavaScript include for everthing. Now we can just edit one file and all the pages that use it will be automatically updated. Whew.

But if you turn off Javascript, the Find button won't do anything for you. You can still use the Archive page's search option (just not its Find button).

At the same time, we set Google as the default option in the popup list of search options. Because when we're in a hurry to research a reference on the site, that's what we use.

The most comprehensive options remain under Mike's Text Search. It is the only real-time, full-text search of the site. That means it will find a newly-published story like this well before Google and Bing know about it.

We reorganized the popup so the categories are a bit clearer. And that necessitated revising the CSS code. We think we're pretty good there but there are two different CSS stylesheets so we may have missed something.

Let us know if you see something peculiar.


BackBack to Photo Corners