<?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: REPLAY javascript/stylesheets files in Developers</title>
    <link>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39508#M2746</link>
    <description>Could you give me an example code? Hard to understand what you said in plain words.</description>
    <pubDate>Thu, 25 Nov 2010 21:49:31 GMT</pubDate>
    <dc:creator>aha123</dc:creator>
    <dc:date>2010-11-25T21:49:31Z</dc:date>
    <item>
      <title>REPLAY javascript/stylesheets files</title>
      <link>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39506#M2744</link>
      <description>You can use the REPLAY stored process to replay entries other than embedded images, such as CSS stylesheets, JavaScript... from &lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/embedgrf.html" target="_blank"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/embedgrf.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Could anyone tell me how to actually code REPLAY in stored process program for including .css/.js files in the output html stream? Where should I place .css/.js files in the Stored Process Server?</description>
      <pubDate>Thu, 25 Nov 2010 08:58:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39506#M2744</guid>
      <dc:creator>aha123</dc:creator>
      <dc:date>2010-11-25T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: REPLAY javascript/stylesheets files</title>
      <link>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39507#M2745</link>
      <description>Do you actually need to?  Generally you can store .css and .js files in the head using ods headtext (I think there is a stylesheet option for 9.2 as well).  Alternatively, store it in a template via proc template.  From what I can see in the documentation, using _replay creates multiple calls to the stored process server within a stored process (correct me if I am wrong).  The browser is very good at caching stylesheets and javascripts in an optimal way (especially chrome and firefox).  I think using template or headtext would result in more efficient browser processing.&lt;BR /&gt;
&lt;BR /&gt;
If you do want to use it, it looks like you would have to parse the css or js file via a sas stored process and include the full stored process url in your head section of the stored process output anyway.</description>
      <pubDate>Thu, 25 Nov 2010 11:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39507#M2745</guid>
      <dc:creator>CameronLawson</dc:creator>
      <dc:date>2010-11-25T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: REPLAY javascript/stylesheets files</title>
      <link>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39508#M2746</link>
      <description>Could you give me an example code? Hard to understand what you said in plain words.</description>
      <pubDate>Thu, 25 Nov 2010 21:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/REPLAY-javascript-stylesheets-files/m-p/39508#M2746</guid>
      <dc:creator>aha123</dc:creator>
      <dc:date>2010-11-25T21:49:31Z</dc:date>
    </item>
  </channel>
</rss>

