From: mscir on
On 4/14/2010 7:10 AM, Mayayana wrote:
> | This works for me on yahoo.com, VB6, XPSP3
> |
>
> That works here, too, with IE6.

Great!

I can loop through the meta tags using this (just a quick test, no error
trapping):

Private Sub Form_Load()
Dim url As String, n As Long, meta As Object
url = "http://www.thirdparadigm.org/"
With WebBrowser1
.Navigate url
DoEvents
Do While .Busy Or .ReadyState <> READYSTATE_COMPLETE
DoEvents
Loop
For n = 0 To .Document.All.tags("META").length - 1
Debug.Print .Document.All.tags("META")(n).tagName & " : " & _
.Document.All.tags("META")(n).Name & " : " & _
.Document.All.tags("META")(n).content
Next
End With
End Sub

--- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: Mayayana on

| I can loop through the meta tags using this (just a quick test, no error
| trapping):
|


Thanks. That's all new to me. Since the DOM doesn't
include anything outside of BODY I always just
assumed that the HEAD elements were not accessible.

It would still be nice to find a comprehensive
reference, though. There's no way to figure out
that all.("description") means something. It's not
a standard format. And how does one find comments?
tagName = "!" ?

There seem to be some goodies here lacking docs.


From: Larry Serflaten on

"Mayayana" <mayayana(a)invalid.nospam> wrote


> It would still be nice to find a comprehensive
> reference, though. There's no way to figure out
> that all.("description") means something. It's not
> a standard format. And how does one find comments?
> tagName = "!" ?
>
> There seem to be some goodies here lacking docs.

I think you're looking for a good tutorial. The documentation
has always been available....

http://msdn.microsoft.com/en-us/library/ms533050(VS.85).aspx

LFS


From: Mayayana on

| I think you're looking for a good tutorial. The documentation
| has always been available....
|
| http://msdn.microsoft.com/en-us/library/ms533050(VS.85).aspx
|

No, I'm familiar with the DOM. I have a copy of
MSDN that includes the docs, and it's easy enough
to find the front page of Microsoft's online DOM docs.
(Thanks to Google. :)

I'm just talking about the specifics that I mentioned.
In my copy of MSDN the "applies to" list for "all" does
not list META or comment tags. And I don't see any
explanation of the (irregular) usage of all.("description").
Likewise, on the page for "all" at your link those things
are not mentioned, either:

http://msdn.microsoft.com/en-us/library/ms537434(v=VS.85).aspx


From: Larry Serflaten on

"Mayayana" <mayayana(a)invalid.nospam> wrote

> I'm just talking about the specifics that I mentioned.
> In my copy of MSDN the "applies to" list for "all" does
> not list META or comment tags. And I don't see any
> explanation of the (irregular) usage of all.("description").

The META tag is used to describe the HTML document.
You can give it any name/content values you like, whatever
makes sense for the document. Some common uses are
described at W3schools:

http://www.w3schools.com/tags/tag_meta.asp
(Click the 'name' link in the Optional Attributes section)

LFS


First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: MSFlexgrid Scrolling
Next: MSFlexgrid Scrolling - Followup