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

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

 



Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxx>
---
 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@xxxxxxxxxx:
+
+  $ git commit -as
+  $ git send-email --to libvir-list@xxxxxxxxxx --cc berrange@xxxxxxxxxx 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux