Changeset 1716

Show
Ignore:
Timestamp:
01/25/08 17:26:13
Author:
johnsa
Message:

user clients:

- RSS feeds now use listEvent action to return discrete

events for an arbitrary number of days (3 in the
default stylesheets); rss.xsl is deprecated in favor
of rss-list.xsl

- RSS switched to UTC
- updated the mobile web skin to be more usable and added

it to the list of example skins

- some general cleanup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/default.xsl

    r1398 r1716  
    99    omit-xml-declaration="yes"/> 
    1010 
    11   <!-- ================ --> 
    12   <!--  PDA STYLESHEET --> 
    13   <!-- ================  --> 
    14    <!-- URL of resources common to all bedework apps (javascript, images) --> 
    15   <xsl:variable name="resourceCommons">http://www.rpi.edu/dept/cct/apps/rpi-bedework-3-3/bedework-common</xsl:variable> 
     11  <!-- =============================================== 
     12             BEDEWORK MOBILE STYLESHEET 
     13 
     14        Renders Bedework public client for mobile 
     15        devices.  Call this stylesheet using: 
     16 
     17        http://localhost:8080/cal/setup.do?browserTypeSticky=PDA 
     18        to revert to the default browserType, use 
     19        http://localhost:8080/cal/setup.do?browserTypeSticky=default 
     20 
     21       ==============================================  --> 
     22 
     23  <!-- URL of resources common to all bedework apps (javascript, images) --> 
     24  <xsl:variable name="resourceCommons">../../../bedework-common</xsl:variable> 
    1625 
    1726  <!-- DEFINE INCLUDES --> 
     
    6675  <!-- MAIN TEMPLATE --> 
    6776  <xsl:template match="/"> 
    68     <html lang="en"> 
     77    <html xml:lang="en"> 
    6978      <head> 
    70         <title>RPI Calendar of Events</title> 
     79        <title>Bedework Events Calendar</title> 
    7180        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
     81        <meta http-equiv="Pragma" content="no-cache"/> 
     82        <meta http-equiv="Expires" content="-1"/> 
    7283        <link rel="stylesheet" href="{$resourcesRoot}/default/PDA/pda.css"/> 
    7384      </head> 
    7485      <body> 
     86        <h1 id="homeTitle"> 
     87          Home Title Here 
     88          <span id="homeLink"> 
     89            [<a href="{$setup}&amp;browserTypeSticky=default">home</a>] 
     90          </span> 
     91        </h1> 
    7592        <div id="titleBar"> 
    76           Rensselaer Events Calendar 
    77             <span id="homeLink"> 
    78               [<a href="http://www.rpi.edu/pda/index.html">rpi-pda</a>] 
    79             </span> 
     93          Bedework Events Calendar 
    8094        </div> 
    8195        <xsl:call-template name="infoAndNavigation"/> 
     
    97111        <!-- footer --> 
    98112        <p id="footer"> 
    99           <br/><br/><!-- why, you ask? ...blackberry --> 
    100113          <a href="{$setup}&amp;browserTypeSticky=PDA">Events Calendar</a> | 
    101           <a href="http://www.rpi.edu/pda">Portable Rensselaer</a><br/> 
    102           <small>Maintained by C&amp;MT, DotCIO, Rensselaer Polytechnic Institute</small> 
     114          <a href="{$setup}&amp;browserTypeSticky=default">Home Link</a><br/> 
     115          <small>Footer Text</small> 
    103116        </p> 
    104117      </body> 
     
    109122  <xsl:template name="infoAndNavigation"> 
    110123    <div id="dateInfo"> 
    111       <xsl:if test="/bedework/page!='calendars' and /bedework/page!='event'"> 
     124      <xsl:if test="/bedework/page!='calendarList' and /bedework/page!='event'"> 
    112125        &lt;<a href="{$setViewPeriod}&amp;date={$prevdate}">prev</a> 
    113126        <xsl:text> </xsl:text> 
     
    173186        <xsl:when test="/bedework/selectionState/selectionType = 'calendar'"> 
    174187          Calendar: <xsl:value-of select="/bedework/selectionState/subscriptions/subscription/calendar/name"/> 
    175           <span class="link">[<a href="{$setSelection}">default view</a>]</span> 
     188          <span class="link">[<a href="{$setSelection}">show all</a>]</span> 
    176189        </xsl:when> 
    177         <xsl:when test="/bedework/selectionState/selectionType = 'search'"> 
    178           Current search: <xsl:value-of select="/bedework/search"/> 
    179           <span class="link">[<a href="{$setSelection}">default view</a>]</span> 
    180         </xsl:when> 
    181         <xsl:when test="/bedework/selectionState/selectionType = 'subscription'"> 
    182           Subscription: (not implemented yet) 
    183           <span class="link">[<a href="{$setSelection}">default view</a>]</span> 
    184         </xsl:when> 
    185         <xsl:when test="/bedework/selectionState/selectionType = 'filter'"> 
    186           Filter: (not implemented yet) 
    187           <span class="link">[<a href="{$setSelection}">default view</a>]</span> 
    188         </xsl:when> 
    189         <xsl:otherwise><!-- view --> 
    190           <!--<form name="selectViewForm" method="post" action="{$setSelection}"> 
    191             View: 
    192             <select name="viewName" onChange="submit()" > 
    193               <xsl:for-each select="/bedework/views/view"> 
    194                 <xsl:variable name="name" select="name"/> 
    195                 <xsl:choose> 
    196                   <xsl:when test="name=/bedework/selectionState/view/name"> 
    197                     <option value="{$name}" selected="selected"><xsl:value-of select="name"/></option> 
    198                   </xsl:when> 
    199                   <xsl:otherwise> 
    200                     <option value="{$name}"><xsl:value-of select="name"/></option> 
    201                   </xsl:otherwise> 
    202                 </xsl:choose> 
    203               </xsl:for-each> 
    204             </select> 
    205           </form>--> 
    206           <span class="calLinks"><a href="{$fetchPublicCalendars}">available calendars</a></span> 
     190        <xsl:otherwise> 
     191          <xsl:if test="/bedework/page != 'calendarList'"> 
     192            <span class="calLinks"><a href="{$fetchPublicCalendars}">available calendars</a></span> 
     193          </xsl:if> 
    207194        </xsl:otherwise> 
    208195      </xsl:choose> 
    209     </div><br/><br/> 
     196    </div> 
    210197  </xsl:template> 
    211198 
     
    493480        <xsl:for-each select="/bedework/eventscalendar/year/month/week/day[count(event)!=0]"> 
    494481          <xsl:if test="/bedework/periodname='Week' or /bedework/periodname='Month' or /bedework/periodname=''"> 
    495             <br/><br/><!-- why? css isn't stong on blackberry --> 
    496482            <h3> 
    497483              <xsl:variable name="date" select="date"/> 
     
    501487            </h3> 
    502488          </xsl:if> 
    503           <xsl:for-each select="event"> 
    504             <xsl:variable name="id" select="id"/
    505             <xsl:variable name="subscriptionId" select="subscription/id"/> 
    506             <xsl:variable name="calPath" select="calendar/encodedPath"/> 
    507             <xsl:variable name="guid" select="guid"/> 
    508             <xsl:variable name="recurrenceId" select="recurrenceId"/> 
    509             <dl
    510               <dt
     489          <table class="eventList" border="0" cellpadding="0" cellspacing="0"> 
     490            <xsl:for-each select="event"
     491              <xsl:variable name="id" select="id"/> 
     492              <xsl:variable name="subscriptionId" select="subscription/id"/> 
     493              <xsl:variable name="calPath" select="calendar/encodedPath"/> 
     494              <xsl:variable name="guid" select="guid"/> 
     495              <xsl:variable name="recurrenceId" select="recurrenceId"/
     496              <tr
    511497                <xsl:choose> 
    512                   <xsl:when test="start/allday = 'true' and 
    513                                   start/shortdate = end/shortdate"> 
    514                     all day 
    515                   </xsl:when> 
    516                   <xsl:when test="start/shortdate = end/shortdate and 
    517                                   start/time = end/time"> 
    518                     <xsl:value-of select="start/time"/> 
     498                  <xsl:when test="position() mod 2 = 0"> 
     499                    <xsl:attribute name="class">a</xsl:attribute> 
    519500                  </xsl:when> 
    520501                  <xsl:otherwise> 
    521                     <xsl:choose> 
    522                       <xsl:when test="start/allday = 'true' and 
    523                                       parent::day/shortdate = start/shortdate"> 
    524                         today 
    525                       </xsl:when> 
    526                       <xsl:when test="parent::day/shortdate != start/shortdate"> 
    527                         <span class="littleArrow">&#171;</span>&#160; 
    528                         <xsl:value-of select="start/month"/>/<xsl:value-of select="start/day"/> 
    529                       </xsl:when> 
    530                       <xsl:otherwise> 
    531                         <xsl:value-of select="start/time"/> 
    532                       </xsl:otherwise> 
    533                     </xsl:choose> 
    534                     - 
    535                     <xsl:choose> 
    536                       <xsl:when test="end/allday = 'true' and 
    537                                       parent::day/shortdate = end/shortdate"> 
    538                         today 
    539                       </xsl:when> 
    540                       <xsl:when test="parent::day/shortdate != end/shortdate"> 
    541                         <xsl:value-of select="end/month"/>/<xsl:value-of select="end/day"/> 
    542                         &#160;<span class="littleArrow">&#187;</span> 
    543                       </xsl:when> 
    544                       <xsl:otherwise> 
    545                         <xsl:value-of select="end/time"/> 
    546                       </xsl:otherwise> 
    547                     </xsl:choose> 
     502                    <xsl:attribute name="class">b</xsl:attribute> 
    548503                  </xsl:otherwise> 
    549504                </xsl:choose> 
    550               </dt> 
    551               <dd> 
    552                 <xsl:if test="status='CANCELLED'"><strong>CANCELLED: </strong></xsl:if> 
    553                 <xsl:choose> 
    554                   <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 
    555                     <a href="{$eventView}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    556                       <strong> 
    557                         <xsl:value-of select="summary"/>: 
    558                       </strong> 
    559                       <xsl:value-of select="description"/>&#160; 
    560                       <em> 
    561                         <xsl:value-of select="location/address"/> 
    562                         <xsl:if test="location/subaddress != ''"> 
    563                           , <xsl:value-of select="location/subaddress"/> 
    564                         </xsl:if>.&#160; 
    565                         <xsl:if test="cost!=''"> 
    566                           <xsl:value-of select="cost"/>.&#160; 
    567                         </xsl:if> 
    568                         <xsl:if test="contact/name!='none'"> 
    569                           Contact: <xsl:value-of select="contact/name"/> 
    570                         </xsl:if> 
    571                       </em> 
    572                       - <xsl:value-of select="calendar/name"/> 
    573                     </a> 
    574                     <xsl:if test="link != ''"> 
    575                       <xsl:variable name="link" select="link"/> 
    576                       <a href="{$link}" class="moreLink"><xsl:value-of select="link"/></a> 
    577                     </xsl:if> 
    578                   </xsl:when> 
    579                   <xsl:otherwise> 
    580                     <a href="{$eventView}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    581                       <xsl:value-of select="summary"/> 
    582                       <xsl:if test="location/address != ''">, <xsl:value-of select="location/address"/></xsl:if> 
    583                     </a> 
    584                     - <em><xsl:value-of select="calendar/name"/></em> 
    585                   </xsl:otherwise> 
    586                 </xsl:choose> 
    587               </dd> 
    588             </dl> 
    589           </xsl:for-each> 
     505                <td class="date"> 
     506                  <xsl:choose> 
     507                    <xsl:when test="start/allday = 'true' and 
     508                                    start/shortdate = end/shortdate"> 
     509                      all day 
     510                    </xsl:when> 
     511                    <xsl:when test="start/shortdate = end/shortdate and 
     512                                    start/time = end/time"> 
     513                      <xsl:value-of select="start/time"/> 
     514                    </xsl:when> 
     515                    <xsl:otherwise> 
     516                      <xsl:choose> 
     517                        <xsl:when test="start/allday = 'true' and 
     518                                        parent::day/shortdate = start/shortdate"> 
     519                          today 
     520                        </xsl:when> 
     521                        <xsl:when test="parent::day/shortdate != start/shortdate"> 
     522                          <span class="littleArrow">&#171;</span> 
     523                          <xsl:value-of select="start/month"/>/<xsl:value-of select="start/day"/> 
     524                        </xsl:when> 
     525                        <xsl:otherwise> 
     526                          <xsl:value-of select="start/time"/> 
     527                        </xsl:otherwise> 
     528                      </xsl:choose> 
     529                      - 
     530                      <xsl:choose> 
     531                        <xsl:when test="end/allday = 'true' and 
     532                                        parent::day/shortdate = end/shortdate"> 
     533                          today 
     534                        </xsl:when> 
     535                        <xsl:when test="parent::day/shortdate != end/shortdate"> 
     536                          <xsl:value-of select="end/month"/>/<xsl:value-of select="end/day"/> 
     537                          <span class="littleArrow">&#187;</span> 
     538                        </xsl:when> 
     539                        <xsl:otherwise> 
     540                          <xsl:value-of select="end/time"/> 
     541                        </xsl:otherwise> 
     542                      </xsl:choose> 
     543                    </xsl:otherwise> 
     544                  </xsl:choose> 
     545                </td> 
     546                <td class="description"> 
     547                  <xsl:if test="status='CANCELLED'"><strong>CANCELLED: </strong></xsl:if> 
     548                  <xsl:choose> 
     549                    <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 
     550                      <a href="{$eventView}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     551                        <strong> 
     552                          <xsl:value-of select="summary"/>: 
     553                        </strong> 
     554                        <xsl:value-of select="description"/>&#160; 
     555                        <em> 
     556                          <xsl:value-of select="location/address"/> 
     557                          <xsl:if test="location/subaddress != ''"> 
     558                            , <xsl:value-of select="location/subaddress"/> 
     559                          </xsl:if>.&#160; 
     560                          <xsl:if test="cost!=''"> 
     561                            <xsl:value-of select="cost"/>.&#160; 
     562                          </xsl:if> 
     563                          <xsl:if test="contact/name!='none'"> 
     564                            Contact: <xsl:value-of select="contact/name"/> 
     565                          </xsl:if> 
     566                        </em> 
     567                        - <xsl:value-of select="calendar/name"/> 
     568                      </a> 
     569                      <xsl:if test="link != ''"> 
     570                        <xsl:variable name="link" select="link"/> 
     571                        <a href="{$link}" class="moreLink"><xsl:value-of select="link"/></a> 
     572                      </xsl:if> 
     573                    </xsl:when> 
     574                    <xsl:otherwise> 
     575                      <a href="{$eventView}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     576                        <xsl:value-of select="summary"/> 
     577                      </a> 
     578                    </xsl:otherwise> 
     579                  </xsl:choose> 
     580                </td> 
     581              </tr> 
     582            </xsl:for-each> 
     583          </table> 
    590584        </xsl:for-each> 
    591585      </xsl:otherwise> 
     
    597591    <p><b>All Calendars</b><br /> 
    598592    Select a calendar from the list below to see only that calendar's events.</p> 
    599     <xsl:apply-templates select="calendar/calendar" mode="calTree"/> 
     593    <ul class="calendarTree"> 
     594      <xsl:apply-templates select="calendar/calendar" mode="calTree"/> 
     595    </ul> 
    600596  </xsl:template> 
    601597 
     
    610606    <li class="{$itemClass}"> 
    611607      <a href="{$setSelection}&amp;calUrl={$url}" title="view calendar"><xsl:value-of select="name"/></a> 
    612       <xsl:if test="calendarCollection='true'"> 
    613         <xsl:variable name="name" select="name"/> 
    614         <xsl:variable name="calPath" select="path"/> 
    615         <span class="exportCalLink"> 
    616           <a href="javascript:launchExportWidget('exportCalendarForm','{$name}','{$calPath}')" id="{$calPath}" title="export calendar as iCal"> 
    617             <img src="{$resourcesRoot}/images/calIconExport-sm.gif" width="13" height="13" alt="export calendar" border="0"/> 
    618           </a> 
    619         </span> 
    620       </xsl:if> 
    621608      <xsl:if test="calendar"> 
    622609        <ul> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/pda.css

    r1369 r1716  
    55  margin: 0; 
    66  padding: 0; 
    7   font-size: 12px; 
     7  font-size: 10px; 
     8
     9h1#homeTitle { 
     10  text-align: center; 
     11  margin: 0; 
     12  padding: 2px 0; 
     13  background-color: #900; 
     14  color: white; 
     15  font-size: 10px; 
     16
     17#homeLink { 
     18  padding-left: 1em; 
     19  font-size: 0.8em; 
     20
     21#homeLink a { 
     22  background-color: transparent; 
     23  color: #eee; 
    824} 
    925#titleBar { 
     
    1531  font-weight: bold; 
    1632} 
    17 #homeLink { 
    18   padding-left: 1em; 
    19   font-size: 0.8em; 
    20 } 
    2133#dateInfo, 
    2234#mainNav { 
     
    2436  white-space: nowrap; 
    2537} 
     38#mainNav { 
     39  margin-bottom: 1em; 
     40} 
    2641h1 { 
    27   font-size: 12px; 
     42  font-size: 11px; 
    2843  margin: 0; /* must wrap h1s with <p> tags for blackberry */ 
    2944  padding: 0; 
    3045} 
    3146h2,h3,h4,h5 { 
    32   font-size: 12px; 
     47  font-size: 11px; 
    3348  text-align: left; 
     49} 
     50h3 { 
     51  background-color: #e2decc; 
     52  color: black; 
     53  margin: 1em 0 0 0; 
     54} 
     55a:link, 
     56a:active, 
     57a:visited { 
     58  text-decoration: none; 
     59} 
     60a:hover { 
     61  text-decoration: underline; 
    3462} 
    3563dl { 
     
    4270  padding-right: 1em; 
    4371} 
     72.eventList { 
     73  width: 100%; 
     74  margin: 0; 
     75  padding: 0; 
     76} 
     77.eventList tr.a td { 
     78  color: black; 
     79  background-color: #F3F1E8; 
     80} 
     81.eventList td { 
     82  padding: 0; 
     83  border-bottom: 1px dotted #ccc; 
     84} 
     85.eventList td.date { 
     86  font-size: 8px; 
     87  white-space: nowrap; 
     88} 
     89ul.calendarTree { 
     90  text-align: left; 
     91} 
     92ul.calendarTree li { 
     93  font-weight: bold; 
     94} 
     95ul.calendarTree li ul li { 
     96  font-weight: normal; 
     97} 
     98ul.calendarTree li.folder { 
     99  list-style-image: url(../../images/catIcon.gif); 
     100  padding-top: 0.25em; 
     101  padding-bottom: 0.25em; 
     102} 
     103ul.calendarTree li.calendar { 
     104  list-style-image: url(../../images/calIcon-sm.gif); 
     105} 
    44106#footer { 
    45107  font-size: 0.8em; 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/blue.css

    r1466 r1716  
    529529  text-decoration: none; 
    530530  background-color: #ccc; 
     531  border-bottom: 1px solid #bbb; 
    531532  color: black; 
    532533} 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl

    r1713 r1716  
    8787  <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars"/> 
    8888  <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod"/> 
     89  <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents"/> 
    8990  <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> 
    9091  <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef"/> 
     
    272273            <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 
    273274          </a> 
    274           <a class="rss" href="{$setup}&amp;setappvar=summaryMode(details)&amp;skinName=rss" title="RSS feed">RSS</a> 
     275          <a class="rss" href="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3" title="RSS feed">RSS</a> 
    275276        </td> 
    276277      </tr> 
     
    16531654        </td> 
    16541655        <td class="rightCell"> 
    1655           <form name="styleSelectForm" method="post" action="{$setup}"> 
     1656          <form name="styleSelectForm" method="get" action="{$setup}"> 
    16561657            <select name="setappvar" onchange="submit()"> 
    16571658              <option value="">example styles:</option> 
     
    16651666            <select name="skinPicker" onchange="window.location = this.value"> 
    16661667              <option value="{$setup}&amp;skinNameSticky=default">example skins:</option> 
    1667               <option value="{$setViewPeriod}&amp;viewType=weekView&amp;skinName=rss&amp;setappvar=summaryMode(details)">rss feed</option> 
     1668              <option value="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3">rss feed</option> 
    16681669              <option value="{$setViewPeriod}&amp;viewType=todayView&amp;skinName=jsToday&amp;contentType=text/javascript&amp;contentName=bedework.js">javascript feed</option> 
     1670              <option value="{$setup}&amp;browserTypeSticky=PDA">for mobile browsers</option> 
    16691671              <option value="{$setViewPeriod}&amp;viewType=todayView&amp;skinName=videocal">video feed</option> 
    16701672              <option value="{$setup}&amp;skinNameSticky=default">reset to calendar default</option> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/green.css

    r1466 r1716  
    542542  text-decoration: none; 
    543543  background-color: #ccc; 
     544  border-bottom: 1px solid #bbb; 
    544545  color: black; 
    545546} 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/red.css

    r1466 r1716  
    538538  text-decoration: none; 
    539539  background-color: #ccc; 
     540  border-bottom: 1px solid #bbb; 
    540541  color: black; 
    541542} 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss.xsl

    r1367 r1716  
    99    encoding="UTF-8" 
    1010   /> 
     11   <!-- ========================================================= 
     12 
     13                      BEDEWORK RSS FEED (deprecated) 
     14 
     15     Deprecated: use rss-list.xsl instead. 
     16 
     17     This is an older file used to pull a list of events from the 
     18     day, week, or month views and was originally used to 
     19     produce "Today's Events".  rss-list.xsl takes timezones into 
     20     account.  This file does not. 
     21     . 
     22     Call the feed with the listEvents action like so: 
     23     http://localhost:8080/main/setViewPeriod.do?viewType=todayView&setappvar=summaryMode(details)&skinName=rss 
     24 
     25     ===============================================================  --> 
     26<!-- ********************************************************************** 
     27    Copyright 2008 Rensselaer Polytechnic Institute. All worldwide rights reserved. 
     28 
     29    Redistribution and use of this distribution in source and binary forms, 
     30    with or without modification, are permitted provided that: 
     31       The above copyright notice and this permission notice appear in all 
     32        copies and supporting documentation; 
     33 
     34        The name, identifiers, and trademarks of Rensselaer Polytechnic 
     35        Institute are not used in advertising or publicity without the 
     36        express prior written permission of Rensselaer Polytechnic Institute; 
     37 
     38    DISCLAIMER: The software is distributed" AS IS" without any express or 
     39    implied warranty, including but not limited to, any implied warranties 
     40    of merchantability or fitness for a particular purpose or any warrant)' 
     41    of non-infringement of any current or pending patent rights. The authors 
     42    of the software make no representations about the suitability of this 
     43    software for any particular purpose. The entire risk as to the quality 
     44    and performance of the software is with the user. Should the software 
     45    prove defective, the user assumes the cost of all necessary servicing, 
     46    repair or correction. In particular, neither Rensselaer Polytechnic 
     47    Institute, nor the authors of the software are liable for any indirect, 
     48    special, consequential, or incidental damages related to the software, 
     49    to the maximum extent the law permits. --> 
     50 
    1151   <xsl:template match="/"> 
    1252     <rss version="2.0"> 
     
    2161          --><xsl:value-of select="substring(/bedework/eventscalendar/year/month/week/day[event]/event/start/monthname,1,3)"/><xsl:text> </xsl:text><!-- 
    2262          --><xsl:value-of select="/bedework/eventscalendar/year/month/week/day[event]/event/start/fourdigityear"/><xsl:text> </xsl:text><!-- 
    23           --><xsl:value-of select="/bedework/eventscalendar/year/month/week/day[event]/event/start/twodigithour24"/>:<xsl:value-of select="/bedework/eventscalendar/year/month/week/day[event]/event/start/twodigitminute"/>:00 EST</pubDate>   
     63          --><xsl:value-of select="/bedework/eventscalendar/year/month/week/day[event]/event/start/twodigithour24"/>:<xsl:value-of select="/bedework/eventscalendar/year/month/week/day[event]/event/start/twodigitminute"/>:00 EST</pubDate> 
    2464        <language>en-US</language> 
    2565        <copyright>Copyright <xsl:value-of select="substring(/bedework/currentdate/date,1,4)"/>, Rensselaer Polytechnic Institute</copyright> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl

    r1702 r1716  
    9898  <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars"/> 
    9999  <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod"/> 
     100  <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents"/> 
    100101  <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> 
    101102  <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef"/> 
     
    269270          <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 
    270271        </a> 
    271         <a class="rss" href="{$setSelection}&amp;setappvar=summaryMode(details)&amp;skinName=rss" title="RSS feed">RSS</a> 
     272        <a class="rss" href="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3" title="RSS feed">RSS</a> 
    272273      </td> 
    273274    </table>--> 
     
    323324                <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 
    324325              </a> 
    325               <a class="rss" href="{$setup}&amp;setappvar=summaryMode(details)&amp;skinName=rss" title="RSS feed">RSS</a> 
     326              <a class="rss" href="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3" title="RSS feed">RSS</a> 
    326327            </td> 
    327328          </tr> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss.xsl

    r1190 r1716  
    99    encoding="ISO-8859-1" 
    1010   /> 
     11   <!-- ========================================================= 
     12 
     13                      BEDEWORK RSS FEED (deprecated) 
     14 
     15     Deprecated: use rss-list.xsl instead. 
     16 
     17     This is an older file used to pull a list of events from the 
     18     day, week, or month views and was originally used to 
     19     produce "Today's Events".  rss-list.xsl takes timezones into 
     20     account.  This file does not. 
     21     . 
     22     Call the feed with the listEvents action like so: 
     23     http://localhost:8080/main/setViewPeriod.do?viewType=todayView&setappvar=summaryMode(details)&skinName=rss 
     24 
     25     ===============================================================  --> 
     26<!-- ********************************************************************** 
     27    Copyright 2008 Rensselaer Polytechnic Institute. All worldwide rights reserved. 
     28 
     29    Redistribution and use of this distribution in source and binary forms, 
     30    with or without modification, are permitted provided that: 
     31       The above copyright notice and this permission notice appear in all 
     32        copies and supporting documentation; 
     33 
     34        The name, identifiers, and trademarks of Rensselaer Polytechnic 
     35        Institute are not used in advertising or publicity without the 
     36        express prior written permission of Rensselaer Polytechnic Institute; 
     37 
     38    DISCLAIMER: The software is distributed" AS IS" without any express or 
     39    implied warranty, including but not limited to, any implied warranties 
     40    of merchantability or fitness for a particular purpose or any warrant)' 
     41    of non-infringement of any current or pending patent rights. The authors 
     42    of the software make no representations about the suitability of this 
     43    software for any particular purpose. The entire risk as to the quality 
     44    and performance of the software is with the user. Should the software 
     45    prove defective, the user assumes the cost of all necessary servicing, 
     46    repair or correction. In particular, neither Rensselaer Polytechnic 
     47    Institute, nor the authors of the software are liable for any indirect, 
     48    special, consequential, or incidental damages related to the software, 
     49    to the maximum extent the law permits. --> 
     50 
    1151   <xsl:template match="/"> 
    1252     <rss version="2.0"> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/soe.css

    r1466 r1716  
    527527  text-decoration: none; 
    528528  background-color: #ccc; 
     529  border-bottom: 1px solid #bbb; 
    529530  color: black; 
    530531} 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1712 r1716  
    7171  <xsl:variable name="setSelection" select="/bedework/urlPrefixes/main/setSelection"/> 
    7272  <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod"/> 
     73  <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents"/> 
    7374  <!-- events --> 
    7475  <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> 
     
    472473            <img alt="print this view" src="{$resourcesRoot}/resources/std-print-icon.gif" width="20" height="14" border="0"/> print 
    473474          </a> 
    474           <a class="rss" href="{$setup}&amp;setappvar=summaryMode(details)&amp;skinName=rss" title="RSS feed">RSS</a> 
     475          <a class="rss" href="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3" title="RSS feed">RSS</a> 
    475476        </td> 
    476477      </tr>