Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

calender scripting

Mar 22, 2007 10:01PM PDT

hi there,
i'm looking for ideas on how to create a script that would allow me to list concerts on a website without having to update it every time a date passes. a bit like the one myspace use - once the date passes, the gig doesn't show any more. can anyone offer any ideas?

thanks
bilcook

Discussion is locked

- Collapse -
Re: calander scripting
Mar 23, 2007 12:35AM PDT

Bilcook,

Any server-side processing tool would do. That's a tool that writes HTML-pages for your browser to display, based on anything you can imagine, like data from a database. A common tool is PHP.

The simpler alternative (that is, simpler to setup, but more difficult to maintain than a 'content management system', a useful term to keep in mind also) is to put the whole bunch of data in the coding of the page and use 'dynamic html' (javascript) to filter it locally (i.e. in the browser) based on the system date.

Read through a few links from http://www.google.com/search?q=server+side+scripting
and
http://www.google.com/search?q=dynamic+html
and you'll get the picture.

Happy programming.


Kees

- Collapse -
Re: calander scripting
Mar 23, 2007 2:19AM PDT

thanks,

that's a great help.