<%@LANGUAGE="VBSCRIPT" %><% Response.CacheControl = "no-cache" %>
Announcements Click here to add the RSS feed to your browser or aggregator ---> rss feed img
<% Set objXML = Server.CreateObject("Microsoft.XMLDOM") Set objLst = Server.CreateObject("Microsoft.XMLDOM") Set objAnn = Server.CreateObject("Microsoft.XMLDOM") objXML.async = False objXML.Load (Server.MapPath("141_RSS.xml")) If objXML.parseError.errorCode <> 0 Then 'handle the error End If %>
    <% Set objLst = objXML.getElementsByTagName("item") noOfItems = objLst.length For i = 0 To ( noOfItems - 1 ) Set objAnn = objLst.item(i) 'write the XML title followed by description Response.Write("
  • " & objAnn.childNodes(0).text & ": " & objAnn.childNodes(1).text) 'determine current page URL currentPage = "http://" & Request.ServerVariables("SERVER_NAME") & LCase(Request.ServerVariables("URL")) 'if XML link is not the same URL as current page, don't show a link '(showing the link would create a circular scenario If objAnn.childNodes(2).text <> currentPage Then Response.Write(" [ Link ]
  • ") Else Response.Write("") End If Next %>

Course Management
Coordinator: Professor Ronald J. Glotzbach   Biography facebook twitter linkedIn email: rjglotzbach@purdue.edu AIM: rjglotzbach 141 RSS Feed
Email: rjglotzbach@purdue.edu
Office: Knoy 319
Office Hours: N/A

Lecture Meeting Time & Place:    N/A - On your own, just meet the deadlines - See the Weekly Layout



For information contact: Professor Glotzbach

CGT 141/C&IT 141 <% Dim fso, f Set fso = Server.CreateObject("Scripting.FileSystemObject") Set f = fso.GetFile(Server.MapPath("./index.asp")) Response.Write("Last Modified: ") Response.Write(f.DateLastModified) Set f = nothing Set fso = nothing %>