magic.lambda.html
10.0.14
See the version list below for details.
dotnet add package magic.lambda.html --version 10.0.14
NuGet\Install-Package magic.lambda.html -Version 10.0.14
<PackageReference Include="magic.lambda.html" Version="10.0.14" />
paket add magic.lambda.html --version 10.0.14
#r "nuget: magic.lambda.html, 10.0.14"
// Install magic.lambda.html as a Cake Addin #addin nuget:?package=magic.lambda.html&version=10.0.14 // Install magic.lambda.html as a Cake Tool #tool nuget:?package=magic.lambda.html&version=10.0.14
Magic Lambda HTML
This project provides HTML helper slots for Magic. More specifically, it provides the following slots.
- [html2lambda] - Creates a lambda object out of an HTML input string.
Usage
.html:@"<html>
<head>
<title>Howdy</title>
</head>
<body>
<p class=""foo""></p>
</body>
</html>"
html2lambda:x:-
The above results in something resembling the following.
html2lambda
html
head
title
#text:Howdy
body
p
@class:foo
Attributes starts out with the @
character, children nodes does not - While text content inside of elements will
start out with #
. This implies you'll need to use escaped expression iterators when traversing the resulting node
lambda object. For instance, to retrieve the above p
element's inner text, you could use something such as the
following.
get-value:x:-/**/\#text
Project website
The source code for this repository can be found at github.com/polterguy/magic.lambda.html, and you can provide feedback, provide bug reports, etc at the same place.
Quality gates
License
This project is the copyright(c) 2020-2021 of Aista, Ltd thomas@servergardens.com, and is licensed under the terms of the LGPL version 3, as published by the Free Software Foundation. See the enclosed LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- HtmlAgilityPack (>= 1.11.39)
- magic.node.extensions (>= 10.0.14)
- magic.signals.contracts (>= 10.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on magic.lambda.html:
Package | Downloads |
---|---|
magic.library
Helper project for Magic to wire up everything easily by simply adding one package, and invoking two simple methods. When using Magic, this is (probably) the only package you should actually add, since this package pulls in everything else you'll need automatically, and wires up everything sanely by default. To use package go to https://polterguy.github.io |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
17.3.9 | 234 | 2/17/2024 |
17.3.7 | 151 | 2/12/2024 |
17.3.6 | 126 | 2/12/2024 |
17.3.4 | 134 | 2/9/2024 |
17.3.3 | 107 | 2/8/2024 |
17.3.2 | 126 | 2/2/2024 |
17.3.1 | 114 | 1/30/2024 |
17.2.1 | 122 | 1/30/2024 |
17.2.0 | 143 | 1/22/2024 |
17.1.7 | 189 | 1/12/2024 |
17.1.6 | 171 | 1/11/2024 |
17.1.5 | 185 | 1/5/2024 |
17.0.1 | 227 | 1/1/2024 |
17.0.0 | 340 | 12/14/2023 |
16.11.5 | 343 | 11/12/2023 |
16.9.0 | 322 | 10/9/2023 |
16.7.0 | 549 | 7/11/2023 |
16.4.1 | 396 | 7/2/2023 |
16.4.0 | 410 | 6/22/2023 |
16.3.1 | 349 | 6/7/2023 |
16.3.0 | 347 | 5/28/2023 |
16.1.9 | 634 | 4/30/2023 |
15.10.11 | 487 | 4/13/2023 |
15.9.1 | 607 | 3/27/2023 |
15.9.0 | 458 | 3/24/2023 |
15.8.2 | 500 | 3/20/2023 |
15.7.0 | 398 | 3/6/2023 |
15.5.0 | 1,579 | 1/28/2023 |
15.2.0 | 675 | 1/18/2023 |
15.1.0 | 1,147 | 12/28/2022 |
14.5.7 | 712 | 12/13/2022 |
14.5.5 | 805 | 12/6/2022 |
14.5.1 | 660 | 11/23/2022 |
14.5.0 | 615 | 11/18/2022 |
14.4.5 | 722 | 10/22/2022 |
14.4.1 | 753 | 10/22/2022 |
14.4.0 | 663 | 10/17/2022 |
14.3.1 | 1,264 | 9/12/2022 |
14.3.0 | 653 | 9/10/2022 |
14.1.3 | 895 | 8/7/2022 |
14.1.2 | 670 | 8/7/2022 |
14.1.1 | 641 | 8/7/2022 |
14.0.14 | 690 | 7/26/2022 |
14.0.12 | 669 | 7/24/2022 |
14.0.11 | 660 | 7/23/2022 |
14.0.10 | 642 | 7/23/2022 |
14.0.9 | 667 | 7/23/2022 |
14.0.8 | 719 | 7/17/2022 |
14.0.5 | 804 | 7/11/2022 |
14.0.4 | 752 | 7/6/2022 |
14.0.3 | 701 | 7/2/2022 |
14.0.2 | 662 | 7/2/2022 |
14.0.0 | 866 | 6/25/2022 |
13.4.0 | 2,057 | 5/31/2022 |
13.3.4 | 1,445 | 5/9/2022 |
13.3.0 | 969 | 5/1/2022 |
13.2.0 | 1,159 | 4/21/2022 |
13.1.0 | 1,002 | 4/7/2022 |
13.0.0 | 722 | 4/5/2022 |
11.0.5 | 1,397 | 3/2/2022 |
11.0.4 | 775 | 2/22/2022 |
11.0.3 | 745 | 2/9/2022 |
11.0.2 | 786 | 2/6/2022 |
11.0.1 | 784 | 2/5/2022 |
10.0.21 | 766 | 1/28/2022 |
10.0.20 | 770 | 1/27/2022 |
10.0.19 | 748 | 1/23/2022 |
10.0.18 | 718 | 1/17/2022 |
10.0.15 | 923 | 12/31/2021 |
10.0.14 | 560 | 12/28/2021 |
10.0.7 | 1,459 | 12/22/2021 |
10.0.5 | 735 | 12/18/2021 |
9.9.9 | 1,657 | 11/29/2021 |
9.9.3 | 919 | 11/9/2021 |
9.9.2 | 647 | 11/4/2021 |
9.9.0 | 737 | 10/30/2021 |
9.8.9 | 692 | 10/29/2021 |
9.8.7 | 653 | 10/27/2021 |
9.8.6 | 624 | 10/27/2021 |
9.8.5 | 706 | 10/26/2021 |
9.8.0 | 1,344 | 10/20/2021 |
9.7.9 | 627 | 10/19/2021 |
9.7.5 | 1,493 | 10/14/2021 |
9.7.0 | 857 | 10/9/2021 |
9.6.6 | 1,193 | 8/14/2021 |
9.2.0 | 6,246 | 5/26/2021 |
9.1.4 | 1,255 | 4/21/2021 |
9.1.0 | 1,038 | 4/14/2021 |
9.0.0 | 850 | 4/5/2021 |
8.9.9 | 985 | 3/30/2021 |
8.9.3 | 1,536 | 3/19/2021 |