Changeset 1716
- Timestamp:
- 01/25/08 17:26:13
- Files:
-
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/default.xsl (modified) (9 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/pda.css (modified) (4 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/blue.css (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl (modified) (4 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/green.css (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/red.css (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss-list.xsl (added)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss.xsl (modified) (2 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/PDA (deleted)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl (modified) (3 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss-list.xsl (added)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/soe.css (modified) (1 diff)
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (2 diffs)
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/rss-list.xsl (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/default.xsl
r1398 r1716 9 9 omit-xml-declaration="yes"/> 10 10 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> 16 25 17 26 <!-- DEFINE INCLUDES --> … … 66 75 <!-- MAIN TEMPLATE --> 67 76 <xsl:template match="/"> 68 <html lang="en">77 <html xml:lang="en"> 69 78 <head> 70 <title> RPI Calendar of Events</title>79 <title>Bedework Events Calendar</title> 71 80 <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"/> 72 83 <link rel="stylesheet" href="{$resourcesRoot}/default/PDA/pda.css"/> 73 84 </head> 74 85 <body> 86 <h1 id="homeTitle"> 87 Home Title Here 88 <span id="homeLink"> 89 [<a href="{$setup}&browserTypeSticky=default">home</a>] 90 </span> 91 </h1> 75 92 <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 80 94 </div> 81 95 <xsl:call-template name="infoAndNavigation"/> … … 97 111 <!-- footer --> 98 112 <p id="footer"> 99 <br/><br/><!-- why, you ask? ...blackberry -->100 113 <a href="{$setup}&browserTypeSticky=PDA">Events Calendar</a> | 101 <a href=" http://www.rpi.edu/pda">Portable Rensselaer</a><br/>102 <small> Maintained by C&MT, DotCIO, Rensselaer Polytechnic Institute</small>114 <a href="{$setup}&browserTypeSticky=default">Home Link</a><br/> 115 <small>Footer Text</small> 103 116 </p> 104 117 </body> … … 109 122 <xsl:template name="infoAndNavigation"> 110 123 <div id="dateInfo"> 111 <xsl:if test="/bedework/page!='calendar s' and /bedework/page!='event'">124 <xsl:if test="/bedework/page!='calendarList' and /bedework/page!='event'"> 112 125 <<a href="{$setViewPeriod}&date={$prevdate}">prev</a> 113 126 <xsl:text> </xsl:text> … … 173 186 <xsl:when test="/bedework/selectionState/selectionType = 'calendar'"> 174 187 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> 176 189 </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> 207 194 </xsl:otherwise> 208 195 </xsl:choose> 209 </div> <br/><br/>196 </div> 210 197 </xsl:template> 211 198 … … 493 480 <xsl:for-each select="/bedework/eventscalendar/year/month/week/day[count(event)!=0]"> 494 481 <xsl:if test="/bedework/periodname='Week' or /bedework/periodname='Month' or /bedework/periodname=''"> 495 <br/><br/><!-- why? css isn't stong on blackberry -->496 482 <h3> 497 483 <xsl:variable name="date" select="date"/> … … 501 487 </h3> 502 488 </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> 511 497 <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> 519 500 </xsl:when> 520 501 <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">«</span>  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  <span class="littleArrow">»</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> 548 503 </xsl:otherwise> 549 504 </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}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 556 <strong> 557 <xsl:value-of select="summary"/>: 558 </strong> 559 <xsl:value-of select="description"/>  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>.  565 <xsl:if test="cost!=''"> 566 <xsl:value-of select="cost"/>.  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}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&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">«</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">»</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}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 551 <strong> 552 <xsl:value-of select="summary"/>: 553 </strong> 554 <xsl:value-of select="description"/>  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>.  560 <xsl:if test="cost!=''"> 561 <xsl:value-of select="cost"/>.  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}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&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> 590 584 </xsl:for-each> 591 585 </xsl:otherwise> … … 597 591 <p><b>All Calendars</b><br /> 598 592 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> 600 596 </xsl:template> 601 597 … … 610 606 <li class="{$itemClass}"> 611 607 <a href="{$setSelection}&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>621 608 <xsl:if test="calendar"> 622 609 <ul> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/pda.css
r1369 r1716 5 5 margin: 0; 6 6 padding: 0; 7 font-size: 12px; 7 font-size: 10px; 8 } 9 h1#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; 8 24 } 9 25 #titleBar { … … 15 31 font-weight: bold; 16 32 } 17 #homeLink {18 padding-left: 1em;19 font-size: 0.8em;20 }21 33 #dateInfo, 22 34 #mainNav { … … 24 36 white-space: nowrap; 25 37 } 38 #mainNav { 39 margin-bottom: 1em; 40 } 26 41 h1 { 27 font-size: 1 2px;42 font-size: 11px; 28 43 margin: 0; /* must wrap h1s with <p> tags for blackberry */ 29 44 padding: 0; 30 45 } 31 46 h2,h3,h4,h5 { 32 font-size: 1 2px;47 font-size: 11px; 33 48 text-align: left; 49 } 50 h3 { 51 background-color: #e2decc; 52 color: black; 53 margin: 1em 0 0 0; 54 } 55 a:link, 56 a:active, 57 a:visited { 58 text-decoration: none; 59 } 60 a:hover { 61 text-decoration: underline; 34 62 } 35 63 dl { … … 42 70 padding-right: 1em; 43 71 } 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 } 89 ul.calendarTree { 90 text-align: left; 91 } 92 ul.calendarTree li { 93 font-weight: bold; 94 } 95 ul.calendarTree li ul li { 96 font-weight: normal; 97 } 98 ul.calendarTree li.folder { 99 list-style-image: url(../../images/catIcon.gif); 100 padding-top: 0.25em; 101 padding-bottom: 0.25em; 102 } 103 ul.calendarTree li.calendar { 104 list-style-image: url(../../images/calIcon-sm.gif); 105 } 44 106 #footer { 45 107 font-size: 0.8em; trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/blue.css
r1466 r1716 529 529 text-decoration: none; 530 530 background-color: #ccc; 531 border-bottom: 1px solid #bbb; 531 532 color: black; 532 533 } trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl
r1713 r1716 87 87 <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars"/> 88 88 <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod"/> 89 <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents"/> 89 90 <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> 90 91 <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef"/> … … 272 273 <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 273 274 </a> 274 <a class="rss" href="{$ setup}&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a>275 <a class="rss" href="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3" title="RSS feed">RSS</a> 275 276 </td> 276 277 </tr> … … 1653 1654 </td> 1654 1655 <td class="rightCell"> 1655 <form name="styleSelectForm" method=" post" action="{$setup}">1656 <form name="styleSelectForm" method="get" action="{$setup}"> 1656 1657 <select name="setappvar" onchange="submit()"> 1657 1658 <option value="">example styles:</option> … … 1665 1666 <select name="skinPicker" onchange="window.location = this.value"> 1666 1667 <option value="{$setup}&skinNameSticky=default">example skins:</option> 1667 <option value="{$ setViewPeriod}&viewType=weekView&skinName=rss&setappvar=summaryMode(details)">rss feed</option>1668 <option value="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3">rss feed</option> 1668 1669 <option value="{$setViewPeriod}&viewType=todayView&skinName=jsToday&contentType=text/javascript&contentName=bedework.js">javascript feed</option> 1670 <option value="{$setup}&browserTypeSticky=PDA">for mobile browsers</option> 1669 1671 <option value="{$setViewPeriod}&viewType=todayView&skinName=videocal">video feed</option> 1670 1672 <option value="{$setup}&skinNameSticky=default">reset to calendar default</option> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/green.css
r1466 r1716 542 542 text-decoration: none; 543 543 background-color: #ccc; 544 border-bottom: 1px solid #bbb; 544 545 color: black; 545 546 } trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/red.css
r1466 r1716 538 538 text-decoration: none; 539 539 background-color: #ccc; 540 border-bottom: 1px solid #bbb; 540 541 color: black; 541 542 } trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss.xsl
r1367 r1716 9 9 encoding="UTF-8" 10 10 /> 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 11 51 <xsl:template match="/"> 12 52 <rss version="2.0"> … … 21 61 --><xsl:value-of select="substring(/bedework/eventscalendar/year/month/week/day[event]/event/start/monthname,1,3)"/><xsl:text> </xsl:text><!-- 22 62 --><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> 24 64 <language>en-US</language> 25 65 <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 98 98 <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars"/> 99 99 <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod"/> 100 <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents"/> 100 101 <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> 101 102 <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef"/> … … 269 270 <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 270 271 </a> 271 <a class="rss" href="{$ setSelection}&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a>272 <a class="rss" href="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3" title="RSS feed">RSS</a> 272 273 </td> 273 274 </table>--> … … 323 324 <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 324 325 </a> 325 <a class="rss" href="{$ setup}&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a>326 <a class="rss" href="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3" title="RSS feed">RSS</a> 326 327 </td> 327 328 </tr> trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss.xsl
r1190 r1716 9 9 encoding="ISO-8859-1" 10 10 /> 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 11 51 <xsl:template match="/"> 12 52 <rss version="2.0"> trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/soe.css
r1466 r1716 527 527 text-decoration: none; 528 528 background-color: #ccc; 529 border-bottom: 1px solid #bbb; 529 530 color: black; 530 531 } trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1712 r1716 71 71 <xsl:variable name="setSelection" select="/bedework/urlPrefixes/main/setSelection"/> 72 72 <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod"/> 73 <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents"/> 73 74 <!-- events --> 74 75 <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> … … 472 473 <img alt="print this view" src="{$resourcesRoot}/resources/std-print-icon.gif" width="20" height="14" border="0"/> print 473 474 </a> 474 <a class="rss" href="{$ setup}&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a>475 <a class="rss" href="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3" title="RSS feed">RSS</a> 475 476 </td> 476 477 </tr>
