XML calendar: add an event calendar to your website

Do you need an xml calendar? How about a calendar that you can add to any page on your website to show your visitors your events?

The solution is Scriptcalendar. It is a javascript calendar. It will upload your xml event data and display it in a monthly calendar format on your website. Add the calendar to your page with a simple HTML tag …

“! – iframe scriptcalendar tag -” “iframe id =” scIFrame “name =” abc “src =” scthemes / standard / scrptcal.htm “scrolling =” no “frameborder =” 0 “width =” 800 “height =” 700 “” “/ iframe”

The xml schema is easy to follow. There is an event editor included to help you create your events.

The scriptcalendar is javascript code and nothing but javascript. You don’t need server-side scripting. Get the events from the server using Ajax. An asynchronous call to the server loads the xml. The calendar parses the xml after the upload is complete. Then your events are shown to your visitors.

It is possible to generate the events from your database. Build a page that reads from the database and renders the xml. Use this page as xml event file in scripting calendar. You will asynchronously get the dynamically rendered xml. Avoid concurrent user issues in a multi-user environment by dynamically rendering the xml rather than generating a file on the server.

This is a sample of the xml used by scriptcalendar

“Events” “event” “month” 7 “/ month” “day” 23 “/ day” “year” 2009 “/ year” “text” My birthday “/ text” “style” scEventRed “/ style” “/ event “” Event “” month “7” / month “” day “30” / day “” year “2009” / year “” text “End of month meeting” / text “” style “scEventBlue” / style “” / event “” / events “

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top