[openstreetmap/openstreetmap-website] Google Sitelink Search (suggestion) (#1677)

merlinox notifications at github.com
Mon Nov 13 15:50:25 UTC 2017


Hi. I've a little suggestion for you. If you add in your pages this little code (https://developers.google.com/search/docs/data-types/sitelinks-searchbox) you should permit to user to search directly in OSM directly from Google SERP and to obtain results directly from your site, not from Google.

<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.openstreetmap.or/", "potentialAction": { "@type": "SearchAction", "target": "https://www.openstreetmap.org/search?query={search_term_string}", "query-input": "required name=search_term_string" } } </script>
Thanks

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1677
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171113/058e2395/attachment.html>


More information about the rails-dev mailing list