raboof - Fizzler 1.3.0-ci-20210206t1556

Fizzler is a W3C Selectors parser and generic selector framework for document hierarchies.

PM> Install-Package Fizzler -Version 1.3.0-ci-20210206t1556 -Source https://www.myget.org/F/raboof/api/v3/index.json

Copy to clipboard

> nuget.exe install Fizzler -Version 1.3.0-ci-20210206t1556 -Source https://www.myget.org/F/raboof/api/v3/index.json

Copy to clipboard

> dotnet add package Fizzler --version 1.3.0-ci-20210206t1556 --source https://www.myget.org/F/raboof/api/v3/index.json

Copy to clipboard
<PackageReference Include="Fizzler" Version="1.3.0-ci-20210206t1556" />
Copy to clipboard
source https://www.myget.org/F/raboof/api/v3/index.json

nuget Fizzler  ~> 1.3.0-ci-20210206t1556
Copy to clipboard

> choco install Fizzler --version 1.3.0-ci-20210206t1556 --source https://www.myget.org/F/raboof/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "raboof" -SourceLocation "https://www.myget.org/F/raboof/api/v2"
Install-Module -Name "Fizzler" -RequiredVersion "1.3.0-ci-20210206t1556" -Repository "raboof" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/raboof/symbols/


Fizzler: .NET CSS Selector Engine

Build Status Build Status NuGet MyGet

Fizzler is a .NET Standard 1.0 library; it is a W3C Selectors (Level 3) parser and generic selector framework over document hierarchies.

The default implementation is based on HTMLAgilityPack and selects from HTML documents. The unit tests are based on the jQuery selector engine tests.

Contributions are welcome in forms of:

  • Increased selector support
  • Implementation over an HTML-like hierarchical document model
  • Re-factorings
  • Improved tests

Examples

The following example uses Fizzler.Systems.HtmlAgilityPack:

// Load the document using HTMLAgilityPack as normal
var html = new HtmlDocument();
html.LoadHtml(@"
  <html>
      <head></head>
      <body>
        <div>
          <p class='content'>Fizzler</p>
          <p>CSS Selector Engine</p></div>
      </body>
  </html>");

// Fizzler for HtmlAgilityPack is implemented as the
// QuerySelectorAll extension method on HtmlNode

var document = html.DocumentNode;

// yields: [<p class="content">Fizzler</p>]
document.QuerySelectorAll(".content");

// yields: [<p class="content">Fizzler</p>,<p>CSS Selector Engine</p>]
document.QuerySelectorAll("p");

// yields empty sequence
document.QuerySelectorAll("body>p");

// yields [<p class="content">Fizzler</p>,<p>CSS Selector Engine</p>]
document.QuerySelectorAll("body p");

// yields [<p class="content">Fizzler</p>]
document.QuerySelectorAll("p:first-child");
  • .NETStandard 1.0
    • NETStandard.Library (>= 1.6.1)
    • System.Diagnostics.Contracts (>= 4.3.0)
  • .NETStandard 2.0
  • .NETStandard 1.0: 1.0.0.0
  • .NETStandard 2.0: 2.0.0.0

                        
Assembly Assembly hash Match
/lib/netstandard1.0/fizzler.dll 03bc07b6af6f4fe9a8a65cd38a611b21FFFFFFFF
/lib/netstandard2.0/fizzler.dll 385f6b50a90c4f7182a911786e538be1FFFFFFFF
/lib/netstandard1.0/fizzler.dll c0985c658c9b44cf9cbb508564715421FFFFFFFF
/lib/netstandard2.0/fizzler.dll c5b383927c9a46b093b5c66c077df944FFFFFFFF

Owners

Atif Aziz

Authors

Atif Aziz, Colin Ramsay

Project URL

https://github.com/atifaziz/Fizzler

License

LGPL-3.0

Tags

selectors w3c

Info

22 total downloads
2 downloads for version 1.3.0-ci-20210206t1556
Download (59.21 KB)
Download legacy symbols (86.35 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.3.0-ci-20210206t1556 59.21 KB Sat, 06 Feb 2021 16:42:54 GMT 2
1.3.0-ci-20200415t0924 59.2 KB Wed, 15 Apr 2020 19:03:34 GMT 3
1.3.0-ci-20200412t1333 57.75 KB Wed, 15 Apr 2020 08:56:43 GMT 1
1.2.0-ci-20200411t1522 57.75 KB Sat, 11 Apr 2020 15:24:23 GMT 2
1.2.0-ci-20200411t1504 57.87 KB Sat, 11 Apr 2020 15:07:04 GMT 0
1.2.0-ci-20200411t1421 44.54 KB Sat, 11 Apr 2020 14:39:53 GMT 2
1.2.0-ci-20200411t0817 45.49 KB Sat, 11 Apr 2020 08:20:08 GMT 0
1.2.0-ci-20180201T2301 46.46 KB Thu, 01 Feb 2018 23:02:25 GMT 3
1.2.0-ci-20180131T1707 46.46 KB Wed, 31 Jan 2018 17:09:25 GMT 2
1.2.0-ci-20180131T0826 46.33 KB Wed, 31 Jan 2018 17:06:07 GMT 0
1.2.0-ci-20180129T2024 46.13 KB Mon, 29 Jan 2018 20:26:15 GMT 1
1.2.0-ci-20180129T1812 46.14 KB Mon, 29 Jan 2018 18:14:58 GMT 0
1.2.0-ci-20180129T1136 46.11 KB Mon, 29 Jan 2018 11:38:14 GMT 0
1.2.0-ci-20180129T1122 46.11 KB Mon, 29 Jan 2018 11:34:24 GMT 1
1.2.0-ci-20180122T1822 48.32 KB Sun, 28 Jan 2018 16:41:45 GMT 1
1.2.0-ci-20171208T1301 48.3 KB Fri, 08 Dec 2017 13:03:18 GMT 1
1.2.0-ci-20171207T1249 48.3 KB Thu, 07 Dec 2017 12:50:41 GMT 1
1.2.0-ci-20171206T1716 48.3 KB Wed, 06 Dec 2017 17:24:11 GMT 0
1.2.0-ci-20171206T1651 48.3 KB Wed, 06 Dec 2017 16:53:55 GMT 2
1.2.0-ci-20171206T1544 48.3 KB Wed, 06 Dec 2017 16:47:29 GMT 0