2011-03-25 10 views
2

使用Python谷歌的AppEngine:什麼是URI格式創建一個谷歌網站自定義URL

entry = client.create_site(orgName, 
    description=orgDescription, 
    source_site='https://sites.google.com/feeds/site/dpau.org/org' 
    uri='https://sites.google.com/feeds/site/dpau.org/MyCustomURL') 

我得到「無效的URI」的URI =

我使用的格式無效URI? uri ='MyCustomUrl'也不起作用。

回答

0

您在參數列表中缺少逗號,但我不知道這會修復您所看到的錯誤。你能複製/粘貼實際的錯誤嗎?

entry = client.create_site(orgName, description=orgDescription, 
      source_site='https://sites.google.com/feeds/site/dpau.org/org', # this comma right here 
      uri='https://sites.google.com/feeds/site/dpau.org/MyCustomURL') 
相關問題