[Wtr-general] get the meta tag out of a page
Egil Sorensen
egil at yahoo-inc.com
Mon Aug 28 14:01:45 EDT 2006
Alien Ruby wrote:
(..)
>
> But, my other question is why '...outerHTML.getContents' or
'...outerHTML.getText' or some similar functions cant just spit out the
value/content?
How about using something like this:
meta = $ie.document.getElementsByTagName( 'meta' ).item(0)
puts meta.getAttribute('content')
~~ Egil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060828/597d0fd8/attachment.html
More information about the Wtr-general
mailing list