<?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: Proceedings are online in SAS Global Forum 2018</title>
    <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452164#M289</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;, that request is simple enough...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename foo url "https://www.sas.com/content/sascom/en_us/events/sas-global-forum/program/proceedings/jcr:content/par/styledcontainer_1306083555/par/tabwrapper/tabwrapperpar/tab/tabpar/styledcontainer/par/listgrouppdf.ajaxlist.html";

%macro getPaper(url);
%local big small;
%let big=%scan(&amp;amp;url,-1,/);
%let small=%scan(&amp;amp;big,1,-);
filename _&amp;amp;small "%sysfunc(pathname(work,l))\&amp;amp;big";
proc http url="&amp;amp;url" method='get' out=_&amp;amp;small;
run;
ods package(pckg) add file=_&amp;amp;small;
%mend;

*filename pckg "%sysfunc(pathname(work,l))\sgf2018.zip";
ods package(pckg) open nopf;

data _null_;
length pdf $1024.;
infile foo dsd dlm=' ';
input @'&amp;lt;a href=' pdf :;
if substr(pdf,max(lengthn(pdf)-2,1))='pdf';
call execute('%nrstr(' || '%getPaper(' || trim(pdf) || ')' || ')');
run;

ods package(pckg) publish archive
  properties(
    archive_name='sgf2018.zip'
	archive_path="%sysfunc(pathname(work,l))"
  );
ods package(pckg) close;
filename _all_ clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case anyone was wondering... by uncompressed file size, the biggest paper is:&lt;/P&gt;
&lt;P&gt;E-Poster 2876&lt;/P&gt;
&lt;P&gt;Predictive Modeling of the Journey from H-1B to Permanent US Work Visa by Shibbir Khan, Clark University, Graduate School of Management, Worcester, MA, USA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the smaller is:&lt;/P&gt;
&lt;P&gt;Breakout 1778&lt;/P&gt;
&lt;P&gt;A Macro for Ensuring Data Integrity When Converting SAS&lt;SPAN&gt;® Data Sets by Richard D. Langston, SAS Institute Inc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and the highest compression ratio&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;E-Poster 1664&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Weather Data Cleansing for Electrical Load Forecasting by Aubrey Condor, University of Central Florida&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and the largest compressed file size&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Breakout 2910&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Getting Started with Survival Analysis Course Notes by Marc Huber, SAS Institute, Inc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The resulting zip file is is about 311Mb and contains 427 pdfs&lt;/P&gt;</description>
    <pubDate>Sat, 07 Apr 2018 04:36:59 GMT</pubDate>
    <dc:creator>FriedEgg</dc:creator>
    <dc:date>2018-04-07T04:36:59Z</dc:date>
    <item>
      <title>Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/451877#M238</link>
      <description>&lt;P&gt;Now available! You can sort in a number of ways. For those heading to Denver this weekend, safe travels!&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/en_us/events/sas-global-forum/program/proceedings.html" target="_blank"&gt;https://www.sas.com/en_us/events/sas-global-forum/program/proceedings.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 13:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/451877#M238</guid>
      <dc:creator>kelly80</dc:creator>
      <dc:date>2018-04-06T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452035#M277</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;great news, thank you! I wonder, is there a link available to download them all in a single zip fils, as in past years? Perhaps it is there, but I could not find it.&lt;BR /&gt;&lt;BR /&gt;Will they be available in the mobile app?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;BR /&gt;Juan&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452035#M277</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-04-06T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452152#M288</link>
      <description>&lt;P&gt;I don't see a link to download a zip file either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hmmm, perhaps some kind SAS programmer will be kind enough to post a little data step that will crawl through the web page and download all the linked pdf files, then zip them.&amp;nbsp; Then present it as a late-breaking coders corner fill-in. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Q.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 02:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452152#M288</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2018-04-07T02:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452164#M289</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;, that request is simple enough...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename foo url "https://www.sas.com/content/sascom/en_us/events/sas-global-forum/program/proceedings/jcr:content/par/styledcontainer_1306083555/par/tabwrapper/tabwrapperpar/tab/tabpar/styledcontainer/par/listgrouppdf.ajaxlist.html";

%macro getPaper(url);
%local big small;
%let big=%scan(&amp;amp;url,-1,/);
%let small=%scan(&amp;amp;big,1,-);
filename _&amp;amp;small "%sysfunc(pathname(work,l))\&amp;amp;big";
proc http url="&amp;amp;url" method='get' out=_&amp;amp;small;
run;
ods package(pckg) add file=_&amp;amp;small;
%mend;

*filename pckg "%sysfunc(pathname(work,l))\sgf2018.zip";
ods package(pckg) open nopf;

data _null_;
length pdf $1024.;
infile foo dsd dlm=' ';
input @'&amp;lt;a href=' pdf :;
if substr(pdf,max(lengthn(pdf)-2,1))='pdf';
call execute('%nrstr(' || '%getPaper(' || trim(pdf) || ')' || ')');
run;

ods package(pckg) publish archive
  properties(
    archive_name='sgf2018.zip'
	archive_path="%sysfunc(pathname(work,l))"
  );
ods package(pckg) close;
filename _all_ clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case anyone was wondering... by uncompressed file size, the biggest paper is:&lt;/P&gt;
&lt;P&gt;E-Poster 2876&lt;/P&gt;
&lt;P&gt;Predictive Modeling of the Journey from H-1B to Permanent US Work Visa by Shibbir Khan, Clark University, Graduate School of Management, Worcester, MA, USA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the smaller is:&lt;/P&gt;
&lt;P&gt;Breakout 1778&lt;/P&gt;
&lt;P&gt;A Macro for Ensuring Data Integrity When Converting SAS&lt;SPAN&gt;® Data Sets by Richard D. Langston, SAS Institute Inc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and the highest compression ratio&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;E-Poster 1664&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Weather Data Cleansing for Electrical Load Forecasting by Aubrey Condor, University of Central Florida&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and the largest compressed file size&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Breakout 2910&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Getting Started with Survival Analysis Course Notes by Marc Huber, SAS Institute, Inc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The resulting zip file is is about 311Mb and contains 427 pdfs&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 04:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452164#M289</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2018-04-07T04:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452177#M290</link>
      <description>&lt;P&gt;Thanks much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19924"&gt;@FriedEgg&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simple enough for you, I suppose.&amp;nbsp; I had thought about taking the time to re-read some of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;'s blog posts on SAS web scrapers and give it a try myself, but even if I had started last night I probably wouldn't have managed to get it working before my flight tomorrow. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope to catch up with you in Denver.&lt;/P&gt;
&lt;P&gt;-Q.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 10:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452177#M290</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2018-04-07T10:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452293#M294</link>
      <description>&lt;P&gt;This is great, thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 05:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/452293#M294</guid>
      <dc:creator>maceymc</dc:creator>
      <dc:date>2018-04-08T05:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proceedings are online</title>
      <link>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/458138#M313</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Sorry for the delay in posting this.&amp;nbsp; A "download all papers" link has been added to the proceedings page:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="https://www.sas.com/en_us/events/sas-global-forum/program/proceedings.html" target="_blank"&gt;https://www.sas.com/en_us/events/sas-global-forum/program/proceedings.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Global-Forum-2018/Proceedings-are-online/m-p/458138#M313</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2018-04-27T14:08:12Z</dc:date>
    </item>
  </channel>
</rss>

