[英]PHP creating RSS-feed, not updating
I have created a simple RSS-feed with PHP , which gets the latest news (20 items) from my MySQL-db. 我使用PHP创建了一个简单的RSS提要 ,它从MySQL-db中获取了最新消息(20个项目)。
When I run this in Mozilla Firefox, everything works great without an issue. 当我在Mozilla Firefox中运行此程序时,一切正常,没有问题。 When there is a 'new post', I can update and the new post will be shown.
当有“新帖子”时,我可以更新,并且将显示新帖子。 But when I run the same on my iPhone via (Simple RSS app) it does not work.
但是,当我通过(简单RSS应用)在iPhone上运行相同代码时,它将无法正常运行。 It seems like it is updated, and remains updated, by the time I first read it in the 20 items.
到我在20个项目中第一次阅读它时,它似乎已更新,并且仍在更新。
I have tried to set no-cache
, and to send header information that the page was last modified, as the page is loaded. 我尝试设置
no-cache
,并发送页面被加载时页面最近被修改的标题信息。 But it's not working. 但这不起作用。
Many thanks for some inputs! 非常感谢您的投入! I have struggled with this for two weeks now with a lot of googling.
我已经为此进行了大量的谷歌搜索工作了两个星期。
Best Regards, Dasman 最好的问候,达斯曼
To make your RSS-feed to work on iPhone via Simple RSS app, try Creating an RSS feed that: 要使您的RSS提要通过Simple RSS应用在iPhone上运行,请尝试创建一个RSS提要:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.