raboof - Fizzler 1.2.0-ci-20180129T1122

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

PM> Install-Package Fizzler -Version 1.2.0-ci-20180129T1122 -Source https://www.myget.org/F/raboof/api/v3/index.json

Copy to clipboard

> nuget.exe install Fizzler -Version 1.2.0-ci-20180129T1122 -Source https://www.myget.org/F/raboof/api/v3/index.json

Copy to clipboard

> dotnet add package Fizzler --version 1.2.0-ci-20180129T1122 --source https://www.myget.org/F/raboof/api/v3/index.json

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

nuget Fizzler  ~> 1.2.0-ci-20180129T1122
Copy to clipboard

> choco install Fizzler --version 1.2.0-ci-20180129T1122 --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.2.0-ci-20180129T1122" -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 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)
  • .NETStandard 2.0
  • .NETStandard 1.0: 1.0.0.0
  • .NETStandard 2.0: 2.0.0.0

                        
Assembly Assembly hash Match
/lib/netstandard2.0/fizzler.dll 50e0dd6f0b54429ca9b70dcde8b04e0e1
/lib/netstandard1.0/fizzler.dll c78f6f8ae4a04a8293c4f714ff0a9c6f1

Owners

Atif Aziz

Authors

Atif Aziz, Colin Ramsay

Project URL

https://github.com/atifaziz/Fizzler

License

LGPL-3.0

Tags

selectors w3c

Info

3078 total downloads
85 downloads for version 1.2.0-ci-20180129T1122
Download (46.11 KB)
Download legacy symbols (82.03 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.4.0-ci-20240714t1744 88.1 KB Sun, 14 Jul 2024 17:51:53 GMT 59
1.4.0-ci-20240714t1547 87.12 KB Sun, 14 Jul 2024 16:02:46 GMT 67
1.4.0-ci-20240714t1324 87.1 KB Sun, 14 Jul 2024 15:41:19 GMT 76
1.4.0-ci-20240714t1119 87.17 KB Sun, 14 Jul 2024 12:28:34 GMT 89
1.4.0-ci-20240713t2226 86.24 KB Sun, 14 Jul 2024 11:22:47 GMT 84
1.4.0-ci-20240713t2221 86.23 KB Sat, 13 Jul 2024 22:27:02 GMT 83
1.4.0-ci-20240713t2201 86.24 KB Sat, 13 Jul 2024 22:07:13 GMT 68
1.4.0-ci-20240713t2150 86.23 KB Sat, 13 Jul 2024 22:02:31 GMT 82
1.4.0-ci-20240713t2142 86.29 KB Sat, 13 Jul 2024 21:56:29 GMT 78
1.4.0-ci-20240713t2100 86.29 KB Sat, 13 Jul 2024 21:05:39 GMT 88
1.4.0-ci-20240713t1643 74.53 KB Sat, 13 Jul 2024 18:21:17 GMT 74
1.4.0-ci-20240713t1105 64.92 KB Sat, 13 Jul 2024 11:19:50 GMT 95
1.4.0-ci-20240712t0705 64.97 KB Fri, 12 Jul 2024 10:01:49 GMT 85
1.4.0-ci-20240710t2007 63.94 KB Wed, 10 Jul 2024 20:28:10 GMT 92
1.4.0-ci-20240710t1942 63.92 KB Wed, 10 Jul 2024 19:57:42 GMT 77
1.3.0-ci-20240710t1835 63.94 KB Wed, 10 Jul 2024 18:52:18 GMT 76
1.3.0-ci-20240710t1108 63.94 KB Wed, 10 Jul 2024 11:12:36 GMT 79
1.3.0-ci-20210206t1556 59.21 KB Sat, 06 Feb 2021 16:42:54 GMT 112
1.3.0-ci-20200415t0924 59.2 KB Wed, 15 Apr 2020 19:03:34 GMT 67
1.3.0-ci-20200412t1333 57.75 KB Wed, 15 Apr 2020 08:56:43 GMT 69
1.2.0-ci-20200411t1522 57.75 KB Sat, 11 Apr 2020 15:24:23 GMT 76
1.2.0-ci-20200411t1504 57.87 KB Sat, 11 Apr 2020 15:07:04 GMT 90
1.2.0-ci-20200411t1421 44.54 KB Sat, 11 Apr 2020 14:39:53 GMT 85
1.2.0-ci-20200411t0817 45.49 KB Sat, 11 Apr 2020 08:20:08 GMT 77
1.2.0-ci-20180201T2301 46.46 KB Thu, 01 Feb 2018 23:02:25 GMT 83
1.2.0-ci-20180131T1707 46.46 KB Wed, 31 Jan 2018 17:09:25 GMT 72
1.2.0-ci-20180131T0826 46.33 KB Wed, 31 Jan 2018 17:06:07 GMT 95
1.2.0-ci-20180129T2024 46.13 KB Mon, 29 Jan 2018 20:26:15 GMT 95
1.2.0-ci-20180129T1812 46.14 KB Mon, 29 Jan 2018 18:14:58 GMT 92
1.2.0-ci-20180129T1136 46.11 KB Mon, 29 Jan 2018 11:38:14 GMT 80
1.2.0-ci-20180129T1122 46.11 KB Mon, 29 Jan 2018 11:34:24 GMT 85
1.2.0-ci-20180122T1822 48.32 KB Sun, 28 Jan 2018 16:41:45 GMT 103
1.2.0-ci-20171208T1301 48.3 KB Fri, 08 Dec 2017 13:03:18 GMT 83
1.2.0-ci-20171207T1249 48.3 KB Thu, 07 Dec 2017 12:50:41 GMT 96
1.2.0-ci-20171206T1716 48.3 KB Wed, 06 Dec 2017 17:24:11 GMT 74
1.2.0-ci-20171206T1651 48.3 KB Wed, 06 Dec 2017 16:53:55 GMT 95
1.2.0-ci-20171206T1544 48.3 KB Wed, 06 Dec 2017 16:47:29 GMT 97