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

Martin Kletzander posted 1 patch 4 years, 10 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/05ac854cc830cb4dd301fa27679883e296f30a08.1561042946.git.mkletzan@redhat.com
docs/js/main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[libvirt] [PATCH] docs: Fix Blog Planet links
Posted by Martin Kletzander 4 years, 10 months ago
They were pointing to the blogs instead, now they point the articles.

Signed-off-by: Martin Kletzander <mkletzan@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

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