MT::XMLRPC::getPostRange
Method mt.getPostRange
Arguments
- blogid
- The ID of the weblog from which to retrieve the posts.
- user
- A user name for an author associated with the weblog.
- password
- The password for the author
- terms
- The search terms for locating the range of posts. The available terms are
- count
- The maximum number of posts in the range.
- before
- Include only posts that were created before the time specified.
- after
- Include only posts that were created after the time specified.
- reverse
- If count is specified, then the posts are counted from latest to earliest. If this term is specified and true then the posts are counted in the reverse direction.
- fields
- The fields to return. If this field is not present, a default set of fields are returned to emulate the original behavior. The default set is all fields not marked “by request only”.
- postid
- The ID of the post.
- userid
- The ID of the author of the post.
- mt_blogid
- The ID of the weblog in which the post appears. By request only.
- title
- The title of the post.
- description
- The text in the post.
- content
- A synonymn for the description field. This is used by the getRecentPosts method. By request only.
- mt_description_length
- Length of the description. By request only.
- dateCreated
- Timestamp of when the post was created.
- link
- The URL for the post.
- permaLink
- Synonym for the link field.
- mt_allow_pings
- Whether pings are allowed.
- mt_allow_comments
- Whether comments are allowed
- mt_convert_breaks
- Text filter
- mt_text_more
- Extended entry text for the post
- mt_excerpt
- Excerpt for the post
- mt_keywords
- Keywords for the post
- mt_status
- Status (0:draft, 1:publish). By request only.
If the name and password are specified as empty strings then the call still succeeds but only published posts are returned. Draft posts are ignored.
Post a comment
Trackbacks
Trackback URL: http://blog.thought-mesh.net/solidwallofcode/mt_projects/mtxmlrpcgetpost.php/ping