Here's a doosey

D

David C. Holley

I'm about to massively rework how my site handles links. The concept
behind the site is to provide a wide-collection of links related to
attractions in and around Orlando as well as other sites of interest. I
am REALLY, REALLY, REALLY wanting to provide an option where
descriptions of the sites are displayed. I would like to know is wether
or not there is a way for an ASP page to read the METTA tags on another
page and retrieve the value. Given the total number of links involved, I
want to come up with a way where an ASP script reaches out to the
various links and captures the description of the site. If it looks like
a spider, acts like a spider and makes girls screem like they've seen a
spider, then maybe, just maybe it is a spider.
 
D

dlbjr

Dim strMetaData
Set LP = New LinkParser
'Pass a url to the object
LP.Process "http://www.microsoft.com"
strMetaData = LP.GetMetaData()
Set LP = Nothing

Class LinkParser
Private mstrResult

Public Function GetMetaData()
'Parse meta data here with some reg ex.
End Function

Public Function Process(strUrl)
If Len(strUrl) > 0 Then
On Error Resume Next
Set XmlHttp = CreateObject("Microsoft.XMLHTTP")
XmlHttp.open "GET",strUrl, false
XmlHttp.send
mstrResult = lCase(Trim(XmlHttp.ResponseText))
Set XmlHttp = Nothing
End If
End Function
End Class

-dlbjr

Discerning resolutions for the alms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,150
Messages
2,570,853
Members
47,394
Latest member
Olekdev

Latest Threads

Top