1

I would like to generate a sitemap by my Uni.s account such that I have a cron which continuously run the sitemap_gen.py -file. The sitemap is for my site at Google Sites and particularly for the users of the site, not only for search engines.

How can you generate a sitemap by Google's Python script in Google Sites which does not give access to the backend?

  • is python supported by your development server? – Keith Jun 16 '09 at 19:46
  • I am making sitemaps for homepages made by Google sites, so I do not have an access to Python in the dev server. – Léo Léopold Hertz 준영 Jun 17 '09 at 19:02
4

lol, as stukelly pointed out, you must run the python script directly on the server, not on your home computer

if your site is at google sites, i guess you don't have direct access to google servers (unless you are a really good hacker), so you can't run the python script

btw, i guess that google is already making a sitemap of their google sites

edit: otherwise, you could leech all your website with an "offline browser", and then try to get a sitemap from there

  • Google perhaps makes a sitemap. However, there seems to be no sitemap which user can see. – Léo Léopold Hertz 준영 Jun 17 '09 at 19:04
  • you have no way to get it automatically on the server maybe you can leech all your website with an "offline browser", and then try to get a sitemap from there – Magnetic_dud Jun 17 '09 at 19:16
1

In short, it is impossible at the moment.

  • 1
    Do as Magnetic_dud suggested: Use HTTrack to download a copy of your site, run the script on that. Upload the generated file. – TRiG May 10 '12 at 12:08
0

It should be fairly easy if you'll provide URL list to the python script. So the answer is - by getting a list of URIs (which depends on your environment - do you have them in database, crawl for them, edit them manually, ...).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.