Skip to main content
Amaël BERTEAU

Main navigation

  • Home
  • News
  • Software Engineering
  • Entrepreneuriat
  • Maker
  • Misc
  • Personal Projects
  • About me
    • Bio
    • Curriculum Vitae
    • Skills
    • Likes
    • My Values
    • Quotes
    • Favorite Books
    • Favorite Tools
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Software Engineering

Extract metadata and links from HTML page using HtmlAgilityPack

By aberteau , 27 July, 2017

In this tutorial, i will show you how to extract metadata and links from HTML page using HtmlAgilityPack

Implementation

LinkItem

Represents a link :

  • Href  : URL of the link
  • Text : InnerText of <a> tag

LinkExtractor

Extract LinkItems from the htmlData String parameter

HtmlMetadata

Represents HTML page metadata :

  • Title  : HTML Document title
  • Description : Description of web page
  • Keywords : keywords (for search engines)
  • Author : author of the page

HtmlMetadataProvider

Usage

Tags

  • .Net
  • HtmlAgilityPack

Comments

RSS feed
Powered by Drupal