We are moving the e-commerce website to a new platform, and since all of their pages are static html and they do not have all the product information in the database, we must clear their current site to describe the product.
Here is one of the pages: http://www.cabinplace.com/accrugsbathblackbear.htm
What was the best to get the description in a string? Should I use the html agility package? and if so, how will this be done? since i'm new to hmml flexibility package and xhtml in general.
thank
HTML Agility Pack is a good library to use in this work.
, , , HTML, .
, , XPath, innerHtml innerText .
innerHtml
innerText
- :
var description = htmlDoc.SelectNodes("p[@class='content_txt']")[0].innerText;