The things we are trying to do right now are the following.
Categories
Create categories for a new post created in Blogsy.
Create categories for a previously published post loaded into Blogsy
to edit and update.
Fetch categories associated with a previously published post.
Tags
Create tags for a new post created in Blogsy.
Create tags for a previously published post loaded into Blogsy to edit
and update.
Fetch tags associated with a previously published post.
Date
Set date - (past, present or future) for a new post.
Change date - (past, present or future) for a previously published
post.
We are using the XML-RPC protocol(Endpoint : http://www.typepad.com/t/api)
and need to know what parameters TypePad supports for each method.
We've researched the TypePad support forums but haven't found any
documentation. We tried the usual way for the XML-RPC protocol but the
parameters didn't work.
We would love to get a the parameters for all the methods TypePad
supports but if that document is not readily available then can we at
least get the parameters for the following method?
"metaWeblog.newPost",
"metaWeblog.editPost",
"mt.setPostCategories",
"mt.getPostCategories",
Thanks,
Lance
Sorry about the lack of documentation. Here's the list of supported methods.
blogger.newPost
blogger.editPost
blogger.getRecentPosts
blogger.getUsersBlogs
blogger.getUserInfo
blogger.deletePost
metaWeblog.getPost(entry_id, username, password)
metaWeblog.newPost(blog_id, username, password, item, publish)
metaWeblog.editPost(entry_id, username, password, item, publish)
metaWeblog.getRecentPosts(blog_id, username, password, number)
metaWeblog.newMediaObject(blog_id, username, password, file)
mt.getCategoryList(blog_id, username, password)
mt.setPostCategories(entry_id, username, password, categories)
mt.getPostCategories(entry_id, username, password)
mt.getTrackbackPings(entry_id)
mt.supportedTextFilters
mt.getRecentPostTitles(blog_id, username, password, number)
mt.publishPost(entry_id, username, password)
wp.newPage(blog_id, username, password, page, publish)
wp.editPage(blog_id, entry_id, username, password, page, publish)
wp.deletePage(blog_id, username, password, entry_id)
wp.getPage(blog_id, entry_id, username, password)
wp.getPages(blog_id, username, password)
I'm attaching sample xml files so you can test with your credentials
like the following command. (Please replace BLOG_ID, ENTRY_ID, EMAIL,
and PASSWORD in the files with yours)
$ curl -H 'Content-Type: text/xml' -d @metaWeblog.newPost.xml
http://www.typepad.com/t/api
<?xml version="1.0"
encoding="utf-8"?><methodResponse><params><param><value><string>6a01156f94199c970b01675ed4841b970b</string></value></param></params></methodResponse>
Hope this helps.
Regards,
Satoshi Tanimoto
> --
> You received this message because you are subscribed to the TypePad Developers Network.
> To post to this group, send email to typepad-d...@googlegroups.com
> To unsubscribe from this group, send email to typepad-dev-net...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/typepad-dev-network?hl=en
Unfortunately setting categories in the newPost method is not
currently supported. Instead you need to use mt.setPostCategories
method.
Regards,
Satoshi
Thanks OK. I'm gonna use mt.setPostCategories method.
How about draft? Can I set post status as draft in newpost method?
Regards,
Jusung
Sent from my iPhone
2011/12/16 Kye jusung <kyej...@gmail.com>:
> How about draft? Can I set post status as draft in newpost method?
Yes, you can. :)
metaWeblog.newPost(blog_id, username, password, item, publish)
"publish" is a boolean parameter. If it's set to true, a post will be
published, otherwise a post will be created as draft. Please see also
metaWeblog.newPost.xml.
Regards,
Satoshi