<?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: Publishing excel and pdf to xythos in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2062#M1609</link>
    <description>Every time you see &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; above, replace it with colon followed by the letter 'p' (: p). &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
Note to forum monitor: the use of square bracket+pre, etc does NOT prevent the colon+p from getting turned into a smiley face. For example, this section is a "pre" section:&lt;BR /&gt;
[pre]&lt;BR /&gt;
colon p &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;BR /&gt;
colon ) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
semicolon ) &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
I thought the 'pre' and '/pre' would prevent these letter/punctuation combos from getting translated to a smiley??</description>
    <pubDate>Sat, 24 Feb 2007 19:26:07 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2007-02-24T19:26:07Z</dc:date>
    <item>
      <title>Publishing excel and pdf to xythos</title>
      <link>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2059#M1606</link>
      <description>All,&lt;BR /&gt;
&lt;BR /&gt;
I have figured out how to publish pdf files to xythos. However, excel files get sent as data sets. Has anyone found a way to have the excel file show up in xythos? We intend to automate everything. Scenario:&lt;BR /&gt;
&lt;BR /&gt;
1) program runs as a job via job scheduler. &lt;BR /&gt;
2) the output could be in 2 formats, excel and/or pdf&lt;BR /&gt;
3) the output should be sent to xythos in its original format (i.e. excel shows up as excel in xythos, not data set)&lt;BR /&gt;
4) when user logs into the portal, the new excel/pdf file should show up for the user (if they are authorized to see it)&lt;BR /&gt;
5) when the job runs the next day or week or month, the output should have a different name so that users can see old data.&lt;BR /&gt;
&lt;BR /&gt;
Has anyone accomplished this? if so, how? I already asked SAS support they said I will need to write custom code to accomplish this. I just wanted to know if folks in other companies are doing this, or what other possible alternatives are available.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.</description>
      <pubDate>Wed, 10 Jan 2007 15:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2059#M1606</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-01-10T15:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing excel and pdf to xythos</title>
      <link>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2060#M1607</link>
      <description>Can you post some simple SAS code that illustrates how you are publishing the files?&lt;BR /&gt;
&lt;BR /&gt;
Vince&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Wed, 31 Jan 2007 16:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2060#M1607</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2007-01-31T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing excel and pdf to xythos</title>
      <link>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2061#M1608</link>
      <description>Here it is:&lt;BR /&gt;
&lt;BR /&gt;
/* ------------------------------------------------&lt;BR /&gt;
	Package:	pdf to xythos&lt;BR /&gt;
	To channel:	test of xythos&lt;BR /&gt;
	SAS Server:	SASMain&lt;BR /&gt;
   ------------------------------------------------&lt;BR /&gt;
*/&lt;BR /&gt;
ODS _ALL_ CLOSE;&lt;BR /&gt;
/* Diagnostic function */&lt;BR /&gt;
%macro chkrc(function);&lt;BR /&gt;
%if &amp;amp;rc = 0 %then %put "NOTE: &amp;amp;function succeeded.";&lt;BR /&gt;
%else %do;&lt;BR /&gt;
	%let msg = %sysfunc(sysmsg());&lt;BR /&gt;
	%put &amp;amp;function failed - &amp;amp;msg;&lt;BR /&gt;
%end;&lt;BR /&gt;
%mend;&lt;BR /&gt;
&lt;BR /&gt;
/* package preamble */&lt;BR /&gt;
%let package_options = ABSTRACT;&lt;BR /&gt;
%let pid = 0;&lt;BR /&gt;
%let rc = 0;&lt;BR /&gt;
%let namevalue= ;&lt;BR /&gt;
%let abstract_text= %nrbquote(Published Automatically on 11/15/06);&lt;BR /&gt;
%let description = %nrbquote(pdf to xythos);&lt;BR /&gt;
%syscall package_begin(pid, description, namevalue, rc, package_options, abstract_text);&lt;BR /&gt;
%chkrc(Package Begin);&lt;BR /&gt;
&lt;BR /&gt;
/* Add the "path\filename" file */&lt;BR /&gt;
%let description = %nrbquote(filedescription);&lt;BR /&gt;
%let namevalue = ;&lt;BR /&gt;
%let body = %nrbquote(filename:path\filename);&lt;BR /&gt;
%let type = BINARY;&lt;BR /&gt;
%let mimetype = %nrbquote(application/pdf);&lt;BR /&gt;
%syscall insert_file(pid, body, type, mimetype, description, namevalue, rc);&lt;BR /&gt;
%chkrc(Insert File);&lt;BR /&gt;
&lt;BR /&gt;
/* Publish the package */&lt;BR /&gt;
%let pubType = TO_SUBSCRIBERS;&lt;BR /&gt;
%let pub_properties = CHANNEL_STORE, PARENT_URL, METAUSER, METAPASS;&lt;BR /&gt;
%let channelURI = %nrbquote(SAS-OMA://server:port/reposname=reponame);&lt;BR /&gt;
%let channel = %nrbquote(test of xythos);&lt;BR /&gt;
%let url = ;&lt;BR /&gt;
%let muser = %nrbquote(domain\id);&lt;BR /&gt;
%let mpass = %nrbquote(password);&lt;BR /&gt;
%syscall package_publish(pid, pubType, rc, pub_properties, channelURI, url, muser, mpass, channel);&lt;BR /&gt;
%chkrc(package publish);</description>
      <pubDate>Fri, 23 Feb 2007 21:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2061#M1608</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-23T21:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing excel and pdf to xythos</title>
      <link>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2062#M1609</link>
      <description>Every time you see &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; above, replace it with colon followed by the letter 'p' (: p). &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
Note to forum monitor: the use of square bracket+pre, etc does NOT prevent the colon+p from getting turned into a smiley face. For example, this section is a "pre" section:&lt;BR /&gt;
[pre]&lt;BR /&gt;
colon p &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;BR /&gt;
colon ) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
semicolon ) &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
I thought the 'pre' and '/pre' would prevent these letter/punctuation combos from getting translated to a smiley??</description>
      <pubDate>Sat, 24 Feb 2007 19:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Publishing-excel-and-pdf-to-xythos/m-p/2062#M1609</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-02-24T19:26:07Z</dc:date>
    </item>
  </channel>
</rss>

