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

English version #1

Open
trakais opened this issue Oct 24, 2018 · 2 comments
Open

English version #1

trakais opened this issue Oct 24, 2018 · 2 comments

Comments

@trakais
Copy link

trakais commented Oct 24, 2018

Hi! If I understand correctly, this code relies heavily on the Estonian language version of the site, since all the parsing stuff is hardcoded in estonian. Any plans for a universal parser, with option to select english? Now it seems I have to translate a lot of the variables like laiuskraad to longitude, but there is a lot I don't understand, like Vaatamisväärsused :) I don't speak estonian.

Should I try manually, or there is an english upgrade planned?

@tambeta
Copy link
Owner

tambeta commented Oct 24, 2018

Hi! There is no upgrade planned for the foreseeable future, I mostly consider this an archived project.

That said, the whole web scraping approach is not necessary. loodusegakoos.ee is based on the Voog platform and uses the concept of Elements to encode and display the points of interest. Meaning that one could pull all POIs via the API (example query) (note that you can set the language_code parameter). This would probably entail a full re-write of the scraper (possibly in a less esoteric language than Perl), but it would be simpler an less fragile for sure.

P.S. dodies.lv is superb and Estonian hiking trails would be a great addition. These should be easy to add thanks to the Voog API.

@trakais
Copy link
Author

trakais commented Oct 24, 2018

Thanks, this is also useful. I will think about how to use it for my purpose :) I am making a community project with all the trails/picnic sites in the baltics. I have Latvia covered, now looking for Estonian data. Check out dodies.lv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants