I'm trying to use HTML Agility Pack to get the description text from inside the:
<meta name="description" content="**this is the text i want to extract and store in a string**" />
And someone on Stackoverflow a little while ago suggested I use HTMLAgilityPack. But I don't know how to use it, and the documentation for it that I've found (including the docs contained in the downloads) all have invalid links and therefor cannot view the documentation.
Can somebody please help me solve this?
GetAttributeValuemethod), the second argument is the default value to return in case the attribute is not found. Here's the complete definition of the method: /// <summary> /// Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned. /// </summary> /// <param name="name">The name of the attribute to get. May not be <c>null</c>.</param> /// <param name="def">The default value to return if not found.</param> /// <returns>The value of the att - alf