<?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 Preview Mimetypes as Plain Text in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/preview-mimetypes-as-plain-text/m-p/302896#M256026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there an easy way to configure Alfresco's transformation service to treat a mimetype (e.g., "application/json") like a "text/plain" file when rendering a preview or thumbnail? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done a bit of digging and I have a sneaking suspicion this is trickier than I think… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any pointers or references would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jul 2013 05:43:50 GMT</pubDate>
    <dc:creator>cpaul</dc:creator>
    <dc:date>2013-07-26T05:43:50Z</dc:date>
    <item>
      <title>Preview Mimetypes as Plain Text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-mimetypes-as-plain-text/m-p/302896#M256026</link>
      <description>Is there an easy way to configure Alfresco's transformation service to treat a mimetype (e.g., "application/json") like a "text/plain" file when rendering a preview or thumbnail? I've done a bit of digging and I have a sneaking suspicion this is trickier than I think… Any pointers or references woul</description>
      <pubDate>Fri, 26 Jul 2013 05:43:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-mimetypes-as-plain-text/m-p/302896#M256026</guid>
      <dc:creator>cpaul</dc:creator>
      <dc:date>2013-07-26T05:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Preview Mimetypes as Plain Text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/preview-mimetypes-as-plain-text/m-p/302897#M256027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco renders and thumbnails documents based on configuration files so you configure it to "do something" if the mimetype is application/json which can be the same thing as it would do if it were plain text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best example of how all this works is video file thumbnailing which is usually included in your distribution as video-thumbnail-context.xml.sample. If you look in this file you will see it checks for an inbound mimetype and if it matches uses ffmpeg to produce a jpeg thumbnail. You just need a similar context to handle application/json (that one might actually exist) and any other mimetypes you are interested in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also the Media Viewers add-on which was for older releases but it will show how to configure web previews by mimetype.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob Johnson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:51:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/preview-mimetypes-as-plain-text/m-p/302897#M256027</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-07-26T08:51:19Z</dc:date>
    </item>
  </channel>
</rss>

