<?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 Posthtml in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3521#M1512</link>
    <description>Hello SAS programmers.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to do (using ODS) very simple HTML site. I wrote a code like this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/*&lt;BR /&gt;
Data Fakedata;&lt;BR /&gt;
Length fakevar $ 1; &lt;BR /&gt;
Label fakevar = '00'X;&lt;BR /&gt;
Fakevar = ' ';&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
Proc Template;&lt;BR /&gt;
DEFINE STYLE Fish_Style;&lt;BR /&gt;
STYLE Body / backgroundimage ="C:\Temp\Fishing_Club\Files\Tlo_1.gif" watermark=ON;&lt;BR /&gt;
STYLE SysTitleAndFooterContainer / background = _undef_;&lt;BR /&gt;
STYLE Systemtitle / background = _undef_;&lt;BR /&gt;
STYLE SystemFooter FROM TitlesAndFooters "Controls system footer text." / &lt;BR /&gt;
PROTECTSPECIALCHARS = OFF&lt;BR /&gt;
background = _undef_;&lt;BR /&gt;
END;&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ODS HTML BODY="C:\Temp\Fishing_Club\Fish1.html" Style=Fish_Style;&lt;BR /&gt;
&lt;BR /&gt;
TITLE1 " ";&lt;BR /&gt;
TITLE2 COLOR="#FFEB8C" JUSTIFY=CENTER HEIGHT=6 FONT="Castellar" "Fishing Club";&lt;BR /&gt;
&lt;BR /&gt;
FOOTNOTE1 "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;";&lt;BR /&gt;
FOOTNOTE2 JUSTIFY=CENTER '^S={preimage="C:\Temp\Fishing_Club\Files\Linia.GIF"}';&lt;BR /&gt;
&lt;BR /&gt;
Proc Print Data=Fakedata noobs label;&lt;BR /&gt;
Var Fakevar / style(data) = [just=right &lt;BR /&gt;
posthtml =&lt;BR /&gt;
"&lt;BR /&gt;
&lt;A href="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG"&gt;&lt;BR /&gt;
&lt;IMG src="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG" /&gt;&lt;BR /&gt;
height=125 width=100 alt='Boleń ok. 50 cm' &amp;gt; &lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG"&gt;&lt;BR /&gt;
&lt;IMG src="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG" /&gt;&lt;BR /&gt;
height=100 width=125 alt='Boleń ok. 50 cm' &amp;gt; &lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG"&gt;&lt;BR /&gt;
&lt;IMG src="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG" /&gt;&lt;BR /&gt;
height=100 width=125 alt='Boleń ok. 50 cm' &amp;gt; &lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
"]; &lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
ODS HTML CLOSE;&lt;BR /&gt;
*/&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately I have WARNIG:&lt;BR /&gt;
&lt;BR /&gt;
"WARNING: The quoted string currently being processed has become more than 512 characters long.  You may have unbalanced quotation marks" &lt;BR /&gt;
&lt;BR /&gt;
and I don't now what correct this.&lt;BR /&gt;
&lt;BR /&gt;
When I put more photos everything every photos are erased from the site.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Any ideas how to correct this bug ???&lt;BR /&gt;
&lt;BR /&gt;
Regards &amp;amp; thx</description>
    <pubDate>Fri, 22 Jun 2007 13:30:05 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-06-22T13:30:05Z</dc:date>
    <item>
      <title>Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3521#M1512</link>
      <description>Hello SAS programmers.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to do (using ODS) very simple HTML site. I wrote a code like this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/*&lt;BR /&gt;
Data Fakedata;&lt;BR /&gt;
Length fakevar $ 1; &lt;BR /&gt;
Label fakevar = '00'X;&lt;BR /&gt;
Fakevar = ' ';&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
Proc Template;&lt;BR /&gt;
DEFINE STYLE Fish_Style;&lt;BR /&gt;
STYLE Body / backgroundimage ="C:\Temp\Fishing_Club\Files\Tlo_1.gif" watermark=ON;&lt;BR /&gt;
STYLE SysTitleAndFooterContainer / background = _undef_;&lt;BR /&gt;
STYLE Systemtitle / background = _undef_;&lt;BR /&gt;
STYLE SystemFooter FROM TitlesAndFooters "Controls system footer text." / &lt;BR /&gt;
PROTECTSPECIALCHARS = OFF&lt;BR /&gt;
background = _undef_;&lt;BR /&gt;
END;&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ODS HTML BODY="C:\Temp\Fishing_Club\Fish1.html" Style=Fish_Style;&lt;BR /&gt;
&lt;BR /&gt;
TITLE1 " ";&lt;BR /&gt;
TITLE2 COLOR="#FFEB8C" JUSTIFY=CENTER HEIGHT=6 FONT="Castellar" "Fishing Club";&lt;BR /&gt;
&lt;BR /&gt;
FOOTNOTE1 "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;";&lt;BR /&gt;
FOOTNOTE2 JUSTIFY=CENTER '^S={preimage="C:\Temp\Fishing_Club\Files\Linia.GIF"}';&lt;BR /&gt;
&lt;BR /&gt;
Proc Print Data=Fakedata noobs label;&lt;BR /&gt;
Var Fakevar / style(data) = [just=right &lt;BR /&gt;
posthtml =&lt;BR /&gt;
"&lt;BR /&gt;
&lt;A href="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG"&gt;&lt;BR /&gt;
&lt;IMG src="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG" /&gt;&lt;BR /&gt;
height=125 width=100 alt='Boleń ok. 50 cm' &amp;gt; &lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG"&gt;&lt;BR /&gt;
&lt;IMG src="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG" /&gt;&lt;BR /&gt;
height=100 width=125 alt='Boleń ok. 50 cm' &amp;gt; &lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG"&gt;&lt;BR /&gt;
&lt;IMG src="C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG" /&gt;&lt;BR /&gt;
height=100 width=125 alt='Boleń ok. 50 cm' &amp;gt; &lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
"]; &lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
ODS HTML CLOSE;&lt;BR /&gt;
*/&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately I have WARNIG:&lt;BR /&gt;
&lt;BR /&gt;
"WARNING: The quoted string currently being processed has become more than 512 characters long.  You may have unbalanced quotation marks" &lt;BR /&gt;
&lt;BR /&gt;
and I don't now what correct this.&lt;BR /&gt;
&lt;BR /&gt;
When I put more photos everything every photos are erased from the site.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Any ideas how to correct this bug ???&lt;BR /&gt;
&lt;BR /&gt;
Regards &amp;amp; thx</description>
      <pubDate>Fri, 22 Jun 2007 13:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3521#M1512</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-22T13:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3522#M1513</link>
      <description>My Lord,&lt;BR /&gt;
&lt;BR /&gt;
what happend with my post ???? :))))))))))))</description>
      <pubDate>Fri, 22 Jun 2007 13:31:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3522#M1513</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-22T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3523#M1514</link>
      <description>You can post SAS code as preformatted text by enlosing it in "pre" and "\pre" directives.  The directives must be enclosed in square brackets.  I don't know how to show you the syntax, because the forum software naturally wants to interpret it.&lt;BR /&gt;
&lt;BR /&gt;
As an example, here is unpreformatted code:&lt;BR /&gt;
&lt;BR /&gt;
/*-- This is unpreformatted and uses a proportional font. --*/&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=sashelp.class; &lt;BR /&gt;
class sex age;&lt;BR /&gt;
var height;&lt;BR /&gt;
table sex,age*height*(mean median);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Here is the preformatted version:&lt;BR /&gt;
[pre]&lt;BR /&gt;
/*-- This is preformatted and uses a monospace font. --*/&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=sashelp.class;&lt;BR /&gt;
class sex age;&lt;BR /&gt;
var height;&lt;BR /&gt;
  table sex,age*height*(mean median);&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Fri, 22 Jun 2007 14:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3523#M1514</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2007-06-22T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3524#M1515</link>
      <description>This is my problem:&lt;BR /&gt;
&lt;A href="http://www.tek-tips.com/viewthread.cfm?qid=1381638&amp;amp;page=1" target="_blank"&gt;http://www.tek-tips.com/viewthread.cfm?qid=1381638&amp;amp;page=1&lt;/A&gt;</description>
      <pubDate>Mon, 25 Jun 2007 11:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3524#M1515</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-25T11:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3525#M1516</link>
      <description>Those lines are getting rather long.  What are you trying to do?  Put 3 images and links after every data element in the table?&lt;BR /&gt;
&lt;BR /&gt;
If it is really that long, you could put it in the tagset and cause it to be put in based on a simpler style attribute value.</description>
      <pubDate>Mon, 25 Jun 2007 16:45:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3525#M1516</guid>
      <dc:creator>Eric_SAS</dc:creator>
      <dc:date>2007-06-25T16:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3526#M1517</link>
      <description>I want put there 50 small images with links to big size images.&lt;BR /&gt;
Site working correct, but I have still this WARNING about too long quoted string.&lt;BR /&gt;
&lt;BR /&gt;
Can you put any example to your solution ?&lt;BR /&gt;
&lt;BR /&gt;
Thx</description>
      <pubDate>Tue, 26 Jun 2007 07:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3526#M1517</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T07:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3527#M1518</link>
      <description>The NOQUOTELENMAX option will suppress the warning message.</description>
      <pubDate>Tue, 26 Jun 2007 12:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3527#M1518</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2007-06-26T12:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3528#M1519</link>
      <description>I recognise that I am conservative in most things, and that my degree of conservatism sets me apart a little as a sign of both age and culture, but I tend to ask "why" before I ask "how".&lt;BR /&gt;
&lt;BR /&gt;
So although I agree with Tim's answer, and would have offered the same response had he not been in a better time zone to respond, I would have offered it with a caveat.&lt;BR /&gt;
&lt;BR /&gt;
Tim has told you the "how", but my concern is that applying such a setting globally may suppress other instances where you really should know that the string is overly long.  The length limitation is potentially irksome, but I have found it useful on occasions where I have not constructed strings correctly.&lt;BR /&gt;
&lt;BR /&gt;
So I take the view that two options statements are required, one before the step that is known to give a warning which is irrelevant, and one after that step to restore the length check.&lt;BR /&gt;
&lt;BR /&gt;
Kid regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 27 Jun 2007 02:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3528#M1519</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-27T02:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Posthtml</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3529#M1520</link>
      <description>Thanks.</description>
      <pubDate>Wed, 27 Jun 2007 08:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Posthtml/m-p/3529#M1520</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-27T08:30:09Z</dc:date>
    </item>
  </channel>
</rss>

