将rss转换为JSON [英] convert rss to JSON

查看:284
本文介绍了将rss转换为JSON的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

craigslist具有rss提要,我希望将提要转换为JSON格式,以便我可以对其进行解析.谁知道有什么工具可以做到这一点-将craigslist rss(或任何rss)转换为JSON格式

craigslist has an rss feed and i wish to convert the feed to JSON format so that I can parse it. anybody know any tool that can do this - convert craigslist rss (or any rss) to JSON format

推荐答案

更新:当心,Yahoo Pipes已被Yahoo!关闭!并且Google Feed API已被弃用.检查 superfeedr.com 的API,该API还将RSS转换为JSON.

UPDATE: beware, Yahoo Pipes has now been shutdown by Yahoo! and the Google Feed API has been deprecated. Check superfeedr.com's API which also does RSS to JSON conversion.

您可以使用Google Feed API服务

You can use google feed api service

示例:

https://ajax.googleapis.com/ajax/services/feed/load?v=2.0&q=http://phys.org/rss-feed/&num=20

结构 https://ajax.googleapis.com/ajax/services/feed/load?v = 2.0& q = RSS_URL_TO_CONVERT& num =

如果您想更好地控制RSS转换,请使用 http://pipes.yahoo.com/pipes/可以可视化数据流.

Also if you want better control on RSS conversion use http://pipes.yahoo.com/pipes/ where you can visualize data flow.

由于yahoo管道不再起作用,因此以下是替代列表 http://www.makeuseof.com/tag/12-best-yahoo-pipes -alternatives-look/

As yahoo pipes is no more working, here are the list of alternatives http://www.makeuseof.com/tag/12-best-yahoo-pipes-alternatives-look/

这篇关于将rss转换为JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆