博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
metaWeblog 相关的参数
阅读量:4309 次
发布时间:2019-06-06

本文共 1420 字,大约阅读时间需要 4 分钟。

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 sites Username – WordPress username Password – WordPress password Content – Your blog post defined as an associate array with the following fields 'title' – Post title 'mt_keywords' – Tags 'categories' – An array of categories for the post. 'description – Post body content 'post_type' – 'post' or 'page' 'wp_slug' – Post slug (optional) 'wp_password' – Post password (optional) 'wp_page_parent_id' – ID of the parent post (optional) 'wp_page_order' – Menu order (optional) 'wp_author_id' – Identify an author other than the user posting the request (optional) post-type_status – Set the post/page/custom status to draft, private, publish, publish, or pending 'mt_excerpt' – Post excerpt 'mt_text_more' – Text for the Read More link 'mt_allow_comments' – Set whether comments are open or closed 'mt_allow_pings' – Same settings as 'mt_allow_comments' 'mt_tb_ping_urls' – An array of the URLs you want to ping on publication 'date_created_gmt' – The publication date for the post 'dateCreated' – Same as above … use one or the other Publish – The status you want the post to have, either publish or draft Returns: ID of the post you just created

转载于:https://www.cnblogs.com/fengidri/archive/2012/05/13/2757503.html

你可能感兴趣的文章
JavaScript:学习笔记(9)——Promise对象
查看>>
内存泄露检测 vld
查看>>
优秀HTML5网站学习范例:从“饥饿游戏浏览器”谈用户体验
查看>>
spring security原理
查看>>
js 验证各种格式类型的正则表达式
查看>>
POJ2392
查看>>
Form表单的主要Content-Type
查看>>
02ython基础知识(一)
查看>>
739. Daily Temperatures - LeetCode
查看>>
HDTV(1920x1080)码率和视频质量关系的研究 2 (实验结果)
查看>>
如何在使用摩托罗拉上的RSS阅读器应用进行一次订阅
查看>>
mahout贝叶斯算法开发思路(拓展篇)1
查看>>
《Two Dozen Short Lessons in Haskell》学习(十)- Private Definitions — the where-clause
查看>>
vue axios
查看>>
avl树
查看>>
Android开源库loopj的android-async-http的 JsonHttpResponseHandler 存在死循环GC_CONCURRENT
查看>>
第四次作业
查看>>
Android Studio如何导出可供Unity使用的aar插件详解
查看>>
NPY and girls
查看>>
我所遭遇过的中间件--VTK
查看>>