💾 Archived View for kennedy.gemi.dev › site-search › about.gmi captured on 2024-06-16 at 12:28:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-02-05)

-=-=-=-=-=-=-

🎯 About Kennedy Site Search

I wanteded to allow anyone to add a search feature to their capsule, without needing to be a programmer. It turns out to be easier than I expected. This works because Kennedy is indexing all of Geminispace, and it offers a `site:` modifier to return results only for a specific capsule.

Putting these together, People can create a special link they can include in their capsule which looks like this:

=> gemini://kennedy.gemi.dev/site-search/s/[DOMAIN NAME]/

When someone clicks that link, they can submit a search query and get results just for that capsule!

Create Site Search for your capsule

How does it work

Inspiration

Back in the mid 2000's, Google offered a "Site Search" feature that allowed anyone to add Search functionality to their website. They did this by embeding some HTML into the page. I wanted to do something similar for Gemini, with the added challenge that gemtext doesn't have the same capabilities as HTML!

Archived: How can I add a Google Search Box to My Web Site?