From 83aa65981b1eb7ba508e246ab27bda49642f5c6e Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 8 Feb 2024 17:41:50 +0100 Subject: [PATCH] Added link to schema.org #1422 --- plugins/view-ics/message.js | 1 + plugins/view-ics/style.css | 44 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 plugins/view-ics/style.css diff --git a/plugins/view-ics/message.js b/plugins/view-ics/message.js index 5689c1f63..7a5d514c4 100644 --- a/plugins/view-ics/message.js +++ b/plugins/view-ics/message.js @@ -58,6 +58,7 @@ view.viewICS(null); if (msg) { // JSON-LD after parsing HTML + // See http://schema.org/ msg.linkedData.subscribe(data => { if (!view.viewICS()) { data.forEach(item => { diff --git a/plugins/view-ics/style.css b/plugins/view-ics/style.css new file mode 100644 index 000000000..b3a4e5c8c --- /dev/null +++ b/plugins/view-ics/style.css @@ -0,0 +1,44 @@ + +/** + * .SML-@type where @type is the value of the JSON-LD "@type": + * See http://schema.org/ + */ + +.SML-FlightReservation { +} + + .SML-Airline { + } + + .SML-Airport { + } + + .SML-Flight { + } + +.SML-FoodEstablishmentReservation { +} + + .SML-FoodEstablishment { + } + +.SML-ParcelDelivery { +} + + .SML-Order { + } + + .SML-Organization { + } + + .SML-Product { + } + + .SML-PostalAddress { + } + +.SML-Person { +} + +.SML-PromotionCard { +}