[libvirt] [virttools-planet PATCH] README: add instructions for adding a new blog

Stefan Hajnoczi stefanha at gmail.com
Tue Sep 17 13:31:51 UTC 2019


Signed-off-by: Stefan Hajnoczi <stefanha at gmail.com>
---
 README                                   | 22 ++++++++++++++++++++++
 updater/virt-tools/basic/index.html.tmpl |  1 +
 2 files changed, 23 insertions(+)

diff --git a/README b/README
index 1013e71..ad388f8 100644
--- a/README
+++ b/README
@@ -6,6 +6,28 @@ This directory contains content / configuration for managing
     http(s)://planet.virttools.org
     http(s)://planet.virt-tools.org
 
+How to add your blog
+--------------------
+Add a config.ini section for your blog to updater/virt-tools/config.ini:
+
+  [https://example.org/my/blog/feed/]
+  name = John Doe
+  face = jdoe.png
+  facewidth = 96
+  faceheight = 96
+
+Where face (logo image filename), facewidth (logo image width in pixels), and
+faceheight (logo image height in pixels) are optional attributes that describe
+the logo image associated with your blog.  Remember to add your image file into
+the updater/virt-tools/images/ directory if you wish to use an image.
+
+Please send a patch email to libvir-list at redhat.com:
+
+  $ git commit -as
+  $ git send-email --to libvir-list at redhat.com --cc berrange at redhat.com HEAD^..
+
+How to run the site
+-------------------
 The site is setup to run under OpenShift
 
 Initial load can be done with
diff --git a/updater/virt-tools/basic/index.html.tmpl b/updater/virt-tools/basic/index.html.tmpl
index d8d239e..d26aba0 100644
--- a/updater/virt-tools/basic/index.html.tmpl
+++ b/updater/virt-tools/basic/index.html.tmpl
@@ -23,6 +23,7 @@
 	<TMPL_LOOP Channels>
 	  <li><a href="<TMPL_VAR link ESCAPE="HTML">" title="<TMPL_VAR title ESCAPE="HTML">"><TMPL_VAR name></a> <a href="<TMPL_VAR url ESCAPE="HTML">">(feed)</a></li>
 	</TMPL_LOOP>
+        <li><a href="https://libvirt.org/git/?p=virttools-planet.git;a=blob;f=README">Add your blog!</a></li>
       </ul>
     </div>
 
-- 
2.21.0




More information about the libvir-list mailing list