[libvirt] [PATCH] docs: Fix Blog Planet links

Martin Kletzander mkletzan at redhat.com
Thu Jun 20 15:02:53 UTC 2019


They were pointing to the blogs instead, now they point the articles.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
Pushed as trivial-and-thoroughly-tested.

 docs/js/main.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/js/main.js b/docs/js/main.js
index e48e95075cf6..2edc62830453 100644
--- a/docs/js/main.js
+++ b/docs/js/main.js
@@ -116,10 +116,10 @@ function fetchRSS() {
             var name = e.querySelector("author > name").textContent;
             var title = e.querySelector("title").textContent;
             var updated = e.querySelector("updated").textContent;
-            var uri = e.querySelector("author > uri").textContent;
+            var link = e.querySelector("link").attributes.href.textContent;
 
             var a = document.createElement("a");
-            a.href = uri;
+            a.href = link;
             a.innerText = title;
 
             var dt = document.createElement("dt");
-- 
2.22.0




More information about the libvir-list mailing list