使用 WCF 生成 iTunes 播客提要

发布于 2024-08-03 22:07:03 字数 256 浏览 9 评论 0原文

如何使用 WCF 制作 iTunes 播客源?或者您知道实际有效的完整示例吗?

我已经纠正了 feedvalidator.org 标记的所有错误和警告[1],并且还包括了我可以添加的所有 iTunes 自定义标签,但 iTunes 仍然声称它是一个损坏的 feed(显然没有提供任何有用的信息)。

[1] 我还没有解决两个警告:一个是播客的地址不一致,因为我在本地主机上运行它,另一个是我在生成 RSS 时使用原子嵌入标签的命名空间,使用 WCF 无法解决此问题。

How do you make an iTunes podcast feed with WCF? Or do you know of a complete example that actually works?

I've reached the point where I corrected all errors and warnings[1] marked by feedvalidator.org and also included all the iTunes custom tags I could and iTunes still claims it's a broken feed (obviously giving no useful information about it).

[1] I haven't solved two warnings: one is that the address of the podcast is not consistent, because I'm running it on localhost, and the other that I am using namespaces for the atom embedded tags when producing an RSS, for which there's no work around using WCF.

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

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

发布评论

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

评论(2

洛阳烟雨空心柳 2024-08-10 22:07:03

看起来该用户能够使其正常工作: 你怎么样向 WCF SyndicateFeed 添加另一个命名空间?

希望有帮助。

Looks like this user was able to get it working: How do you add another namespace to WCF SyndicationFeed?

Hope that helps.

书信已泛黄 2024-08-10 22:07:03

我相信 WCF 是一个使用 SOAP 的通信框架,它的目的更像是 Web 服务,而不是托管 XML 文件。即使有可能,WCF 也可能不是完成您想要做的事情的正确方法。

编辑:不知情的意见不会产生好的答案。忘了我说过什么吧!

I believe WCF is a communications framework that uses SOAP, and is meant for something more like Web Services, rather than hosting an XML file. Even if it is possible, WCF is probably not the right way to do what you're trying to do.

Edit: Uninformed opinions do not make good answers. Forget I said anything!

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