This came up on discussion over on openguides-oxford. We'd like to be able to put a distinctive style on pages for places that have now closed. Rather than hardcoding this for a "Closed" or "Now Closed" category, Dom and I thought a better solution would be to simply add classes for all categories and locales that a page is in.
So for example, http://oxford.openguides.org/wiki/?The_Jam_Factory
would have HTML:
<div id="content" class="cat:baby_changing_facilities cat:free_wifi cat:pubs cat:restaurants cat:wifi loc:park_end_street loc:west_central">
rather than the simple <div id="content"> that's currently there.
Thoughts? Objections?
Kake
openguides-dev@lists.openguides.org