Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit2938c5cf138bef4f65644d9213233fa0e5a5ee6f (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-10-11 20:50:39 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-10-11 20:50:39 +0200
Files952ee6c560f4c2f4aef0df1ed74c47a419199613
goodwolf-2938c5cf138bef4f65644d9213233fa0e5a5ee6f.tar
goodwolf-2938c5cf138bef4f65644d9213233fa0e5a5ee6f.tar.gz
goodwolf-2938c5cf138bef4f65644d9213233fa0e5a5ee6f.zip
Parenta702a8c2a7c173174804165e05f314549753e289 (diff)
bookmarks: Add support for XInclude
2 files changed, 3 insertions, 1 deletions
-rw-r--r--badwolf.12
-rw-r--r--bookmarks.c2
diff --git a/badwolf.1 b/badwolf.1
index 6bbe2b2..ca02f83 100644
--- 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
index c6e2ece..6d35216 100644
--- a/bookmarks.c
+++ b/bookmarks.c
@@ -92,6 +92,8 @@ bookmarks_completion_init()
return NULL;
}
+ xmlXIncludeProcess(doc);
+
xpathCtx = xmlXPathNewContext(doc);
if(xpathCtx == NULL)
{