pingbacks testing

时间:2011-01-13 作者:user1567

关于新wp安装(3.0.4)中PBs的功能测试,我有几个问题:

发布帖子时是立即发送pingback,还是将其安排为cron作业?如果后者正确,作业多久运行一次,我可以手动触发它吗?

除了将“尝试通知文章中链接到的任何博客”设置为“开”,当然还有帖子内容中指向另一个博客的链接之外,还有其他关于发送PBs的术语吗?(例如,发件人的帖子应该是公开的而不是私有的吗?博客应该是非私有的吗?)

出站链接应该放在帖子内容中,还是可以放在帖子的自定义字段中,以便发送PB?

如果我的博客中没有发送或接收PBs,那么调试和检测问题的最佳方法是什么?

提前谢谢!

1 个回复
SO网友:hakre

Q: Are pingbacks sent immediately when a post is published, or are they scheduled as a cron job? If the later is correct, how often does the job run and can I trigger it manually?

A: 您可以安装core control (wordpress plugin) 了解更多信息。

Q: Are there any other terms for PBs to be sent besides having "Attempt to notify any blogs linked to from the article" set to on, and of course a link to another blog in the post content? (for example, should the sender post be public and not private? should the blog be non private?)

A: Wordpress可以也不关心外部资源作为某种程度上未定义的术语是公共的还是私有的。

Q: Should the outbound link be placed in the post content or can it be placed in a custom field of the post in order for the PB to be sent?

需要将其放入内容中。

Q: In case PBs are not sent nor received in my blog, what is the best way to debug and detect the problem?

记录并分析站点的入站和出站网络流量,重点关注HTTP请求,以了解到底发生了什么以及可能出现的错误。此外,我上面链接的核心控制插件可以帮助进行与cron相关的调试。

结束

相关推荐

如何记录插件(Cron)操作?

是否有推荐的方法从插件中记录(失败的)cron操作?例如,我有一个插件,它每小时与外部服务同步一次。我想记录更改了多少,以及同步失败的时间。你有什么建议吗?新的数据库表?这个Log Deprecated Notices 插件使用自定义的帖子类型来实现这一点,但这可能会带来太多的开销?我相信WordPress does not come with a standard logging package?