BeWelcome / rox

:earth_africa: BeWelcome lets you share a place to stay, connect with travellers, meet up and find accommodation on your journey. It is and will always be a free, open source, non for profit, democratic community.
https://www.bewelcome.org
GNU General Public License v2.0
189 stars 53 forks source link

Easy way to link to geographical landing page #6

Closed guaka closed 9 years ago

guaka commented 9 years ago

I'd like to link to BeWelcome from http://nomadwiki.org, ideally automatically from all city and country pages. For this to work there should be something like bewelcome.org/geo/Paris and bewelcome.org/geo/France - these 301 pages can be redirected elsewhere of course, but I don't want to manually construct this link for each page.

See also https://github.com/warmshowers/Warmshowers.org/issues/620

thisismeonmounteverest commented 9 years ago

Links to places are constructed in an easy and reproducible way removing ambiguity: /countryname/2 letter countrycode/name of region/admin id from geonames/name of place/geoname id

The suggested redirects don't make sense to me as it is unclear why /geo/Paris should be the capital of France and not little Paris in Texas.

Closing as won't fix.

simison commented 9 years ago

Man... lemme put it this way;

we have 3 major underground travel wikis with some 250K unique visitors a month and some 7K pages in over 10 languages. All we have is a name of the article (like "France" or "Paris") and we'd like to have an easy way to link to BeWelcome.

Sad to hear it's not possible.

thisismeonmounteverest commented 9 years ago

How do you map the names you have to the real place?

simison commented 9 years ago

Namespace is built manually, just like at Wikipedia (we use the same software); https://en.wikipedia.org/wiki/Paris

Ideally it would be a search that results to most likely place (totally to Paris in France instead of Texas...). Example: https://www.trustroots.org/search?location=Paris,France