Eplicta.ArchiveReport
1.3.2
dotnet add package Eplicta.ArchiveReport --version 1.3.2
NuGet\Install-Package Eplicta.ArchiveReport -Version 1.3.2
<PackageReference Include="Eplicta.ArchiveReport" Version="1.3.2" />
<PackageVersion Include="Eplicta.ArchiveReport" Version="1.3.2" />
<PackageReference Include="Eplicta.ArchiveReport" />
paket add Eplicta.ArchiveReport --version 1.3.2
#r "nuget: Eplicta.ArchiveReport, 1.3.2"
#:package Eplicta.ArchiveReport@1.3.2
#addin nuget:?package=Eplicta.ArchiveReport&version=1.3.2
#tool nuget:?package=Eplicta.ArchiveReport&version=1.3.2
Eplicta.ArchiveReport
Generates Riksarkivet's metadata appendix ("Metadatabilaga") — an Excel workbook describing a web archiving delivery, with one row per archived file.
The repository contains two projects:
Eplicta.Conserver.ArchiveReport— the reusable NuGet package (Eplicta.ArchiveReport). It exposes the data model and the Excel renderer; it does not touch the file system or read archives. Consumers build the data model and call the renderer.Eplicta.Conserver.Cli— a thin command-line harness that builds the data model from a finished delivery zip (readssip.xml, scans files) and renders the report. Useful for manual testing.
Package API
var report = new ArchiveReport
{
Description = "My delivery",
ArchiveBuilder = "Example AB",
// ... remaining delivery-level metadata (see ArchiveReport) ...
Files =
[
new FileEntry { FileName = "index.html", FileType = "text/html", SizeBytes = 1234, Charset = "utf-8", Path = "https://example.org/" },
// ... one FileEntry per page/resource ...
]
};
byte[] xlsx = new Renderer().GetBytes(report);
// or: new Renderer().Save(report, "metadatabilaga.xlsx");
ArchiveReport— delivery-level metadata + the file list (the "Allmänt" sheet).FileEntry— the 10 Riksarkivet columns per file (the "Filer" sheet).Renderer— fills the embeddedmall_webb_2026.xlsxtemplate and returns the workbook as bytes.
Excel handling uses ClosedXML (MIT). No external license configuration is required.
CLI usage
dotnet run --project Eplicta.Conserver.Cli -- <path-to-delivery.zip> [options]
The report is written next to the input as <name>.xlsx. Metadata not present in the archive can be supplied with --description=, --creator=, --systemname=, --system=, --withdrawaldate=, --comment=.
The CLI expects a sip.xml inside the archive and a nested content zip. Media duration is read with TagLib#.
Releasing
Every merge to master builds, tests and publishes Eplicta.ArchiveReport to nuget.org, and creates a GitHub release v<version>. The version is <major>.<minor> from version.txt followed by the workflow run number, so each merge gets a new patch version. Change version.txt to start a new minor or major line. A specific version can be published from the Actions tab with Publish → Run workflow.
License
MIT, see LICENSE.
Author
Eplicta ArchiveReport Team
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Eplicta.ArchiveReport:
| Package | Downloads |
|---|---|
|
Eplicta.Conserver.Cli
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.