dchou
7 years agoAce
Parse RSS Feed
I would like to retrieve data from our company website RSS and parse that in an endpoint.I am able to get the data from RSS but don't know the exact way to parse RSS in freemarker. Please give me...
dchou - You can use below http post call:
<#assign http_client_request = http.client.request("http", "rss feed url").get() />
<#if http_client_request.hasError>
${http_client_request.error.message}
<#else>
<#assign result = http_client_request.content />
${result}
</#if>
Thanks,
Payal