TNRIS / dataHub

ReactJS frontend web application for browsing, downloading, and inquiring about TNRIS public data and historical imagery.
https://data.tnris.org
8 stars 0 forks source link

sitemap.xml #199

Closed adambreznicky closed 4 years ago

adambreznicky commented 5 years ago

we should add a sitemap.xml for google site crawling. considering the site paths are constructed from the api, a scheduled routine (lambda or such) could rebuild a new one and dump it into s3 periodically. we used to have prerender do the crawling and precaching but budget issues means we'll have to just build our own sitemap.xml so google knows which paths exist without having to hit them through js

one was originally uploaded to the google search console for the site (tnris.twdb gmail acct) but has since been removed. needs to remain present.

after creating the sitemap, log into the google search console and update the submitted one.

adambreznicky commented 4 years ago

resolved via deployments repo. "datahub-sitemap" independent lambda function fires on monthly routine to build xml file and dump into app s3 bucket