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?

link|improve this question

feedback

4 Answers

up vote 4 down vote accepted

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

link|improve this answer
Google perhaps makes a sitemap. However, there seems to be no sitemap which user can see. – Masi 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
feedback

In short, it is impossible at the moment.

link|improve this answer
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 at 12:08
Yes, true. Thank you for pointing out that! – Masi yesterday
feedback

is python supported by your development server?

link|improve this answer
I am making sitemaps for homepages made by Google sites, so I do not have an access to Python in the dev server. – Masi Jun 17 '09 at 19:02
feedback

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, ...).

link|improve this answer
My sites are hosted by Google Sites. I do not have the URIs in database. – Masi Jun 17 '09 at 19:05
feedback

Your Answer

 
or
required, but never shown

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