Changes

Jump to navigation Jump to search
97 bytes removed ,  06:46, 29 November 2019
let $path := 'audio/'
let $files := file:list($path, true(), '*.mp3')
let $zip := archive:create( $files ! element archive:entry { . }, for $file in $files ! return file:read-binary($path || .$file))
return file:write-binary('mp3.zip', $zip)</pre>
|}
==archive:create-from==
 
{{Mark|Updated with Version 9.2}}: options added.
{| width='100%'
|-
|{{Code|encode}}
|The specified encoding is invalid or not supported, or the string conversion failed. Invalid XML characters will be ignored if the <code>[[Options#CHECKSTRINGS{{Option|CHECKSTRINGS]]</code> option }} is turned off.
|-
|{{Code|error}}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu