What is the best way to automatically post and remove content to a website based on date?
For instance… i have an upcoming event box on my homepage… instead of manually updating the box a few times a month… is it possible to use a bit of jQuery to automatically post the latest upcoming event… when the events’ date expires… i would like the next upcoming event to automatically take its place.
ideas?
fyi - my site is a static html5 website. i am open for other suggestions as well. thanks.
It will not save the file, jQuery is just a JavaScript library. JavaScript is client side. You should probably use a CMS, which would make updating the page easier, since you would be able to use a nice graphics interface.
You could have a data file, that you populate with events, so that scripting can then use the JSON protocol to read in that data and do things based on it.