0

Yql head meta-description and meta-keywords

With the following yql statement im trying to get the meta-description from a webpage:
select content from html where url="http://yahoo.com" and xpath="//head/meta[@name='description']"

I get the following tree result:

-results
--meta
---content:the description

How can i get the "the description" only without the "content:" in front of it ?

select content from html where url="http://yahoo.com" and xpath="//head/meta[@name='description']/@content"

Gives met the exact same result.

With kind regards,

djbokkeman

by
0 Replies

Recent Posts

in YQL