wikipedia api - Classic ASP xmlDOM not turning any result? -
this code dont respond result. dont know why? can me?
<% set xmldom = server.createobject("microsoft.xmldom") xmldom.async = false xmldom.setproperty "serverhttprequest", true xmldom.load("https://tr.wikipedia.org/w/api.php?format=xml&maxage=600&smaxage=1200&action=opensearch&search=fizik&limit=10") set itemlist = xmldom.selectnodes("item") each itemattrib in itemlist newsdate = itemattrib.selectsinglenode("description").text %> <%=newsdate%> <% next set xmldom = nothing set itemlist = nothing %>
sorry bad english.
Comments
Post a Comment