Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy way to link to geographical landing page #6

Closed
guaka opened this Issue Jul 21, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@guaka
Copy link
Contributor

commented Jul 21, 2015

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 warmshowers/Warmshowers.org#620

@thisismeonmounteverest

This comment has been minimized.

Copy link
Contributor

commented Jul 25, 2015

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

This comment has been minimized.

Copy link
Member

commented Jul 27, 2015

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

This comment has been minimized.

Copy link
Contributor

commented Aug 3, 2015

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

@simison

This comment has been minimized.

Copy link
Member

commented Aug 5, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.