Difference between revisions of "include-pattern-faq"

From Microformats Wiki
Jump to navigation Jump to search
m (Reverted edit of Go3Kw2, changed back to last version by DWilbanks)
Line 8: Line 8:
  
 
A: No. The [[include-pattern]] is specifically [[include-pattern#scope|scoped]] to the current page by design, both from a "vast majority of use cases" perspective, and a ease of implementation perspective.
 
A: No. The [[include-pattern]] is specifically [[include-pattern#scope|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: ''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?''===
 
=== 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?''===

Revision as of 20:50, 9 February 2008

include pattern FAQ

This page document frequently asked questions about the include-pattern. For general questions about microformats see the microformats 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?