使用 WCF 生成 iTunes 播客提要
如何使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来该用户能够使其正常工作: 你怎么样向 WCF SyndicateFeed 添加另一个命名空间?
希望有帮助。
Looks like this user was able to get it working: How do you add another namespace to WCF SyndicationFeed?
Hope that helps.
我相信 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!