Getting raw XML data from a Feedburner RSS feed

前端 未结 10 2185
轮回少年
轮回少年 2021-02-05 00:22

For an Android app I am currently working on, I would like to be able to parse raw XML data from an RSS feed and display it. The RSS feed in question uses Feedburner for publish

10条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-05 00:46

    Feedburner feeds send the browser back raw XML, but it also sends a stylesheet that styles the XML markup, so the browser renders the XML as styled content:

    
    

    However the data being served up is XML.

    So it's completely unnecessary to add query params like ?format=xml. If you log the response from a request to one of these feeds, or view source, you'll see XML.

提交回复
热议问题