Using ASP to get content from another web page


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Using ASP to get content from another web page

  1. #1
    Tracey Guest

    Using ASP to get content from another web page


    Hi, everyone.

    I would like to use ASP to pull information from a web page and post it on
    mine. It is in the same place daily -- in this case it is a headline and
    I would like to link to the story on the other page using the headline from
    the other page (for example, my page "Tracey's Page" would like to pull the
    headline off cnn.com and post it on my page, allowing my user to link to
    that story on cnn's web page).

    I would like this to update real time -- ie., I don't want to write it to
    a file and then read it out daily....I'd like for it to be grabbed each time
    the user logs on to "Tracey's Page". Any ideas??? I have 2 ASP books, the
    MSDN and a VB book and haven't had any luck...you guys are my last hope

    Thanks in advance,
    Tracey
    traceyc@rocketmail.com

    p.s. If not ASP, how?

  2. #2
    Adrian Forbes Guest

    Re: Using ASP to get content from another web page

    You'll need a COM component that can use HTTP to grab the content of a URL.
    Something like ASPHTTP or ASPTear should do. http://www.serverobjects.com
    You could also try writing your own. Once you get the contents of the URL
    in a file you just parse that URL and display your Headline.





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center