CALENDARS INCASCADE SERVER ERIC L. EPPS @ERICEPPS
OVERVIEW• Pros/Cons of using this method• Look at web interfaces• XML Source files• Process• XSL/Velocity Code!
PROS & CONS ADVANTAGES DISADVANTAGES• Few source files, many • Lots of pages views • Long time to publish• Uniform look & feel, (much better in 7.x) control • Complex style sheets• Easily maintained with Web Services scripts and auto-publish• Descriptive URLs
XML SOURCECOURSE SCHEDULE EVENT LISTING FACULTY SCHEDULES
PROCESS• Events vs. Recurring Schedules • Event List = Easy 1. pull the list of events 2. if it matches criteria, output • Class Schedule, Faculty Schedule = More Difficult 1. pull list of classes 2. create list of events from recurrence 3. if event from list matches criteria, output
CHOOSING THE TOOL• Just Event List? Just Schedule info? • Pull list of events/courses • Don’t need to parse recurrence • XSL• Listing by Room/Faculty Member? • Need to parse recurrence • May need to combine both in single page • Velocity• In general, I use XSL when the XML source is similar to the desired output, Velocity when I need to manipulate the data more.