2012年5月13日
摘要: Function: Creates a new post on your blog.tags如果没会自动那一个但是categroies如果与已经建立的不同,就会忽略掉的可以用string.replace('\n','').split(',')Parameters:Blog ID – For use in multisite installations, typically 0 for single... 阅读全文
posted @ 2012-05-13 21:33 fengidri 阅读(146) 评论(0) 推荐(0)
摘要: ====================演示了Python中的字符串通过split分割后的使用和把分割后的字符串连接起来#!/usr/bin/env pythonstr = ("i am a worker, and you are a student !")print str#split the str,if not specified the separator ,the whitespace ... 阅读全文
posted @ 2012-05-13 15:15 fengidri 阅读(272) 评论(0) 推荐(0)
摘要: ====================wp.newPageCreate a new page.Added in WordPress 2.2.Parametersint blog_idstring usernamestring passwordstring titlestring description: Page content.datetime dateCreateddatetime date... 阅读全文
posted @ 2012-05-13 14:54 fengidri 阅读(157) 评论(0) 推荐(0)
摘要: http://codex.wordpress.org/XML-RPC_WordPress_APIwp.newPost(目录好像很多只是3.0)Create a new post of any registered post type.Added in WordPress 3.4.Parametersint blog_idstring usernamestring passwordstruct co... 阅读全文
posted @ 2012-05-13 12:30 fengidri 阅读(412) 评论(0) 推荐(0)