I am using classic asp/vbscript to load a RSS. In this case the URL should start with https rather than http so I get the error : Access is denied. How can I check if the target url is accessible and healthy and the use it?
Set xmlDOM = CreateObject("MSXML2.DOMDocument.6.0")
xmlDOM.async = False
xmlDOM.setProperty "ServerHTTPRequest", True
xmlDOM.Load("http://iqna.ir/fa/rss/services/36")
I have tried to wrap it inside if/then but obviously will result in the same error:
if (xmlDOM.Load("http://iqna.ir/fa/rss/services/36")) then
'Proceess the RSS content
end if