admin 管理员组文章数量: 1184232
I'm currently trying to create a feed which will be automatically updated and then use a service like twitterfeed to then push these changes to facebook and twitter.
When I view www.mysite.com/rss I see all of the correct jobs displayed in plain text and not in a hierarchical format but I don't have any other errors to really tell you.
I am using codeigniter and this is the current code which I have within my controller and view.
controller:
view:
收起
The problem may be that you are using the PHP function
header("Content-Type: application/rss+xml")
to set your content type.
As CodeIgniter does not know you are doing this it too will try and set the
Content-Type
headder.
Try using the build in
$this->output->set_content_type();
method (
) instead
报告相同问题?
版权声明:本文标题:无法让第三方应用程序验证xml提要?_移动开发-问答 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/b/1773881949a3566795.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论