Comments (8)
I was just yesterday talking about adding Pinterest-frontend Binternet as a tab. Maps could be useful indeed, but a little hard to add, address detection seems a little hard and honestly out of the scope of LibreY. However, if there's a good PR, - that keeps privacy in mind - I will probably merge it.
from librey.
It might be possible to add maps via OSM, even if it is just a redirect to OSM's search results for that page. I'm not sure if there is any reasonable way to proxy OSM requests via libreY without using javascript to display a map. However, it might be possible to just use their API to get search results for the entered address, which link to the corresponding OSM page for that location.
As for shopping and news, I'm not sure how useful these actually are to implement: one can easily get news results by searching general so it might not be necessary to implement this.
from librey.
I checked it, seems possible indeed, but maybe a little clumsy to add a maps button for "wood plank" if someone searches for that? I'm not going to regex a bunch of cities...
from librey.
Maybe we can offload that sort of work elsewhere: for example we could do a preliminary search on OSM, and if it yeilds no street names / corresponding addresses, then we can omit this from the tabs list. However this could be an extra request that would slow down the load time to the page, and potentially lead to further ratelimits elsewhere, so might not be such a good idea.
I think adding it to the end of the list wouldnt be too distracting, as if someone did search "wood plank" they probably wouldnt think to search on maps anyway, unless it was indeed something they wanted a location for (?).
from librey.
Hmm, might be nice to implement then, shouldn't be too hard... I'll look at it!
from librey.
Closing as Maps
has been added.
from librey.
Reopening as the results do not match the search criteria
When I click the first result (which is the one I am after),
it redirects me to the following link
https://www.openstreetmap.org/node/185058198
Opening this page, zooming out a bit to check where is it, it turns out to be somewhere else, in this case, somewhere in Canada instead of Melbourne/Australia
Even the street name shown is not related to Major Road
It is not only with this address, it is for all, and I have checked with a friend of mine on his locally hosted version. Same thing
from librey.
It is not only with this address, it is for all, and I have checked with a friend of mine on his locally hosted version.
This is because for street names in particular, OpenStreetMap uses /way/
to prefix their URLs, than the regular /node/
. This is why it gives you a different place. Including for cities, which use /relation/
and also partially mess up the search.
The fix for this would be to use osm_type
for the URL path. I'm willing to implement this.
from librey.
Related Issues (20)
- Pages don't work - Same results each time. HOT 18
- .git/refs/heads/main - No such file or directory HOT 7
- [Feature Request] Alternative to Youtube Front End HOT 12
- Should donations to LibreX be removed? HOT 9
- Remove Images Safe search HOT 2
- Search Results in Incorrect Languages HOT 6
- Can't Add LibreY as Search Engine on Mozilla-based Web Browsers HOT 1
- [Bug/Feature Request] Add setting for base href HOT 6
- Can I disable qwant for images? HOT 18
- [Feature Request] Ability to specify default theme HOT 8
- Basic customization? HOT 3
- Search results are doubled
- nginx tries to bind port 80 HOT 19
- New instance: librey.nirn.quest HOT 4
- currency conversion queries persist between sessions
- Removing my Instance HOT 1
- Duplicate setting on Settings Page setting.php HOT 4
- Settings don't "stick" after clicking save. HOT 6
- My "fix" caused a different problem with "sticking" settings. HOT 6
- Searching gives blank page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librey.