使用 RoR Base 和 Heroku Hosting 进行播客
我想知道是否有人可以为我指明在 RoR 中构建播客网站的正确方向。我只是想建立一个带有可上传播客的简单博客。我可以毫无问题地完成所有这些,并且我计划将所有播客发送到 S3 并镜像到 CloudFront。 (这会降低我的成本并允许我部署到 Heroku)
我的主要问题是我应该如何从标题、描述和 CloudFront 链接的表中生成 iTunes feed,以便我可以使用 iTunes 进行分发而无需外包像 Feedburner 或 Podbean 这样的东西?
随时欢迎任何建议或意见!谢谢:)
-罗伯特
I was wondering if anyone could point me in the right direction for building a site in RoR for podcasting. I'm just looking to build a simple blog with uploadable podcasts. I can do all of this no problem and I plan to send all of the podcasts up to S3 and mirror to CloudFront. (This would lower my costs and allow me to deploy to Heroku)
My main question is how should I go about generating my iTunes feed from a table of titles, descriptions, and CloudFront links so that I can use iTunes for distribution without having to outsource to something like Feedburner or Podbean?
Any suggestions or comments are always welcome! Thanks :)
-Robert
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的建议是在控制器中使用 format.xml 方法(在索引方法上),以便将其作为输出格式。
实际上,形成您想要的 xml 播客格式有点困难。我会遵循与此处设置类似的操作:
http://danengle.us/2009/05/generate-custom-xml-for-your-rails-app/
My suggestion would be to use the format.xml method in your controller (on the index method), so that you have that as an output format.
Actually forming the podcast format you want for the xml is a little more difficult. I would follow something similar to what is set up here:
http://danengle.us/2009/05/generating-custom-xml-for-your-rails-app/