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

Stefan Hajnoczi posted 1 patch 4 years, 7 months ago
Failed in applying to current master (apply log)
README                                   | 22 ++++++++++++++++++++++
updater/virt-tools/basic/index.html.tmpl |  1 +
2 files changed, 23 insertions(+)
[libvirt] [virttools-planet PATCH] README: add instructions for adding a new blog
Posted by Stefan Hajnoczi 4 years, 7 months ago
Signed-off-by: Stefan Hajnoczi <stefanha@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@redhat.com:
+
+  $ git commit -as
+  $ git send-email --to libvir-list@redhat.com --cc berrange@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [virttools-planet PATCH] README: add instructions for adding a new blog
Posted by Daniel P. Berrangé 4 years, 7 months ago
On Tue, Sep 17, 2019 at 02:31:51PM +0100, Stefan Hajnoczi wrote:
> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
> ---
>  README                                   | 22 ++++++++++++++++++++++
>  updater/virt-tools/basic/index.html.tmpl |  1 +
>  2 files changed, 23 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

and pushed.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

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