GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - garuma/MobileHtmlAgilityPack: A PCL+Xamarin port of the infamous HtmlAgilityPack

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
Properties
Properties
 
 
.gitignore
.gitignore
 
 
EncodingFoundException.cs
EncodingFoundException.cs
 
 
HtmlAttribute.cs
HtmlAttribute.cs
 
 
HtmlAttributeCollection.cs
HtmlAttributeCollection.cs
 
 
HtmlCommentNode.cs
HtmlCommentNode.cs
 
 
HtmlDocument.cs
HtmlDocument.cs
 
 
HtmlElementFlag.cs
HtmlElementFlag.cs
 
 
HtmlEntity.cs
HtmlEntity.cs
 
 
HtmlNameTable.cs
HtmlNameTable.cs
 
 
HtmlNode.cs
HtmlNode.cs
 
 
HtmlNodeCollection.cs
HtmlNodeCollection.cs
 
 
HtmlNodeType.cs
HtmlNodeType.cs
 
 
HtmlParseError.cs
HtmlParseError.cs
 
 
HtmlParseErrorCode.cs
HtmlParseErrorCode.cs
 
 
HtmlTextNode.cs
HtmlTextNode.cs
 
 
LICENSE
LICENSE
 
 
MixedCodeDocument.cs
MixedCodeDocument.cs
 
 
MixedCodeDocumentCodeFragment.cs
MixedCodeDocumentCodeFragment.cs
 
 
MixedCodeDocumentFragment.cs
MixedCodeDocumentFragment.cs
 
 
MixedCodeDocumentFragmentList.cs
MixedCodeDocumentFragmentList.cs
 
 
MixedCodeDocumentFragmentType.cs
MixedCodeDocumentFragmentType.cs
 
 
MixedCodeDocumentTextFragment.cs
MixedCodeDocumentTextFragment.cs
 
 
MobileHtmlAgilityPack.csproj
MobileHtmlAgilityPack.csproj
 
 
MobileHtmlAgilityPack.sln
MobileHtmlAgilityPack.sln
 
 
NameValuePairList.cs
NameValuePairList.cs
 
 
README.md
README.md
 
 
crc32.cs
crc32.cs
 
 

Repository files navigation

Mobile HtmlAgilityPack

A PCL+Xamarin port of the infamous HtmlAgilityPack. The port mainly consisted of removing legacy code and unavailable things like explicit usage of file IO API.

The library targets Profile 78 which includes:

  • Xamarin.Android
  • Xamarin.iOS
  • .NET Framework 4.5
  • Windows Phone 8
  • .NET for Windows Store apps

Usage

Apart from the changes introduced by a blander PCL profile, the API is the same than the official library.

Example usage with the XML to LINQ-inspired API:

var doc = new HtmlDocument ();
doc.LoadHtml (answer);
var div = doc.GetElementById ("content");
var table = div.Element ("table");
return table.Element ("tbody").Elements ("tr").Select (row => {
	var items = row.Elements ("td").ToArray ();
	return new Person {
		FirstName = items[0].InnerText.Trim (),
		LastName = items[1].InnerText.Trim (),
	};
});

About

A PCL+Xamarin port of the infamous HtmlAgilityPack

Resources

Readme
Apache-2.0 license
Activity

Stars

23 stars

Watchers

3 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.