Details
-
Task
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
Document microformat support in STK. STK adds microformat markup to contacts (hCard) and events (hCalendar) by default. Support for other formats can be added through customization.
Topics to cover:
- Introduction: What are microformats?
- How to see the pre-built microformat support in STK?
- Microformat attributes in HTML elements. Show the HTML source for a contact or an event. Explain how the semantic microformat class attributes are added to HTML elements, see hCard for an example. Show how the attributes are added in the template scripts (/templating-kit/components/teasers/contact.ftl, /templating-kit/pages/content/event/infoblock.ftl).
- Customizing
- Sample events - a recipe for creating events with vCard support. Link to wiki page with a brief summary.
- Twigs module. Plans to improve and expand support for microformats. See for example MTWIGS-32 and team meeting notes. The module is not yet migrated to 4.5. Link to wiki page with a brief summary.
Resources:
- What are microformats
- Wikipedia: Microformat
- hCard, example in demo-project: Contact
- hCalendar, example in demo-project: Event
Checklists
Acceptance criteria