Sitemap.xml file upload to app engine instance

40 views
Skip to first unread message

Nikitha Kamath

unread,
Sep 6, 2018, 10:42:21 AM9/6/18
to Google App Engine
Hi,

Is it possible to upload sitemap.xml file dynamically on a daily basis to app engine(standard environment-python) running instance?

Thank you.

Barry Hunter

unread,
Sep 6, 2018, 11:21:00 AM9/6/18
to google-appengine
In general would say make sitemap.xml a dynamic handler. 

It could just consult your database to find a list of URLs and just output the XML on the fly. Potentially caching it to save doing it every time. 


... or it could download the actual XML from Cloud Storage, or even the BlobStore. Whatever offline process creates the sitemap, just uploads it there when done. 



You could have your script recreate the file and then 'deploy' your app, to upload the to the static file storage area, but regular deploys are not ideal, it could cause technically unnesseraly overhead. Might need to carefully manage versions to avoid leaving lots of versions lying around. 


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/174be857-e4bd-404d-9bac-84237864ae2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nikitha Kamath

unread,
Sep 7, 2018, 12:02:44 PM9/7/18
to Google App Engine
Dynamic handler would work. Thank you
Reply all
Reply to author
Forward
0 new messages