X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=blobdiff_plain;f=xml;h=9fee4d765ed7867b7906b8161b1793ce55a21168;hp=9ae64229fe196d91df60b81b8760409b275c01d5;hb=b00d26d30668a759beb743101c30e8d3963470af;hpb=7c147e81ec591e69d89dd0c56206d045fa5995bf diff --git a/xml b/xml index 9ae6422..9fee4d7 100755 --- a/xml +++ b/xml @@ -4,7 +4,7 @@ The script requires Midnight Commander 3.1+ (http://www.midnight-commander.org/), Python 2.4+ (http://www.python.org/). -For mc 4.7+ put the script in $HOME/.mc/extfs.d. +For mc 4.7+ put the script in $HOME/[.local/share/].mc/extfs.d. For older versions put it in /usr/[local/][lib|share]/mc/extfs and add a line "xml" to the /usr/[local/][lib|share]/mc/extfs/extfs.ini. Make the script executable. @@ -23,6 +23,11 @@ values are reencoded to the console encoding. Text nodes and comments are collected in a file named "text", stripped and reencoded. The filesystem is read-only. +It is useful to have a top-down view on an XML structure but it's especially +convenient to extract text values from tags. One can get, for example, a +base64-encoded image - just walk down the VFS to the tag's directory and copy +its text file to a real file. + The VFS was inspired by a FUSE xmlfs: https://github.com/halhen/xmlfs """ @@ -73,7 +78,7 @@ XML Virtual FileSystem for Midnight Commander version %s Author: %s %s -This is not a program. Put the script in $HOME/.mc/extfs.d or +This is not a program. Put the script in $HOME/[.local/share/].mc/extfs.d or /usr/[local/][lib|share]/mc/extfs. For more information read the source!""", __version__, __author__, __copyright__ )