Can I serve RSS in JSON?

后端 未结 9 558
别那么骄傲
别那么骄傲 2020-12-24 02:34

I am writing an RSS feed (for fun) and was looking at the spec here.

RSS is a dialect of XML. All RSS files must conform to the XML 1.0 specification,

9条回答
  •  忘掉有多难
    2020-12-24 03:28

    Are there programs that can aggregate/understand this format.

    You can use XSLT 3.0 to transform XML to JSON and back to XML again. More info on how to accomplish the transforms to JSON here:

    https://www.xml.com/articles/2017/02/14/why-you-should-be-using-xslt-30/.

提交回复
热议问题