From 35188195f14151adfb13404f1841f376727bee28 Mon Sep 17 00:00:00 2001
From: Alex Cabal
Date: Mon, 20 Jun 2022 14:44:07 -0500
Subject: [PATCH] Add SE tags to OPDS and improve OPDS XSLT stylesheet
---
templates/OpdsAcquisitionEntry.php | 3 +++
www/css/core.css | 4 +++-
www/opds/style.php | 7 +++++++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/templates/OpdsAcquisitionEntry.php b/templates/OpdsAcquisitionEntry.php
index 3759fd21..7f2468a2 100644
--- a/templates/OpdsAcquisitionEntry.php
+++ b/templates/OpdsAcquisitionEntry.php
@@ -23,6 +23,9 @@
foreach($ebook->LocTags as $subject){ ?>
} ?>
+ foreach($ebook->Tags as $subject){ ?>
+
+ } ?>
diff --git a/www/css/core.css b/www/css/core.css
index 10dde5b8..a3be13fc 100644
--- a/www/css/core.css
+++ b/www/css/core.css
@@ -1241,7 +1241,7 @@ ol.ebooks-list.list > li .thumbnail-container{
}
.opds ol.ebooks-list.list > li .thumbnail-container{
- grid-row: 1 / span 5;
+ grid-row: 1 / span 6;
}
ol.ebooks-list.list ul.tags{
@@ -1407,6 +1407,7 @@ ul.tags{
margin-top: 1rem;
}
+.opds ul.tags,
.rss ul.tags{
justify-content: flex-start;
margin: .5rem auto;
@@ -1417,6 +1418,7 @@ ul.tags li{
}
ul.tags li a,
+.opds ul.tags li p,
.rss ul.tags li p{
border: 1px solid var(--body-text);
border-radius: 5px;
diff --git a/www/opds/style.php b/www/opds/style.php
index 63897c29..b5203668 100644
--- a/www/opds/style.php
+++ b/www/opds/style.php
@@ -65,6 +65,13 @@ print("\n")
+