.
That being said if you are in Java one way to not have to care about
that is to use the XWiki Filter module to parse the XAR since you
don't need a running instance of XWiki to use it.
You can see what the standard XAR parser does with attachments on
.
On Wed, Apr 27, 2016 at 9:57 AM, Jean SIMARD <jean.simard(a)xwiki.com> wrote:
Hi,
It's a Base64 encoding so you should be able to use on Linux any base64
decoder. For example, on Linux (I guess on Mac it must be similar), you
can do
cat your-content.txt | base64 -d
or shorter
base64 -d your-content.txt
I hope this helps,
Sincerely,
On 27/04/2016 08:33, xrichard wrote:
Hi,
I'm trying to retrieve attachments stored in a XAR export file.
According to documentation (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/XAR+Module+Specificati…)
XML node <attachment> contains everything I need to get files content but
how is encoded and how to decode the node <content> ?
Thanks for your answers, best regards,
--
View this message in context:
http://xwiki.475771.n2.nabble.com/What-is-the-format-of-attachments-in-XAR-…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Jean Simard
jean.simard(a)xwiki.com
Research engineer at XWiki SAS
http://www.xwiki.com
Committer on the
XWiki.org project
http://www.xwiki.org
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users