开发者

What is the URI format to create a Google Site with custom URL

Using python google appengine:

开发者_开发技巧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')

I get "Invalid URI" for the uri=

Am I using an invalid format for the URI? uri='MyCustomUrl' does not work either.


You're missing a comma in your arguments list, though I don't know that this would fix the error you're seeing. Can you copy/paste the actual error?

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')
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜