<?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>question Re: how do you specify a content viewer in Apache NiFi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168012#M45522</link>
    <description>&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-353" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-353&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp" target="_blank"&gt;https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/webapp/META-INF/nifi-content-viewer" target="_blank"&gt;https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/webapp/META-INF/nifi-content-viewer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;--- seems you could add some more there.&lt;/P&gt;&lt;P&gt;You can UpdateAttribute and set mime.type to a viewable type&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2016 11:11:06 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2016-11-08T11:11:06Z</dc:date>
    <item>
      <title>how do you specify a content viewer in Apache NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168010#M45520</link>
      <description>&lt;P&gt;The analyze traffic patterns with NiFi tutorial creates files with content type html/xml.  When I click on the EvaluateXPath processor and select Data Provenance.  Then click on info icon of a provenance entry.  Then click on the Content tab and click the View button.  The content type is text/html and the view pane says "No viewer registered for this content type."  &lt;/P&gt;&lt;P&gt;How can I register a viewer for html/xml or specify a different content type such as text/xml or application/xml?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 09:36:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168010#M45520</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-11-08T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: how do you specify a content viewer in Apache NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168011#M45521</link>
      <description>&lt;P&gt;The easiest "hack" is to give it a filename ending in .xml  it could be update attribute Filename | ${Filename}.xml&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 10:27:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168011#M45521</guid>
      <dc:creator>cgambino</dc:creator>
      <dc:date>2016-11-08T10:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: how do you specify a content viewer in Apache NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168012#M45522</link>
      <description>&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-353" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-353&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp" target="_blank"&gt;https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/webapp/META-INF/nifi-content-viewer" target="_blank"&gt;https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/webapp/META-INF/nifi-content-viewer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;--- seems you could add some more there.&lt;/P&gt;&lt;P&gt;You can UpdateAttribute and set mime.type to a viewable type&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 11:11:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168012#M45522</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-11-08T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: how do you specify a content viewer in Apache NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168013#M45523</link>
      <description>&lt;P&gt;As was previously mentioned, the content type is specified in the flowfile attribute mime.type. Some Processors will automatically set this value. However, UpdateAttribute can be used to explicitly set it.&lt;/P&gt;&lt;P&gt;There is no content viewer for HTML bundled with Apache NiFi currently. This is an extension point so one could be developed and dropped into your instance. Alternatively, you could just use application/xml or text/plain. &lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:14:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168013#M45523</guid>
      <dc:creator>mgilman</dc:creator>
      <dc:date>2016-11-09T21:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: how do you specify a content viewer in Apache NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168014#M45524</link>
      <description>&lt;P&gt;I added an UpdateAttribute processor and set the mime.type Property to application/xml.  The viewer was not able to render text/xml:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9273-screen-shot-2016-11-09-at-82310-am.png" style="width: 516px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20251i536501BFA6937909/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9273-screen-shot-2016-11-09-at-82310-am.png" alt="9273-screen-shot-2016-11-09-at-82310-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9272-screen-shot-2016-11-09-at-82158-am.png" style="width: 1172px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20252i08E2EC9C65BB0C78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9272-screen-shot-2016-11-09-at-82158-am.png" alt="9272-screen-shot-2016-11-09-at-82158-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:03:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168014#M45524</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2019-08-18T11:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: how do you specify a content viewer in Apache NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168015#M45525</link>
      <description>&lt;P&gt;Was the HTML content actually valid XML?&lt;/P&gt;&lt;P&gt;Did the content viewer open? If so, is the content viewer unable to show the content in it's 'formatted' form? What about the 'original' or 'hex' forms? &lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 04:58:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-do-you-specify-a-content-viewer-in-Apache-NiFi/m-p/168015#M45525</guid>
      <dc:creator>mgilman</dc:creator>
      <dc:date>2016-11-10T04:58:38Z</dc:date>
    </item>
  </channel>
</rss>

