From e5d9f89e80d5d6b58595a7d10211856ddd40cebc Mon Sep 17 00:00:00 2001
From: Adrien Destugues
Date: Sat, 13 Jul 2019 13:33:16 +0200
Subject: [PATCH 01/36] Import the files.
---
README.md | 12 +++
style.css | 24 +++++
style.xsl | 66 ++++++++++++++
test.xml | 257 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 359 insertions(+)
create mode 100644 README.md
create mode 100644 style.css
create mode 100644 style.xsl
create mode 100644 test.xml
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6aef0b0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+A stylesheet for XMPP clients DOAP.
+
+DOAP ('Description Of A Project') is a spec for describing software projects.
+It was extended to include support of XEPs for XMPP clients.
+
+This stylesheet makes DOAP files render nicely in web browsers with XSLT support.
+
+Usage: reference the stylesheet in your DOAP xml:
+
+
+
+That's it!
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..6f54879
--- /dev/null
+++ b/style.css
@@ -0,0 +1,24 @@
+table {
+ border-collapse: collapse;
+}
+
+th {
+ border: 1px solid grey;
+}
+
+td {
+ border: 1px solid grey;
+ padding: 2px;
+}
+
+a {
+ padding: 3px;
+}
+
+.complete td {
+ color:green;
+}
+
+.partial td {
+ color:orange;
+}
diff --git a/style.xsl b/style.xsl
new file mode 100644
index 0000000..bb92e2c
--- /dev/null
+++ b/style.xsl
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+ XMPP implementation support for
+
+
+
+
+
+
+
+
+
+
+
+ Supported operating systems:
+
+
+
+
+ | XEP | Version | status | Since | Notes |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ website
+
+
+
+ download
+
+
+
+
+
+
+
+
+ |
+ |
+ |
+ |
+ |
+
+
+
+
diff --git a/test.xml b/test.xml
new file mode 100644
index 0000000..40fb00c
--- /dev/null
+++ b/test.xml
@@ -0,0 +1,257 @@
+
+
+
+ poezio
+
+ 2010-01-10
+
+ Free console XMPP client
+ Client XMPP libre en console
+
+ Free and modern console XMPP client written in Python with the ncurses library
+ Client console XMPP libre et moderne, écrit en Python avec la bibliothèque ncurses
+
+
+
+
+
+
+
+
+
+
+
+
+ eng
+
+
+
+
+
+
+ Python
+
+ Linux
+ macOS
+ FreeBSD
+ OpenBSD
+ NetBSD
+
+
+
+
+
+
+
+
+
+
+ Link Mauve
+
+ aaa4dac2b31c1be4ee8f8e2ab986d34fb261974f
+
+
+
+
+ louiz’
+
+ a867767905969a4915147374e3a064f97cdf5d61
+
+
+
+
+ mathieui
+
+ c14292b375a7cec3f39872aa8524c66a1d9106cf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ client
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0.11
+ 2017-01-31
+
+
+
+
+
+
+ 0.10
+ 2016-10-09
+
+
+
+
+
+ 0.9
+ 2015-07-31
+
+
+
+
+
+ 0.8.1
+ 2014-03-20
+
+
+
+
+
+ 0.8
+ 2014-02-22
+
+
+
+
+
+ 0.7.5.2
+ 2012-??-??
+
+
+
+
+
+ 0.7.5.1
+ 2012-??-??
+
+
+
+
+
+ 0.7.5
+ 2012-05-25
+
+
+
+
+
+ 0.7.2
+ 2011-11-08
+
+
+
+
+
+ 0.7.1
+ 2011-02-02
+
+
+
+
+
+ 0.7
+ 2011-01-14
+
+
+
+
+
+ 0.6.2
+ 2010-07-21
+
+
+
+
+
+ 0.6.1
+ 2010-06-13
+
+
+
+
+
+ 0.6
+ 2010-06-13
+
+
+
+
+
+ 0.5.1
+ 2010-02-02
+
+
+
+
+
+ 0.5
+ 2010-02-01
+
+
+
+
From d31c21b288465a20f4832fbdbd5b8fee12f89348 Mon Sep 17 00:00:00 2001
From: Adrien Destugues
Date: Sat, 13 Jul 2019 15:14:28 +0200
Subject: [PATCH 02/36] Update with latest version of DOAP schema
---
style.css | 5 +
style.xsl | 28 ++--
test.xml | 451 +++++++++++++++++++++++++++++++++++++++++++++++-------
3 files changed, 413 insertions(+), 71 deletions(-)
diff --git a/style.css b/style.css
index 6f54879..8b83776 100644
--- a/style.css
+++ b/style.css
@@ -1,5 +1,10 @@
+img {
+ float: left;
+}
+
table {
border-collapse: collapse;
+ clear: both;
}
th {
diff --git a/style.xsl b/style.xsl
index bb92e2c..0bdf78f 100644
--- a/style.xsl
+++ b/style.xsl
@@ -1,7 +1,7 @@
@@ -12,8 +12,9 @@
XMPP implementation support for
-
+
| XEP | Version | status | Since | Notes |
-
+