include-pattern-faq

From Microformats Wiki
Revision as of 19:43, 3 January 2009 by Brian (talk | contribs) (Reverted edits by RorelChibo (Talk) to last version by RyanKing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

include pattern FAQ

This page document frequently asked questions about the include-pattern. For general questions about microformats see the microformats faq.

Q: Does include-pattern support for data outside of the current page?

A: No. The include-pattern is specifically scoped to the current page by design, both from a "vast majority of use cases" perspective, and a ease of implementation perspective.

Including data from external resources raises several issues:

  • Unreliable (dependency and if/when the data is available)
  • Security (possibly malicious data)
  • Invisible (original context of the data is not available)


Q: What is the normative behavior for an include with a "data" value that does not exist?

Q: Is there an assumption that you should only include one property at a time? What's the expected behavior if, say, my include has an org property, and the including vcard already has an org property?

A: This would depend on two factors, if the format can contain multiple instance of the property included, then both are valid. If the format can only take one instance of a property, than the first should be used and subsequent instances ignored.