How hard would it be to write a lightweight <subpage> tag that scans its
contents for properties, extracts them, and appends a {{#subobject}} built
out of the properties that it found?  For example:

<subpage name="Forrest Gump">
[[given::Forrest]] [[surname::Gump]] is the [[title::Shrimp Man]] of
[[org::Bubba Gump Shrimp Co.]]
</subpage>

would become something like:

Forrest Gump is the [[Shrimp Man]] of [[Bubba Gump Shrimp Co.]]
 {{#subobject:Forrest Gump|given=Forrest|surname=Gump|title=Shrimp
Man|org=Bubba
Gump Shrimp Co.}}

I suspect that <subpage> would be at least as popular as {{#subobject}} as
a way of adding SIO-like semantics to a page.

-- 
Jonathan "Dataweaver" Lang
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to