Hi Jon,

Unless I'm missing something, I don't see much benefit to having this. If
the data is on another page (whether it's a subpage or not), you can
already query its data in the same way that you would query a subobject's
(or internal object's) data. The only benefit I see for this is that it
would define a semantic linkage between the subpage and the main page.
Which could be useful; but on the other hand, if the subpage contains a
template, you could do that automatically via that template as well.

-Yaron

On Tue, Nov 15, 2011 at 8:12 AM, Jon Lang <datawea...@gmail.com> wrote:

> 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
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
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