emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/kiwix 4f683e87b2 12/15: Get the complete thumbnail imag


From: ELPA Syncer
Subject: [elpa] externals/kiwix 4f683e87b2 12/15: Get the complete thumbnail image URL
Date: Wed, 7 Dec 2022 19:58:03 -0500 (EST)

branch: externals/kiwix
commit 4f683e87b2189f7c7172197ed20eb007cf878cea
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    Get the complete thumbnail image URL
---
 kiwix.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kiwix.el b/kiwix.el
index 962547375f..5c9c41d757 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -173,7 +173,9 @@ Set it to ‘t’ will use Emacs built-in ‘completing-read’."
                                             (when (and (listp cons) (eq (car 
cons) 'entry))
                                               (let* ((entry-xml cons)
                                                      (title (caddr (assq 
'title entry-xml))) ; "title"
-                                                     (link_thumbnail (assq 
'href (cadr (assq 'link entry-xml))))
+                                                     (thumbnail_url (format 
"%s:%s/%s"
+                                                                            
kiwix-server-url kiwix-server-port
+                                                                            
(cdr (assq 'href (cadr (assq 'link entry-xml))))))
                                                      (link_url_path (cdr
                                                                      (assq 
'href
                                                                            
(cadr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]