<?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 Serving binary content with webscripts in Alfresco 2.2 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224257#M177387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using alfresco as web content management system. Content editors create HTML content in alfresco. But we are not using alfresco to serve the web content to the user. We have a J2EE app in front of alfresco which forwards user requests&amp;nbsp; to alfresco to get the content using REST API (implemeted using webscripts in Alfresco) and then serve it to the user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are facing issues with binary content like images. HTML content in alfresco has relative paths for images. Because browser requests are served by a J2EE app and not by alfresco, we need package all the images from alfresco in WAR file. Is there any way to get binary content from alfresco? We see support for content streaming in alfresco version 3.0 onwards. Is there a way it can be achieved in version 2.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are thinking of having a servlet to handle all the image requests from browser. Then fetch the image from alfresco ( by using something like content streaming web script in alfresco), and serve it to the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have anyone used alfresco in this way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unmesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2009 08:57:03 GMT</pubDate>
    <dc:creator>unmeshjoshi</dc:creator>
    <dc:date>2009-06-02T08:57:03Z</dc:date>
    <item>
      <title>Serving binary content with webscripts in Alfresco 2.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224257#M177387</link>
      <description>Hi,We are using alfresco as web content management system. Content editors create HTML content in alfresco. But we are not using alfresco to serve the web content to the user. We have a J2EE app in front of alfresco which forwards user requests&amp;nbsp; to alfresco to get the content using REST API (impleme</description>
      <pubDate>Tue, 02 Jun 2009 08:57:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224257#M177387</guid>
      <dc:creator>unmeshjoshi</dc:creator>
      <dc:date>2009-06-02T08:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Serving binary content with webscripts in Alfresco 2.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224258#M177388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or another approach is to use WCM to deploy the images onto your web server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 08:59:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224258#M177388</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-06-02T08:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Serving binary content with webscripts in Alfresco 2.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224259#M177389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Or another approach is to use WCM to deploy the images onto your web server.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;So do you think our approach of fetching images from alfresco is feasible? How to achieve this with alfresco 2.2, which doesnt have content streaming web scripts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can I find documentation about configuring WCM to deploy images to web server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unmesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 09:04:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224259#M177389</guid>
      <dc:creator>unmeshjoshi</dc:creator>
      <dc:date>2009-06-02T09:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Serving binary content with webscripts in Alfresco 2.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224260#M177390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Unmesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The approach Roger is describing here is to manage the images in the folder and deploy to web server using FSR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/FSR" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/FSR&lt;/A&gt;&lt;SPAN&gt; - this might help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont think there is any direct approach. Other way to do that is embed the url within xml tag, call the webscript that would return you xml file. You might use Jaxb for XML to Java Object transformation and use the links within your image tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This would require all your images have proper mapping (Associations) in the web forms for different pages.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 14:45:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224260#M177390</guid>
      <dc:creator>kmehta31</dc:creator>
      <dc:date>2009-06-23T14:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Serving binary content with webscripts in Alfresco 2.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224261#M177391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can stream content out of earlier versions of Alfresco.&amp;nbsp;&amp;nbsp;&amp;nbsp; Admittedly you can't use CMIS, but there's several streaming interfaces that have been there for a long time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However for static content like images where you don't need any of the alfresco functionaility like access control or full text searching you are paying an overhead for little benefit.&amp;nbsp;&amp;nbsp; That's why I suggested deploying your images out of Alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 20:43:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/serving-binary-content-with-webscripts-in-alfresco-2-2/m-p/224261#M177391</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-06-23T20:43:54Z</dc:date>
    </item>
  </channel>
</rss>

