Reputation: 1
I am trying to read a zapier rss-feed with Classic ASP, and I cant get I to work. When I use the same script but with another RSS-url it works fine. Example with http://www.alle.se/category/z/feed/.
Is it the https that is giving me the problem?
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
Set xmlDOM = Server.CreateObject("MSXML2.DOMDocument")
xmlDOM.async = False
xmlDOM.setProperty "ServerHTTPRequest", True
xmlDOM.Load("https://zapier.com/engine/rss/1177776/insta-alle/")
Set itemList = XMLDom.SelectNodes("rss/channel/item")
For Each itemAttrib In itemList
response.Write(itemAttrib.SelectSingleNode("title").text & "<br>")
response.Write(itemAttrib.SelectSingleNode("link").text & "<br>")
response.Write(itemAttrib.SelectSingleNode("description").text & "<br>")
next
Set xmlDOM = Nothing
%>
Upvotes: 0
Views: 153
Reputation: 4638
Try Set xmlDOM = Server.CreateObject("MSXML2.DOMDocument.6.0")
That calls the most recent version of MSXML
Upvotes: 2