ChoralWiki talk:Seasonal music

From ChoralWiki
Revision as of 15:57, 22 January 2015 by Carlos (talk | contribs) (→‎Automation)
Jump to navigation Jump to search

Automation

Last Fall I made a bunch of entries of the form --> *[[:Category:Advent IV|Music for this Sunday, December 21]] <-- and fora while was updating Sunday nights by manually moving the commenting out brackets. One stage of automating things would be to have precoded entries advance at midnight on Sunday; another would be to have the date automatically supplied from the year's calendar; a third layer of complexity is dealing with the date of Easter! Any thoughts? Richard Mix (talk) 04:08, 22 January 2015 (UTC)

Hi Richard. The first case is very simple to implement, I'll add the code for one or two sundays so you may have an idea of how it works. For specific dates it would work in a similar fashion. For Easter, things complicate a lot because of the various calculations involved, but it's not totally impossible to implement. Maybe for this specific case, it would be easier to add the dates by hand, since it's done just once a year. —Carlos Email.gif 15:57, 22 January 2015 (UTC)