openstreetmap-website icon indicating copy to clipboard operation
openstreetmap-website copied to clipboard

Add search box to diaries page

Open jidanni opened this issue 4 years ago • 5 comments

On https://www.openstreetmap.org/diary add a box to search, for e.g.,

  • diaries by a certain user
  • diaries on a certain subject
  • even: diaries containing a certain string.

jidanni avatar Aug 07 '21 15:08 jidanni

I just wrote about this on my diary! This would be a lovely feature to have.

mvexel avatar Sep 14 '22 20:09 mvexel

There was an interesting suggestion in the comments section of my diary entry. It seems that search engines are pretty capable to handle a diary-specific search given the right syntax. I am guessing most users coming across the User Diaries page do not know how to compose a search command like this. So I suggested (copying from the diary comment):

Perhaps there is a way to create a search box that parses whatever the user enters and redirects (new tab) to search engine results. So a user would enter, for example, openstreetcam and this would open a tab with https://duckduckgo.com/?q=site%3Aopenstreetmap.org%2Fuser+diary+%22openstreetcam%22.

As an added bonus, it would expose more users to a privacy-centered search engine.

Would that be a feasible implementation of this?

mvexel avatar Sep 15 '22 15:09 mvexel

Someone suggested documenting search strategies using existing external search engine syntax, so I took the User Diaries OSM wiki page (which was a redirect) and added some hopefully relevant content there.

mvexel avatar Sep 16 '22 15:09 mvexel