04-19-2012 07:54 PM
The SGF on-line agenda builder, this year, doesn't have a button to push that will allow one to transfer their personal schedule to their Outlook, Google, or phone calendar. Surely it can't be too difficult a program to write. Anyone up to the challenge? (p.s. you only have until tomorrow if anyone is going to be able to use it!)
04-20-2012 12:33 AM
Hmmm -- did you allow the app to sync??? I just went into the app and clicked sessions and can see the sessions by non-SAS authors. So my version of the app seems to have more than just SAS authors.
04-20-2012 08:13 AM
Apparently an update was issued that corrected the situation. However, I still would have liked code for downloading to Outlook and/or Google calendar. That always used to be included as part of the agenda builder's capabilities.
04-20-2012 04:26 PM
It's a bit late, and I don't have time to put it all together, but I found a 2009 paper by Clarke Thacher that does exactly what I had in mind: http://support.sas.com/resources/papers/proceedings09/086-2009.pdf
04-20-2012 05:30 PM
I just saw this. Would have been fun to work on... The iPhone app was indeed updated and now has all the papers and can send you calender items, it is very nice.
04-20-2012 06:41 PM
Hey, if you can get it ready on time, I'd be quite happy test test it, run it, and load the results on my quite non-iphone. Too late for a paper this year, but 2013 isn't that far away
04-20-2012 07:07 PM
barely tested, I do not expect it to be fully functional.
filename sgf url 'http://sgf2012.confnav.com/sgf2012/web/sessions/date/view.html';
if _n_=1 then day='21APR2012'd;
infile sgf lrecl=32767 truncover firstobs=62 obs=582;
_infile_=tranwrd(left(prxchange('s/<[^>]+>|\x26nbsp;/ /o',-1,_infile_)),'®',' ');
format start_time end_time time.;
array author[3:9] $ 256 author1-author7;
do _n_=3 to countw(_infile_,'09'x)-1;
if author[_n_]='Gaylord Palms Resort,' then call missing(author[_n_]);
if lag(end_time)-start_time>13000 then day+1;
filename ics '/path/to/write.ics';
* file ics;
put 'BEGIN:VCALENDAR' /
'DTSTART:' start_dt B8601DZ20. /
'DTEND:' end_dt B8601DZ20. /
'LOCATION:' room /
'DESCRIPTION:' title /
'Start Time:' start_dt mdyampm17. /
'End Time:' end_dt mdyampm17. /