Permalink
Browse files

added more data from wordpress xmlrpc response to the get post respon…

…se object
  • Loading branch information...
1 parent 28c4a49 commit 65ac80c5fcd0cd56062fb40af7f7260c4d7ceeb6 @bryanjswift committed Jan 10, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 vimblog.vim
View
@@ -280,12 +280,15 @@ ruby <<EOF
'post_link' => resp['link'],
'post_permalink' => resp['permalink'],
'post_author' => resp['userid'],
+ 'post_author_name' => resp['wp_author_display_name'],
+ 'post_slug' => resp['wp_slug'],
'post_allow_comments' => resp['mt_allow_comments'],
'post_comment_status' => resp['comment_status'],
'post_allow_pings' => resp['mt_allow_pings'],
'post_ping_status' => resp['mt_ping_status'],
'post_categories' => resp['categories'].join(' '),
- 'post_body' => resp['description']
+ 'post_body' => resp['description'],
+ 'post_status' => resp['post_status']
}
when "rp"

0 comments on commit 65ac80c

Please sign in to comment.