[gimp-help/gimp-help-2-10] web: ad Open Graph metadata (sort of).



commit 9f83d7619385ca8eb7d88a60592033d3f847366e
Author: Jehan <jehan girinstud io>
Date:   Tue Mar 22 15:05:14 2022 +0100

    web: ad Open Graph metadata (sort of).
    
    It's not exactly proper og tags as it should be 'property' attribute
    (not 'name'). Yet reading the dockbook xsl files for websites, it looks
    like they understand only the 'name' attribute and have no way to
    transform it into property. Maybe we should look on making our own xsl
    file to support this.
    
    Anyway, looking this up a bit, it looks like some platforms where these
    metadata are used may understand when using 'name' attribute. So let's
    try as-is, as a first step.
    
    (cherry picked from commit 7cf5a48b088dc2fd255ba9348e41341b2ce15481)

 web/website.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/web/website.xml b/web/website.xml
index 1b3175531..e17ef4bbb 100644
--- a/web/website.xml
+++ b/web/website.xml
@@ -14,6 +14,14 @@
   <head>
     <title>GIMP Documentation</title>
     <keywords>GIMP, Manual</keywords>
+    <meta name="og:title" content="GIMP Documentation" />
+    <meta name="og:description" content="Online user manuals and quick reference guides for the GNU Image 
Manipulation Program" />
+    <meta name="og:image" content="http://testing.docs.gimp.org/Layout/202010-wilber-and-co.jpg"; />
+    <meta name="og:image:alt" content="Illustration by Aryeom Han representing GIMP mascot, Wilber, learning 
with books" />
+    <meta name="og:author" content="GIMP team" />
+    <meta name="og:type" content="book" />
+    <meta name="book:author" content="GIMP team" />
+    <meta name="book:release_date" content="&gimphelp.release.year;" />
   </head>
 
   <section id="gimp210" xreflabel="2.10">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]