Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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. –  Masi Jun 17 '09 at 19:02

3 Answers 3

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

share|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

In short, it is impossible at the moment.

share|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 '12 at 12:08
    
Yes, true. Thank you for pointing out that! –  Masi May 23 '12 at 21:48

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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