]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Fix Blog Planet links
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 20 Jun 2019 15:00:17 +0000 (17:00 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 20 Jun 2019 15:01:44 +0000 (17:01 +0200)
They were pointing to the blogs instead, now they point the articles.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
docs/js/main.js

index e48e95075cf6ed6155bb19f180d92c066c122ab1..2edc628304538369b421e118896c2c551f80e1cb 100644 (file)
@@ -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");