VIEApps.Components.Utility.Epub.StrongName 10.9.2501.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package VIEApps.Components.Utility.Epub.StrongName --version 10.9.2501.2                
NuGet\Install-Package VIEApps.Components.Utility.Epub.StrongName -Version 10.9.2501.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VIEApps.Components.Utility.Epub.StrongName" Version="10.9.2501.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VIEApps.Components.Utility.Epub.StrongName --version 10.9.2501.2                
#r "nuget: VIEApps.Components.Utility.Epub.StrongName, 10.9.2501.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VIEApps.Components.Utility.Epub.StrongName as a Cake Addin
#addin nuget:?package=VIEApps.Components.Utility.Epub.StrongName&version=10.9.2501.2

// Install VIEApps.Components.Utility.Epub.StrongName as a Cake Tool
#tool nuget:?package=VIEApps.Components.Utility.Epub.StrongName&version=10.9.2501.2                

VIEApps.Components.Utility.Epub

A simple library for generating .EPUB documents on .NET Standard 2.x/.NET Core 2.x+

NuGet

using net.vieapps.Components.Utility.Epub;

var epub = new Epub.Document();
epub.AddBookIdentifier(uuid);
epub.AddLanguage(language);
epub.AddTitle(title);
epub.AddAuthor(author);
epub.AddPublisher(publisher);
epub.AddMetaItem("dc:contributor", contributor);
epub.AddMetaItem("book:Original", original);
epub.AddStylesheetData("style.css", stylesheet);

var coverImageId = epub.AddImageData("cover.jpg", coverImageBinaryData);
epub.AddMetaItem("cover", coverImageId);

var pageTemplate = @"<!DOCTYPE html>
	<html xmlns=""http://www.w3.org/1999/xhtml"">
		<head>
			<title>{0}</title>
			<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8""/>
			<link type=""text/css"" rel=""stylesheet"" href=""style.css""/>
			<style type=""text/css"">
				@page {
					padding: 0;
					margin: 0;
				}
			</style>
		</head>
		<body>
			{1}
		</body>
	</html>".Trim().Replace("\t", "");

// cover
epub.AddXhtmlData("page0.xhtml", pageTemplate.Replace("{0}", coverTitle).Replace("{1}", coverBody));

// chapter
for (var index = 0; index < pages.Count; index++)
{
	var name = string.Format("page{0}.xhtml", index + 1);
	var content = pages[index];

	epub.AddXhtmlData(name, pageTemplate.Replace("{0}", index < navs.Count ? navs[index] : coverTitle).Replace("{1}", content));
	epub.AddNavPoint(index < navs.Count ? navs[index] : coverTitle + " - " + (index + 1).ToString(), name, index + 1);
}

epub.Generate("sample-document.epub");

Others

This library is hard-fork of DotNetEpub with some modifications to run well on .NET Standard 2.x

Product 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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.9.2503.1 49 5 days ago
10.9.2501.2 89 a month ago
10.9.2501.1 119 2 months ago
10.9.2412.1 93 3 months ago
10.9.2411.1 100 4 months ago
10.8.2410.1 116 5 months ago
10.8.2408.1 106 7 months ago
10.8.2407.1 106 8 months ago
10.8.2406.1 94 9 months ago
10.8.2404.1 91 10 months ago
10.8.2312.1 159 12/22/2023
10.8.2311.1 157 11/16/2023
10.8.2310.2 162 10/25/2023
10.8.2310.1 149 9/30/2023
10.8.2309.1 140 9/8/2023
10.8.2308.1 181 8/29/2023
10.7.2307.1 177 7/6/2023
10.7.2306.1 160 6/7/2023
10.7.2305.1 145 5/17/2023
10.7.2303.2 229 3/17/2023
10.7.2303.1 249 3/2/2023
10.7.2302.1 301 1/31/2023
10.7.2301.1 315 1/2/2023
10.7.2212.1 342 11/30/2022
10.7.2211.1 356 11/27/2022
10.6.2211.1 375 11/9/2022
10.5.2211.1 348 11/5/2022
10.5.2209.1 395 9/20/2022
10.5.2207.1 445 7/18/2022
10.5.2205.6 456 5/6/2022
10.5.2205.3 452 5/5/2022
10.5.2205.1 459 4/30/2022
10.5.2204.2 451 4/12/2022
10.5.2204.1 435 4/10/2022
10.5.2203.4 459 3/15/2022
10.5.2203.3 451 3/10/2022
10.5.2203.2 464 3/10/2022
10.5.2203.1 473 3/5/2022
10.5.2201.1 288 1/3/2022
10.4.2112.1 293 12/3/2021
10.4.2111.1 359 11/2/2021
10.4.2110.3 337 10/13/2021
10.4.2110.2 361 9/30/2021
10.4.2110.1 356 9/30/2021
10.4.2109.7 311 9/22/2021
10.4.2109.6 390 9/20/2021
10.4.2109.5 362 9/17/2021
10.4.2109.3 365 9/16/2021
10.4.2109.2 368 9/13/2021
10.4.2109.1 330 9/3/2021
10.4.2108.3 377 8/2/2021
10.4.2108.2 387 8/1/2021
10.4.2108.1 352 7/26/2021
10.4.2107.2 407 7/17/2021
10.4.2107.1 384 7/1/2021
10.4.2106.2 374 6/8/2021
10.4.2106.1 441 6/6/2021
10.4.2105.1 360 5/3/2021
10.4.2104.1 386 4/4/2021
10.4.2103.1 394 3/9/2021
10.4.2102.1 390 2/1/2021
10.4.2101.1 399 12/31/2020
10.3.2012.3 405 12/17/2020
10.3.2012.2 414 12/16/2020
10.3.2012.1 436 12/3/2020
10.3.2011.2 489 11/15/2020
10.3.2011.1 449 11/12/2020
10.3.2010.1 474 10/24/2020
10.3.2009.3 490 9/9/2020
10.3.2009.2 487 9/3/2020
10.3.2009.1 500 9/2/2020
10.3.2008.3 467 8/21/2020
10.3.2008.2 504 8/12/2020
10.3.2008.1 524 8/3/2020
10.3.2007.2 508 7/15/2020
10.3.2007.1 505 6/30/2020
10.3.2006.2 478 6/10/2020
10.3.2006.1 488 6/2/2020
10.3.2005.2 511 5/20/2020
10.3.2005.1 496 5/13/2020
10.3.2004.24 475 4/24/2020
10.3.2004.1 521 3/31/2020
10.3.2003.4 595 3/7/2020
10.3.2003.3 577 3/5/2020
10.3.2003.2 517 3/3/2020
10.3.2002.5 519 2/20/2020
10.3.2002.4 660 2/19/2020
10.3.2002.3 581 2/11/2020
10.3.2002.2 559 2/3/2020
10.3.2002.1 627 2/2/2020
10.3.2001.4 560 1/19/2020
10.3.2001.3 508 1/17/2020
10.3.2001.2 563 1/6/2020
10.3.2001.1 553 1/2/2020
10.3.1912.3 537 12/6/2019
10.3.1912.2 590 12/4/2019
10.3.1912.1 514 12/1/2019
10.3.1911.1 525 10/28/2019
10.3.1910.4 523 10/17/2019
10.3.1910.3 551 10/10/2019
10.3.1910.2 511 10/1/2019
10.3.1910.1 552 9/26/2019
10.3.1908.1-preview 423 8/3/2019
10.3.1907.1-preview 411 7/2/2019
10.2.1906.2 650 6/12/2019
10.2.1905.1 616 5/17/2019
10.2.1904.1 702 4/1/2019
10.2.1812.1 847 12/9/2018

2nd year (latest components)