Hi all, SMW now has support for exporting data in vCard format, thus letting you import contacts easily from a wiki into your personal address book. This feature works similar to RSS and iCalendar exports: a special format (vcard) is used for semantic queries, and labels of printout statements are used to describe how wiki properties should be used in the vCard export.
vCards should be especially useful in intranet wikis where a lot of personal data is found. Sites like semanticweb.org often have only little personal information. Yet you can see examples there, e.g. at http://semanticweb.org/wiki/AIFB as well as on any person's page. An example vCard query is as follows: {{#ask: [[{{FULLPAGENAME}}]] | format=vcard | ?Affiliation=organization | ?Email | ?Foaf:phone=workphone | ?Homepage | searchlabel=vCard }} The labels (e.g. "email" or "organization") have a special predefined relationship to vCard properties. SMW currently supports the following labels: email organization homepage workphone homephone cellphone firstname lastname birthday (should by of Type:Date) note (can be anything, the query results are combined with "," and inserted as free text) These map to standard vCard fields in the obvious way. More fields could be enabled if requested. Cheers, Markus -- Markus Krötzsch Semantic MediaWiki http://semantic-mediawiki.org http://korrekt.org [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel