<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create a transformer on share ZIP to PDF in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57007#M20558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would you want to ZIP a single PDF file? If the sole reason is to optimise your content store disk usage, then that is the wrong way of doing it.&amp;nbsp;Ideally, you would use transparent compression either on the filesystem level or by using a &lt;A href="https://github.com/Acosix/alfresco-simple-content-stores/wiki/Compressing-Store" rel="nofollow noopener noreferrer"&gt;compressing content store&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to the transformer: keep in mind that you also&amp;nbsp;may need to configure the priority of your transformer to take precedence over the default ZIP transformer. By using the priority 100 you are simply using the default priority. Additionally, you may need to setup a composite / pipeline transformer for ZIP to PNG, since there is likely not going to be an existing one that works with PDF as an intermediary format (only text, which the default ZIP transformer provides).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2018 09:23:52 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-03-05T09:23:52Z</dc:date>
    <item>
      <title>Create a transformer on share ZIP to PDF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57006#M20557</link>
      <description>Hi , i have zipped a single pdf file and convert them to zip file e.g. test.pdf to test.zip a container of the original file.What i want it's to extract the single pdf in the zip and send to share like a normal pdf on runtime while using share, so i can use the standard preview e standard thumbnail</description>
      <pubDate>Mon, 05 Mar 2018 08:38:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57006#M20557</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2018-03-05T08:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a transformer on share ZIP to PDF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57007#M20558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would you want to ZIP a single PDF file? If the sole reason is to optimise your content store disk usage, then that is the wrong way of doing it.&amp;nbsp;Ideally, you would use transparent compression either on the filesystem level or by using a &lt;A href="https://github.com/Acosix/alfresco-simple-content-stores/wiki/Compressing-Store" rel="nofollow noopener noreferrer"&gt;compressing content store&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to the transformer: keep in mind that you also&amp;nbsp;may need to configure the priority of your transformer to take precedence over the default ZIP transformer. By using the priority 100 you are simply using the default priority. Additionally, you may need to setup a composite / pipeline transformer for ZIP to PNG, since there is likely not going to be an existing one that works with PDF as an intermediary format (only text, which the default ZIP transformer provides).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 09:23:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57007#M20558</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-03-05T09:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a transformer on share ZIP to PDF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57008#M20559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ty for the response Faust, you are right on all your points , but my use case is particolar , i just use the example with the ZIP and PDF for making simple to explain my problem , in the real case my client has two need:&lt;/P&gt;&lt;P&gt;1) some archive (zip,ecc.) with many file on them (not just one) he want to have a preview of the content or at least a preview of the principal document instead the archive preview.&lt;/P&gt;&lt;P&gt;2) he use alfresco for many things, one of these is stored a bunch of signed document with CADES Signature, so he has many P7M file , the "zzz.p7m" is basicaly a zip file where i can retrieve the original content compressed in that, the client want on share (if you have the right permission but that is a different problem) , to have a preview of the original signed file, so if is a pdf a preview of the pdf, if is a text the preview of text on share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's acceptable even a image preview like the PNG, because these are file are not&amp;nbsp; been modify on the share application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look to the project you link to me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestion for my problem is welcome.&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 09:04:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57008#M20559</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2018-03-06T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create a transformer on share ZIP to PDF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57009#M20560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I for make the transformer i started with this addon:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/keensoft/alfresco-zip-previewer" title="https://github.com/keensoft/alfresco-zip-previewer" rel="nofollow noopener noreferrer"&gt;GitHub - keensoft/alfresco-zip-previewer: Alfresco ZIP and RAR entries preview for Share&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i simply customize the building of the document pdf .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 17:48:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-a-transformer-on-share-zip-to-pdf/m-p/57009#M20560</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2018-09-13T17:48:55Z</dc:date>
    </item>
  </channel>
</rss>

