Adriaan de Groot
fe20416a54
[locale] Make the selector configurable
...
- GeoIP gets a string selector; the interpretation is up to derived classes.
- GeoIPXML and GeoIPJSON use the selector to select an element by tag
or an attribute, respectively.
2018-04-16 04:55:37 -04:00
Adriaan de Groot
aaae1507cd
[locale] Convenience function for TZ splitting
2018-04-12 11:51:50 -04:00
Adriaan de Groot
d5623af8ef
[locale] Refactor geoip handling
...
- Configuration **must** be a complete URL. The implementation no
longer appends /json to the URL.
2018-04-12 10:11:48 -04:00
Adriaan de Groot
c0d5a153d4
[locale] Refactor GeoIP handler
...
- Move GeoIP to its own cpp file
- Provide a default implementation of the URL mangler
2018-04-12 09:54:22 -04:00