如何在本地主机上测试 Atom feed?

发布于 2024-08-19 04:25:02 字数 522 浏览 5 评论 0原文

当我尝试在本地主机上查看原子提要时,firefox 不会显示提要,而是让我选择将提要添加到谷歌阅读器或我的谷歌主页,但我不认为谷歌阅读器可以显示来自本地主机的提要,而不是当然可以。

如果我使用 Chrome,它将显示原始 xml,但不会尝试解析它。

我可以使用什么来测试本地主机上的 Atom feed?

[编辑]

感谢鲁本斯在评论中的建议,我使用了 ms interweb explorer 并且显示良好。另外,多亏了 Anton,我安装了几个桌面提要聚合器,其中一个可以显示(SharpREader),但另一个(FeedReader)则不显示,所以我假设存在一些验证问题。

我尝试使用 w3c 原子验证器,它报告了一些错误,主要与条目的日期戳和提要不兼容 RFC-3339 以及名称空间前缀“atom”不合需要有关。这会成为提要聚合器/阅读器不显示提要的原因吗?

但令我印象深刻的是,这是验证我的原子源的一种相当特殊的方式。

PS:

我正在使用 Restlet 1.1 Atom 扩展生成提要。

When I try and view an atom feed on localhost, instead of displaying the feed, firefox gives me a choice to add the feed to google reader or my google home page, but I don't think google reader can display feeds from localhost, not sure though.

If I use Chrome it will display the raw xml, but it doesn't attempt to parse it.

What can I use to test my atom feeds on localhost?

[edit]

Thanks to Rubens suggestion in the comments I've used ms interweb explorer and that displays fine. Also, thanks to Anton I've installed a couple of desktop feed aggregators and one does display (SharpREader), but the other(FeedReader) doesn't so I'm assuming there's some validation problem.

I've tried using the w3c atom validator and that reports some errors, mostly to do with the datestamp of entries and the feed not being RFC-3339 compatible and one for namespace prefix 'atom' being undesirable. Would that be a reason for feed aggregators/readers not to display a feed?

What strikes me though is, this is a rather ad hoc way of going about verifying my atom feeds.

ps:

i'm generating the feeds using the restlet 1.1 atom extension.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文