* Bug: org-publish-sitemap messes absolute sitemap paths [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/Users/juanj/OneDrive/Library/Emacs/elpa-26/org-20200316/)]
@ 2020-04-17 16:13 Juan José García Ripoll
2020-04-18 16:23 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Juan José García Ripoll @ 2020-04-17 16:13 UTC (permalink / raw)
To: emacs-orgmode
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
The line
(sitemap-filename (concat root (or sitemap-filename "sitemap.org")))
in ox-publish.el prevents the user from using an absolute path for the
location of the sitemap. This is also not very good practice, because
concatenation does not guarantee good pathnames. Instead it should read
(sitemap-filename (expand-file-name (or sitemap-filename
"sitemap.org")
root))
Emacs : GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Package: Org mode version 9.3.6 (9.3.6-25-g685b2c-elpa @ c:/Users/juanj/OneDrive/Library/Emacs/elpa-26/org-20200316/)
current state:
==============
(setq
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-link-shell-confirm-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-protocol-default-template-key "l"
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-refile-targets '((org-agenda-files :maxlevel . 1)
("archive-2020.org" :maxlevel . 1))
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-icalendar-combined-agenda-file "~/Nextcloud/Documents/Notes/calendar.ics"
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-agenda-files '("~/Nextcloud/Documents/Notes/calendar.org"
"~/Nextcloud/Documents/Notes/areas.org"
"~/Nextcloud/Documents/Notes/projects.org"
"~/Nextcloud/Documents/Notes/meetings.org"
"~/Nextcloud/Documents/Notes/someday.org")
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-mode-hook '(#[0 "\301\211.\207"
[imenu-create-index-function org-imenu-get-tree] 2]
visual-line-mode juanjo:code-defaults
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-all append local]
5]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-babel-show-result-all
append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-finalize-agenda-hook '(org-agenda-to-appt)
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-startup-indented t
org-agenda-default-appointment-duration 60
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-bibtex-headline-format-function #[257 "\300.\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-babel-load-languages '((emacs-lisp . t) (python . t))
org-ascii-format-drawer-function #[771 ".\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
org-babel-python-command "C:\\Users\\juanj/OneDrive/Library/Windows/scripts/conda_python.cmd"
org-catch-invisible-edits 'show-and-error
org-occur-hook '(org-first-headline-recenter)
org-cycle-separator-lines 0
org-protocol-protocol-alist '(("ebib-biblio-interface" :protocol
"ebib-biblio-interface" :function
ebib-biblio-interface-handler)
("share" :protocol "share" :function
jjgr-org-protocol-share)
)
org-structure-template-alist '(("n" . "notes") ("a" . "export ascii")
("c" . "center") ("C" . "comment")
("e" . "example") ("E" . "export")
("h" . "export html") ("l" . "export latex")
("q" . "quote") ("s" . "src") ("v" . "verse"))
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO" "NEXT" "WAIT" "EVENT" "PROJ" "|" "DONE"
"CANCEL" "DELEGATED")
)
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-id-method 'org
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-html-with-latex 'dvipng
org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")
("elisp" . "el"))
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-open-link :export
org-attach-export-link :complete
org-attach-complete-link)
("deft" :follow deft--org-follow-link :store
org-deft-store-link)
("eww" :follow eww :store org-eww-store-link)
("rmail" :follow org-rmail-open :store
org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link
:export org-irc-export)
("info" :follow org-info-open :export org-info-export
:store org-info-store-link)
("gnus" :follow org-gnus-open :store
org-gnus-store-link)
("docview" :follow org-docview-open :export
org-docview-export :store org-docview-store-link)
("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export
:complete org-bbdb-complete-link :store
org-bbdb-store-link)
("w3m" :store org-w3m-store-link)
("id" :follow org-id-open) ("file+sys") ("file+emacs")
("shell" :follow org-link--open-shell)
("news" :follow
#[257 "\301\300\302.Q!\207" ["news" browse-url ":"] 5
"\n\n(fn URL)"]
)
("mailto" :follow
#[257 "\301\300\302.Q!\207" ["mailto" browse-url ":"]
5 "\n\n(fn URL)"]
)
("https" :follow
#[257 "\301\300\302.Q!\207" ["https" browse-url ":"]
5 "\n\n(fn URL)"]
)
("http" :follow
#[257 "\301\300\302.Q!\207" ["http" browse-url ":"] 5
"\n\n(fn URL)"]
)
("ftp" :follow
#[257 "\301\300\302.Q!\207" ["ftp" browse-url ":"] 5
"\n\n(fn URL)"]
)
("help" :follow org-link--open-help)
("file" :complete org-link-complete-file)
("elisp" :follow org-link--open-elisp)
("doi" :follow org-link--open-doi))
org-icalendar-use-scheduled '(event-if-todo event-if-todo-not-done
event-if-not-todo)
org-icalendar-timezone "Europe/Madrid"
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-link-elisp-confirm-function 'yes-or-no-p
org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-html-format-headline-function 'org-html-format-headline-default-function
org-src-window-setup 'split-window-below
org-icalendar-use-deadline '(event-if-todo event-if-todo-not-done
event-if-not-todo)
org-directory "~/Nextcloud/Documents/Notes"
org-icalendar-alarm-time 60
org-publish-project-alist '(("homepage-blog" :base-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/blog"
:root-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/"
:recursive t :base-extension "org"
:publishing-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/public_html/blog"
:exclude "^index.org" :section-numbers nil
:with-toc nil :with-date nil :html-template
#[(contents info)
"\306\b\307\".\310 \b\".\306\b\311\"\205\x1f.\306\b\312\"\205\x1f.\313\306\b\312\"\b\".\314 \315\306\b\316\"\206..\306\b\317\"!\".\320\321\n\211\205<.\322\323\n\"#\210\324\325\v\203K.\326\v\327Q\202L.\330\331\f\332\f\333\260\a\334\335\f\336\f\337\260.\340\341\f\342\f\343\260.\344\v\203o.\345\v\346Q\202p.\330\347\n\203\x7f.\350\322\323\n\"\351Q\202\200.\330\347.\352\353\354\260.,\207"
[info input-file date title root contents plist-get :input-file org-publish-find-date :with-title :title org-export-data templated-html--relative-path expand-file-name :root-directory :base-directory message "->date: %s, %s" format-time-string "%b %d, %Y" "<!doctype html>\n<html lang=\"en\">\n <head>\n " "<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta name=\"description\" content=\"Juan José (Juanjo) García Ripoll's personal homepage.\">\n" "\n<title>" "</title>\n" "" "\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/pure-min.css\">\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css\">\n<!--[if lte IE 8]>\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/grids-responsive-old-ie-min.css\">\n<link rel=\"stylesheet\" href=\"" "css/layouts/blog-old-ie.css\">\n<![endif]-->\n<!--[if gt IE 8]><!-->\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/grids-responsive-min.css\">\n<link rel=\"stylesheet\" href=\"" "css/layouts/blog.css\">\n<!--<![endif]-->\n" "\n </head>\n <body>\n\n <div id=\"layout\" class=\"pure-g\">\n " "<div class=\"sidebar pure-u-1 pure-u-md-1-3\">\n <div class=\"header\">\n <a href=\"" "\"><img class=\"portrait\" src=\"" "images/me.jpg\" alt=\"Juan José García Ripoll\"/></a>\n <h2 class=\"brand-title\">Juan José García Ripoll</h2>\n <h2 class=\"brand-tagline\">Senior scientist</h2>\n <h2 class=\"brand-tagline\"><a href=\"https://quinfog.hbar.es\">IFF-CSIC</a></h2>\n\n <nav class=\"nav\">\n <ul class=\"nav-list\">\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://scholar.google.es/citations?user=qiByNwYAAAAJ&hl=en\"><i class=\"fab fa-google big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://twitter.com/jjgarciaripoll\"><i class=\"fab fa-twitter big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://github.com/juanjosegarciaripoll/\"><i class=\"fab fa-github big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://www.linkedin.com/in/juan-jose-garcia-ripoll-573769134/\"><i class=\"fab fa-linkedin big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"mailto:jj.garcia.ripoll@csic.es\"><i class=\"fas fa-envelope big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://juanjose.garciaripoll.com/blog/rss.xml\"><i class=\"fas fa-rss big-icon\"></i></a>\n </li>\n\n </ul>\n </nav>\n </div>\n</div>\n" "\n <div class=\"content pure-u-1 pure-u-md-2-3\">\n " "<div class=\"pure-menu pure-menu-horizontal\">\n <ul class=\"pure-menu-list\">\n <li class=\"pure-menu-item\"><a href=\"" "/index.html#blog\" class=\"pure-menu-link\">Blog</a></li>\n <li class=\"pure-menu-item\"><a href=\"https://quinfog.hbar.es\" id=\"menuLink1\" class=\"pure-menu-link\">Work</a></li>\n <li class=\"pure-menu-item\"><a href=\"" "innsbruck-lectures/index.html\" id=\"menuLink1\" class=\"pure-menu-link\">Lectures</a></li>\n </ul>\n</div>\n" "\n\n <div id=\"content\">\n " "<h1>" "</h1>" "\n " "<div class=\"post-meta\">Published on " "</div>" "\n </div>\n\n " "<div class=\"footer\">\n <hr>\n <div>Created using Emacs and <a href=\"/blog/org-mode-html-templates/index.html\">org-mode</a></div>\n <div>(c) Juan José García Ripoll 2019</div>\n</div>\n" "\n </div>\n </div>\n </body>\n</html>\n"]
15]
:publishing-function
org-html-publish-to-templated-html :auto-sitemap
t :sitemap-folders ignore :sitemap-style list
:sitemap-title "Juanjo García-Ripoll's blog"
:sitemap-filename "sitemap.inc"
:sitemap-sort-files anti-chronologically)
("homepage-recipes" :base-directory
"c:/Users/juanj/Nextcloud/Documents/Notes/recipes"
:root-directory
"c:/Users/juanj/Nextcloud/Documents/Notes"
:recursive t :base-extension "org"
:publishing-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/public_html/recipes"
:exclude "^\\(index.org\\|.*recipes.inc\\)"
:section-numbers nil :with-toc nil :with-date
nil :html-template
#[(contents info)
"\306\b\307\".\310 \b\".\306\b\311\"\205\x1f.\306\b\312\"\205\x1f.\313\306\b\312\"\b\".\314 \315\306\b\316\"\206..\306\b\317\"!\".\320\321\n\211\205<.\322\323\n\"#\210\324\325\v\203K.\326\v\327Q\202L.\330\331\f\332\f\333\260\a\334\335\f\336\f\337\260.\340\341\f\342\f\343\260.\344\v\203o.\345\v\346Q\202p.\330\347\n\203\x7f.\350\322\323\n\"\351Q\202\200.\330\347.\352\353\354\260.,\207"
[info input-file date title root contents plist-get :input-file org-publish-find-date :with-title :title org-export-data templated-html--relative-path expand-file-name :root-directory :base-directory message "->date: %s, %s" format-time-string "%b %d, %Y" "<!doctype html>\n<html lang=\"en\">\n <head>\n " "<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta name=\"description\" content=\"Juan José (Juanjo) García Ripoll's personal homepage.\">\n" "\n<title>" "</title>\n" "" "\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/pure-min.css\">\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css\">\n<!--[if lte IE 8]>\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/grids-responsive-old-ie-min.css\">\n<link rel=\"stylesheet\" href=\"" "css/layouts/blog-old-ie.css\">\n<![endif]-->\n<!--[if gt IE 8]><!-->\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/grids-responsive-min.css\">\n<link rel=\"stylesheet\" href=\"" "css/layouts/blog.css\">\n<!--<![endif]-->\n" "\n </head>\n <body>\n\n <div id=\"layout\" class=\"pure-g\">\n " "<div class=\"sidebar pure-u-1 pure-u-md-1-3\">\n <div class=\"header\">\n <a href=\"" "\"><img class=\"portrait\" src=\"" "images/me.jpg\" alt=\"Juan José García Ripoll\"/></a>\n <h2 class=\"brand-title\">Juan José García Ripoll</h2>\n <h2 class=\"brand-tagline\">Senior scientist</h2>\n <h2 class=\"brand-tagline\"><a href=\"https://quinfog.hbar.es\">IFF-CSIC</a></h2>\n\n <nav class=\"nav\">\n <ul class=\"nav-list\">\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://scholar.google.es/citations?user=qiByNwYAAAAJ&hl=en\"><i class=\"fab fa-google big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://twitter.com/jjgarciaripoll\"><i class=\"fab fa-twitter big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://github.com/juanjosegarciaripoll/\"><i class=\"fab fa-github big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://www.linkedin.com/in/juan-jose-garcia-ripoll-573769134/\"><i class=\"fab fa-linkedin big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"mailto:jj.garcia.ripoll@csic.es\"><i class=\"fas fa-envelope big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://juanjose.garciaripoll.com/blog/rss.xml\"><i class=\"fas fa-rss big-icon\"></i></a>\n </li>\n\n </ul>\n </nav>\n </div>\n</div>\n" "\n <div class=\"content pure-u-1 pure-u-md-2-3\">\n " "<div class=\"pure-menu pure-menu-horizontal\">\n <ul class=\"pure-menu-list\">\n <li class=\"pure-menu-item\"><a href=\"" "/index.html#blog\" class=\"pure-menu-link\">Blog</a></li>\n <li class=\"pure-menu-item\"><a href=\"https://quinfog.hbar.es\" id=\"menuLink1\" class=\"pure-menu-link\">Work</a></li>\n <li class=\"pure-menu-item\"><a href=\"" "innsbruck-lectures/index.html\" id=\"menuLink1\" class=\"pure-menu-link\">Lectures</a></li>\n </ul>\n</div>\n" "\n\n <div id=\"content\">\n " "<h1>" "</h1>" "\n " "<div class=\"post-meta\">Published on " "</div>" "\n </div>\n\n " "<div class=\"footer\">\n <hr>\n <div>Created using Emacs and <a href=\"/blog/org-mode-html-templates/index.html\">org-mode</a></div>\n <div>(c) Juan José García Ripoll 2019</div>\n</div>\n" "\n </div>\n </div>\n </body>\n</html>\n"]
15]
:publishing-function
org-html-publish-to-templated-html :auto-sitemap
t :sitemap-folders ignore :sitemap-style list
:sitemap-title "Juanjo García-Ripoll's blog"
:sitemap-filename
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/recipes.inc" :sitemap-sort-files anti-chronologically)
("homepage-rss" :publish-function
(lambda (a b c) nil) :auto-sitemap t
:sitemap-title "Juanjo García-Ripoll's blog"
:sitemap-style list :sitemap-filename "rss.xml"
:sitemap-sort-files anti-chronologically
:publishing-function
#[(&rest r) "\300\207" [nil] 1]
:sitemap-format-entry org-simple-rss--entry
:sitemap-function
#[(title list) "\302\b\303\304 $\207"
[title list org-simple-rss--body
"My blog of Emacsy things, programming and science" "https://juanjose.garciaripoll.com/blog/"]
5]
:base-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/blog" :root-directory "c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/" :recursive t :base-extension "org" :publishing-directory "c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/public_html/blog" :exclude "^index.org" :rss-filename "rss.xml" :rss-title "Juanjo García-Ripoll's blog" :rss-description "My blog of Emacsy things, programming and science" :rss-root "https://juanjose.garciaripoll.com/blog/")
("homepage-pages" :base-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/"
:recursive t :base-extension "org" :include
("blog/index.org") :exclude "\\(?:blog\\)"
:publishing-directory
"c:/Users/juanj/Nextcloud/workspace/Web presence/juanjose.garciaripoll.com/public_html"
:section-numbers nil :with-toc nil :with-date
nil :html-template
#[(contents info)
"\306\b\307\".\310 \b\".\306\b\311\"\205\x1f.\306\b\312\"\205\x1f.\313\306\b\312\"\b\".\314 \315\306\b\316\"\206..\306\b\317\"!\".\320\321\n\211\205<.\322\323\n\"#\210\324\325\v\203K.\326\v\327Q\202L.\330\331\f\332\f\333\260\a\334\335\f\336\f\337\260.\340\341\f\342\f\343\260.\344\v\203o.\345\v\346Q\202p.\330\347.\350\351\352\260.,\207"
[info input-file date title root contents plist-get :input-file org-publish-find-date :with-title :title org-export-data templated-html--relative-path expand-file-name :root-directory :base-directory message "->date: %s, %s" format-time-string "%b %d, %Y" "<!doctype html>\n<html lang=\"en\">\n <head>\n " "<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta name=\"description\" content=\"Juan José (Juanjo) García Ripoll's personal homepage.\">\n" "\n<title>" "</title>\n" "" "\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/pure-min.css\">\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css\">\n<!--[if lte IE 8]>\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/grids-responsive-old-ie-min.css\">\n<link rel=\"stylesheet\" href=\"" "css/layouts/blog-old-ie.css\">\n<![endif]-->\n<!--[if gt IE 8]><!-->\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.1/grids-responsive-min.css\">\n<link rel=\"stylesheet\" href=\"" "css/layouts/blog.css\">\n<!--<![endif]-->\n" "\n </head>\n <body>\n\n <div id=\"layout\" class=\"pure-g\">\n " "<div class=\"sidebar pure-u-1 pure-u-md-1-3\">\n <div class=\"header\">\n <a href=\"" "\"><img class=\"portrait\" src=\"" "images/me.jpg\" alt=\"Juan José García Ripoll\"/></a>\n <h2 class=\"brand-title\">Juan José García Ripoll</h2>\n <h2 class=\"brand-tagline\">Senior scientist</h2>\n <h2 class=\"brand-tagline\"><a href=\"https://quinfog.hbar.es\">IFF-CSIC</a></h2>\n\n <nav class=\"nav\">\n <ul class=\"nav-list\">\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://scholar.google.es/citations?user=qiByNwYAAAAJ&hl=en\"><i class=\"fab fa-google big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://twitter.com/jjgarciaripoll\"><i class=\"fab fa-twitter big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://github.com/juanjosegarciaripoll/\"><i class=\"fab fa-github big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://www.linkedin.com/in/juan-jose-garcia-ripoll-573769134/\"><i class=\"fab fa-linkedin big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"mailto:jj.garcia.ripoll@csic.es\"><i class=\"fas fa-envelope big-icon\"></i></a>\n </li>\n <li class=\"nav-item\">\n <a class=\"pure-button\" href=\"https://juanjose.garciaripoll.com/blog/rss.xml\"><i class=\"fas fa-rss big-icon\"></i></a>\n </li>\n\n </ul>\n </nav>\n </div>\n</div>\n" "\n <div class=\"content pure-u-1 pure-u-md-2-3\">\n " "<div class=\"pure-menu pure-menu-horizontal\">\n <ul class=\"pure-menu-list\">\n <li class=\"pure-menu-item\"><a href=\"" "/index.html#blog\" class=\"pure-menu-link\">Blog</a></li>\n <li class=\"pure-menu-item\"><a href=\"https://quinfog.hbar.es\" id=\"menuLink1\" class=\"pure-menu-link\">Work</a></li>\n <li class=\"pure-menu-item\"><a href=\"" "innsbruck-lectures/index.html\" id=\"menuLink1\" class=\"pure-menu-link\">Lectures</a></li>\n </ul>\n</div>\n" "\n\n <div id=\"content\">\n " "<h1>" "</h1>" "\n " "\n </div>\n\n " "<div class=\"footer\">\n <hr>\n <div>Created using Emacs and <a href=\"/blog/org-mode-html-templates/index.html\">org-mode</a></div>\n <div>(c) Juan José García Ripoll 2019</div>\n</div>\n" "\n </div>\n </div>\n </body>\n</html>\n"]
13]
:publishing-function
org-html-publish-to-templated-html)
("homepage-assets" :base-directory "./"
:publishing-directory "./public_html" :recursive
t :exclude "^\\(public_html\\|templates\\).*"
:base-extension
"\\(jpg\\|gif\\|png\\|css\\|js\\|el\\|nb\\|ipynb\\|pdf\\|xml\\)" :publishing-function org-publish-attachment)
("homepage" :components
("homepage-blog" "homepage-pages" "homepage-rss"
"homepage-assets")
)
)
org-default-notes-file "~/Nextcloud/Documents/Notes/notes.org"
)
--
Juan José García Ripoll
Quantum Information and Foundations Group
Institute of Fundamental Physics IFF-CSIC
Calle Serrano 113b, Madrid 28006 Spain
http://quinfog.hbar.es - http://juanjose.garcia.ripoll
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: org-publish-sitemap messes absolute sitemap paths [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/Users/juanj/OneDrive/Library/Emacs/elpa-26/org-20200316/)]
2020-04-17 16:13 Bug: org-publish-sitemap messes absolute sitemap paths [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/Users/juanj/OneDrive/Library/Emacs/elpa-26/org-20200316/)] Juan José García Ripoll
@ 2020-04-18 16:23 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-04-18 16:23 UTC (permalink / raw)
To: Juan José García Ripoll; +Cc: emacs-orgmode
Hello,
> The line
>
> (sitemap-filename (concat root (or sitemap-filename "sitemap.org")))
>
> in ox-publish.el prevents the user from using an absolute path for the
> location of the sitemap. This is also not very good practice, because
> concatenation does not guarantee good pathnames. Instead it should read
>
> (sitemap-filename (expand-file-name (or sitemap-filename
> "sitemap.org")
> root))
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-18 16:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-17 16:13 Bug: org-publish-sitemap messes absolute sitemap paths [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/Users/juanj/OneDrive/Library/Emacs/elpa-26/org-20200316/)] Juan José García Ripoll
2020-04-18 16:23 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).