I recently worked on a project to create a custom content folio renderer in WebCenter Content. It needed to output the native files in the folio along with a manifest file in HTML format which would list the contents of the folio along with any designated metadata and a relative link to the file within the download. This way a person could hand someone the folio download and it would be a self-contained package with all of the content and a single file to display the information on the contents.
The default Zip rendition of the folio will output the web-viewable version of the file with an HDA formatted file for each one. And unless you are fluent in HDA or have a tool to read them, they are difficult to consume.
I thought this might be useful for others, so I'm posting a copy of the component here. Beyond the standard instructions for installing a component, there is an environment configuration file (folionativezipwithmanifestrenderer_environment.cfg) which has a couple of options.
FolioMetadataManifestList - This is a comma separated list of metadata fields (system or custom) that should be included in the manifest file.
FolioMetadataManifestUseOriginalFilename - (True or False) If set to True, the filenames in the zip file will be based on the original filename as it was checked into WebCenter Content. If False, it will use the 'Name' of the item as defined within the Folio. This is usually the Title of the item.
The component also includes the source code, so feel free to use this as a reference for creating other interesting folios.