denshoproject / encyc-front

front-end interface for the encyclopedia
Other
1 stars 0 forks source link

Get timeline data from Elasticsearch #99

Open gjost opened 4 years ago

gjost commented 4 years ago

Data for /map/ and /timeline/ comes from two XML files that are (as of encyc-psms commit 5c05fc5) part of densho-vocab and served by the encyc-psms API. encyc-front caches these results but they're still coming from encyc-psms every 15min or so.

The code for converting the XML files to JSON should be moved from encyc-psms to encyc-core, which should add a command for publishing these to Elasticsearch. This would mean fewer in-request connections between encyc-front and other parts of the infrastructure.

GeoffFroh commented 3 years ago

Don't need map data now, just the timeline data