OpenStreetMap 标志 OpenStreetMap

Searching Diaries

mvexel 于 2022年九月14日 以 English 发布

I was going to search to see if someone had already written about this, but..

It would be really useful to be able to search the diaries.

There is so much valuable, fun, informative, personal writing on here, but it is really hard to discover.

Fortunately, Weekly OSM does a good job of capturing some of the interesting entries posted here, but they can’t possibly cover everything.

I’m not sure what would be involved in adding this functionality, I am sure if it were easy, someone would have already done it. Someone did open an issue for it on Github but it has received no comments so far.

Is there anyone here who speaks Ruby, cares about this, and wants to implement it?

位置: Central City / Liberty-Wells, Salt Lake City, Salt Lake County, Utah, 84111, United States
电子邮件图标 Bluesky图标 Facebook图标 LinkedIn图标 Mastodon图标 Telegram图标 X图标

讨论

TrickyFoxy2022年09月15日 08:15 的评论

Most likely, the task is not a priority, because any search(Google, DDG) can easily cope with it. Just try a query of the form: site:openstreetmap.org/user diary every door

TomH2022年09月15日 11:22 的评论

Well ruby is not really the issue - it’s not like somebody is going to write something that reads every diary entry from the database and searches the content using ruby.

Well I mean somebody could write that but it would never get merged.

So the issue is the need for efficient free text indexing/searching of diary entries, which is very much a non-trivial task.

Meanwhile your favourite internet search engines are quite happy to search “site:openstreetmap.org diary index” for you so there are easy workarounds.

mvexel2022年09月15日 14:57 的评论

The search engine option is interesting! I am guessing not many people know about this.

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 something like that potentially be merged, TomH?

TomH2022年09月15日 15:28 的评论

I’m reluctant to tie things to specific third part services like that, both from a reliability point of view and because it means we’re blessing one service over others.

mvexel2022年09月15日 15:43 的评论

I understand and respect that principle. However, DuckDuckGo is a very well established service, and aligns with our user privacy principles. And even if DDG were to go away, a search box would not be a deep integration, and this would be pretty easy thing to revert.

Msiipola2022年09月16日 06:26 的评论

I assume the search parameters are the same, even if an other search engine is used (in case DDG goes away)?

But as others already said there are standard methods searching the diaries. I don’t see much advantage by creating a UI layer on top of this.

Better just to inform others how to do it. Maybe on the osm wiki.

TheSwavu2022年09月16日 09:49 的评论

If you want to filter out the stuff that’s not a diary then you can use: site:www.openstreetmap.org/user/ inurl:diary -inurl:comments "every door"

mvexel2022年09月16日 15:55 的评论

@Msiipola OSM wiki is a good place to document this lacking UX. I took the existing User Diaries page (which was a redirect) and wrote some content there about diaries in general, and how to search for them using DDG. Please help improve!

OpenBrian2022年09月17日 20:52 的评论

One my the design ideas for microcosms (aka communities) will be to view diary entries of a geographic region using diary_entry.location. Another idea is to show the diary entries of members of a community. For example my normal mapping buddy Andrew Wiseman mapped his vacation trip to Bermuda. Granted that can also be seen through friendships.

But I like the idea of search by content. We could use PG’s full text search to index the content.

登录以留下评论