I was just wondring if it is possible in any way to have Umbraco zip content from say 5 content pickers into 1 zip file ? It could be 5 PDF´s choosen by an editor and then published. The user of the web page would get a link to a zip file containing the 5 PDF´s.
Creating zip file from content - possible ?
I was just wondring if it is possible in any way to have Umbraco zip content from say 5 content pickers into 1 zip file ? It could be 5 PDF´s choosen by an editor and then published. The user of the web page would get a link to a zip file containing the 5 PDF´s.
How can this be done ?
Brian,
You will need to create your own datatype to do this and make use of a .net zip library to compress. Take a look at source of umbraco extensions zipupload project it is old but you can see usage of zip library to unzip http://umbracoext.codeplex.com/SourceControl/changeset/view/53797#58550 for the opensource .net lib used see http://www.icsharpcode.net/opensource/sharpziplib/
Regards
Ismail
Thanks for a quick reply Ismail.
This seems to be do-able even for a guy with my skills of coding.
Brian,
I reckon it would make a good addition to uComponents project http://ucomponents.codeplex.com/ get yourself some karma ;-}
Regards
Ismail
is working on a reply...