Documentation and Integration Center

<v:zip>

Builds a ZIP file containing files stored in Verb.

Unless the direct attribute is set, it outputs an HTML link (a tag) that will initiate a download of the ZIP file when clicked on by the user.

Everything between the opening and closing tag that is not in another Verb tag is used as the body of the link.

Put <v:file> tags inside this tag to include files in the ZIP. Any other interior Verb tags will not be rendered.

Required Attributes

None.

Optional Attributes

  • filename - If set, this will be the filename of the generated ZIP file. Default is Archive.

  • direct - if set to true, the ZIP file download will start when this page is loaded (and nothing else on the page will be rendered).

Sample Usage

<v:zip filename="Your MP3 Downloads">
 Click to download a ZIP of all MP3s
 <v:collection path="mp3s">
  <v:file path="mp3" filename="<v=name>" />
 </v:collection>
</v:zip>
Cancel

Post Comment to this Page:

If you have a question, comment, or interesting example to share, you can post directly to this page. If you ask a question and provide your E-Mail address, a Verb representative will follow-up with you to answer all of your questions.
Your Name (required):
E-Mail Address (optional, not public):
What is 11 + 4 (so we know you're human):
Comment:
All markup will be displayed exactly as shown here (we do not process HTML tags in your comment).

Note: While we don't actively moderate comments, anything inappropriate or unreleated to the current page will be removed. We'd rather spend our time making Verb better, so please make this easy on us. Thanks. :)