Help for using ASP Server object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajeshg
    New Member
    • Sep 2006
    • 1

    Help for using ASP Server object

    I have a test to complete the following tasks:
    Could any body please help me to solve this issue...
    My question is what r the methods available for MSXML2.ServerXM LHTTP and how to use it retrieve the data using remote URL
    I would really appreciate the efforts taken by you regarding this...

    A commonly available object which can be used with ASP to read response text from a remote URL is the msxml server object which is instantiated like:

    Set xmlObj = Server.CreateOb ject("MSXML2.Se rverXMLHTTP")

    The URL for Melbourne's weather observations for September 2006 is:

    http://www.bom.gov.au/climate/dwo/200509/html/IDCJDW3050.2005 09.shtml
    The processing script will then need to perform string functions to extract the following data for each day:
    ● Minimum Temperature
    ● Maximum Temperature
    ● Rain (mm)
    ● Sun (hrs)

    Please write the collected data to a file in the same directory as the processing script called 'data.txt'
Working...