logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 2938c5cf138bef4f65644d9213233fa0e5a5ee6f
parent a702a8c2a7c173174804165e05f314549753e289
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 11 Oct 2020 20:50:39 +0200

bookmarks: Add support for XInclude

Diffstat:

Mbadwolf.12+-
Mbookmarks.c2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/badwolf.1 b/badwolf.1 @@ -79,7 +79,7 @@ A more generic variable name is also intended to be used in the future. XBEL (XML Bookmark Exchange Language) file, known to be currently supported by: .Xr elinks 1 , .Xr konqueror 1 , -.Xr kbookmarkeditor 1 . Doing a symbolic link from their path works fine. +.Xr kbookmarkeditor 1 . Doing a symbolic link from their path works fine but you might also want to use XInclude to merge multiple XBEL files. .Pp For more information about this format see: .Lk http://pyxml.sourceforge.net/topics/xbel/ diff --git a/bookmarks.c b/bookmarks.c @@ -92,6 +92,8 @@ bookmarks_completion_init() return NULL; } + xmlXIncludeProcess(doc); + xpathCtx = xmlXPathNewContext(doc); if(xpathCtx == NULL) {