mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
* Bump express from 4.17.2 to 4.18.2 in /UI/Web Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.18.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.17.2...4.18.2) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Bump decode-uri-component from 0.2.0 to 0.2.2 in /UI/Web Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: decode-uri-component dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Bump qs and express in /UI/Web Bumps [qs](https://github.com/ljharb/qs) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `qs` from 6.5.3 to 6.11.0 - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.5.3...v6.11.0) Updates `express` from 4.17.2 to 4.18.2 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.17.2...4.18.2) --- updated-dependencies: - dependency-name: qs dependency-type: indirect - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Added genre and authors to Series level, added summary to volume and chapter level. Force order on reading list title as Chunky enforces their own sort order and doesn't respect the spec. * Moved all the reading list formatting logic to the backend. This allows us to re-use the UI logic for OPDS streams. * Fixed a broken unit test * Code smells Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace API.DTOs.OPDS;
|
|
|
|
public class FeedEntry
|
|
{
|
|
[XmlElement("updated")]
|
|
public string Updated { get; init; } = DateTime.UtcNow.ToString("s");
|
|
|
|
[XmlElement("id")]
|
|
public string Id { get; set; }
|
|
|
|
[XmlElement("title")]
|
|
public string Title { get; set; }
|
|
|
|
[XmlElement("summary")]
|
|
public string Summary { get; set; }
|
|
|
|
/// <summary>
|
|
/// Represents Size of the Entry
|
|
/// Tag: , ElementName = "dcterms:extent"
|
|
/// <example>2 MB</example>
|
|
/// </summary>
|
|
[XmlElement("extent", Namespace = "http://purl.org/dc/terms/")]
|
|
public string Extent { get; set; }
|
|
|
|
/// <summary>
|
|
/// Format of the file
|
|
/// https://dublincore.org/specifications/dublin-core/dcmi-terms/
|
|
/// </summary>
|
|
[XmlElement("format", Namespace = "http://purl.org/dc/terms/format")]
|
|
public string Format { get; set; }
|
|
|
|
[XmlElement("language", Namespace = "http://purl.org/dc/terms/")]
|
|
public string Language { get; set; }
|
|
|
|
[XmlElement("content")]
|
|
public FeedEntryContent Content { get; set; }
|
|
|
|
[XmlElement("link")]
|
|
public List<FeedLink> Links { get; set; } = new List<FeedLink>();
|
|
|
|
[XmlElement("author")]
|
|
public List<FeedAuthor> Authors { get; set; } = new List<FeedAuthor>();
|
|
|
|
[XmlElement("category")]
|
|
public List<FeedCategory> Categories { get; set; } = new List<FeedCategory>();
|
|
}
|