Our organization stores common information about a person in an LDAP 
directory.  We have defined both templates and tags that can display 
this information (eg, Name, phone, email, photo, department, ...) in 
something like a business card/vCard.

We'd like to combine this with SMW.  Specifically, let's say that a user 
provided the following metadata about themselves:

{{User Info
|ldapid=username
|interests=X, Y, Z
}}

Then, with an ask query, let's suppose that we wanted the following (in 
a table, for instance):

Name    Photo    Phone     Email     Interests

Each of Name, Photo, Phone, and Email would be derived from the ldap 
query for the given ldapid.  Interests, on the other hand, would come 
from the interests property.

As another example, SMW currently has a format type of vCard.  Much of 
this information is stored in an LDAP directory; only the LDAP user id 
would be required to obtain it.

Eventually, we'd like to get sophisticated with the return result of 
this type of query, such that the information was provided in-line, 
rather than as a link to the page that contained the information, which 
is all that we've been able to accomplish with the standard properties 
and templates.

I've started with the SMW_QP_vCard, and added a new QueryPrinter.  
However, I'm somewhat stuck [the ask is returning the wiki page name 
that contains the values, not the semantic values themselves].

Are there any suggestions, comments, or recommendations/pointers that 
can be offered to implement this [we're using MW 1.13.2 and SMW 1.3, 
although we can upgrade to 1.4]?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to