Google Reader 无法通过我的编程正确读取我编写的提要

发布于 2024-08-18 17:41:15 字数 800 浏览 5 评论 0原文

(我之前问过这个问题,这个问题在某种程度上被认为更适用于超级用户,并且迁移到那里后,它被关闭,因为不适用于超级用户。那么,让我先澄清一下,我在 php 中使用我编写的程序创建的提要是否存在问题。或者,如果 Google Reader 有一些特殊要求,作为一名使用 php 的程序员,我在编程时应该意识到这一点。)

我有两个带有 RSS 提要的网站。在每个站点中,我收集数据,然后将其传递给我编写的简单格式化程序,该格式化程序负责创建 RSS 格式的工作,因此每个站点本质上都使用相同的代码来生成提要。

我在 Google Reader 中订阅了这两本。一个(scribs)工作正常,但另一个(amusing.org)则不行。它显示的最新更新为 2009 年 11 月 7 日,并且不知何故,最新更新(1 月 22 日及之前)堆积在 2009 年 10 月 31 日之后。因此,它从未显示提要已更新。

两个提要都通过提要验证器进行验证,只需目视一下,所有日期和格式对我来说都是正确的,但我无法找出问题出在哪里。

有效的提要:http://scribs.us/feed.php
没有的提要: http://www.amusing.org/feed.php

(I previously asked this question which was somehow considered more applicable to superuser, and after it was migrated there, it was closed as not applying to superuser. Let me make it clear up front, then, that I'm asking if the feed that I have created in php, with a program written by me, has some problem with Google Reader. Or if Google Reader has some special requirements of which I, as a programmer, using php, should be aware. While I'm programming.)

I have two sites with RSS feeds. In each site, I gather the data and then pass it off to a simple formatter I wrote that does the work of creating the RSS format, so each site is essentially using the same code to generate the feed.

I subscribe to both of them in Google Reader. One (scribs) works fine, but the other (amusing.org) doesn't. It shows the most recent update as Nov 7 2009, and somehow the most recent updates (jan 22 and previous) get stacked up behind Oct 31 2009. As such, it never shows that the feed has updated.

Both feeds validate through Feed Validator, and just eyeballing it, all the dates and formats look right to me, but I can't work out where the problem is.

The feed that works: http://scribs.us/feed.php
The feed that doesn't: http://www.amusing.org/feed.php

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

悲念泪 2024-08-25 17:41:15

FeedValidator 是您用来诊断许多 Feed 问题的工具。

尝试修复这些问题(第一个 feed):

此 Feed 有效,但是
具有最广泛的互操作性
提要阅读器的数量可以通过以下方式改进
实施以下
建议。

第 113 行,第 412 列:描述
不应包含相对 URL
参考文献:/?c=170 [帮助]

... t;边框:无 0px;"
/>
^ 第 118 行第 4 列:缺失
原子:与 rel="self" 的链接 [帮助]

还有这个 (第二个提要):

此 Feed 有效,但是
具有最广泛的互操作性
提要阅读器的数量可以通过以下方式改进
实施以下
建议。

第 138 行,第 4 列:缺少原子:链接
与 rel="self" [帮助]

我会发现一旦修复这些警告,错误是否仍然存在。

也就是说,您是否可能正在处理 Google Reader 内的排序问题?客户端有一些选项可以按不同的标准进行排序。您所看到的视图可能已关闭?

FeedValidator is what you want to be using to diagnose many feed problems.

Try fixing these issues (first feed):

This feed is valid, but
interoperability with the widest range
of feed readers could be improved by
implementing the following
recommendations.

line 113, column 412: description
should not contain relative URL
references: /?c=170 [help]

... t;border:none 0px;"
/></a></description>
^ line 118, column 4: Missing
atom:link with rel="self" [help]

</channel>

And this one (second feed):

This feed is valid, but
interoperability with the widest range
of feed readers could be improved by
implementing the following
recommendations.

line 138, column 4: Missing atom:link
with rel="self" [help]

</channel>

I would find out if once you fix those warnings, the errors persist.

That said, is it possible that you're dealing with a sorting issue inside Google Reader? There are options at the client end to sort by different criteria. The view you're looking at may be off?

回眸一笑 2024-08-25 17:41:15

如果将鼠标悬停在阅读器中某个项目的日期上,您将看到一个显示“已接收”日期和“已发布”日期的鼠标悬停。 “收到”日期是读者在抓取您的 Feed 时首次看到该项目的日期。 “发布”日期来自提要本身。

查看带有 guid == "http://www.amusing.org/?1308”(“维加斯以外发生的事情...”)读者声称它在 11 月 5 日首次“收到”该商品,但显示发布日期为 1 月 29 日。既然您说该商品确实 于 1 月 29 日发布,由于 Reader 的爬虫不使用时间旅行(你必须相信我……:-)),我的猜测是该项目正在重复使用其他项目的 guid Reader 在 11 月 5 日抓取的提要。您的系统是否有可能以某种方式重用旧的 guid?

如果您需要更多帮助,您可能需要尝试在 Google 阅读器帮助论坛中提问。

If you hover over the date on an item in Reader you'll see a mouseover that shows a "Received" date and a "Published" date. The "Received" date is when Reader first saw that item while crawling your feed. The "Published" date comes from the feed itself.

Taking a look at the item with guid == "http://www.amusing.org/?1308" ("What happens outside of Vegas...") Reader claims it first "received" that item on Nov 5, but shows the Published date as Jan 29. Since you say this item really was published on Jan 29, and since Reader's crawler doesn't use time travel (you'll have to trust me on that one... :-) ), my guess is that this item is reusing the guid of some other item in that feed that Reader crawled on Nov 5. Is it possible that your system is somehow reusing old guids?

If you need more help, you might want to try asking in the Google Reader Help Forums.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文