- From: Edd Dumbill <edd@usefulinc.com>
- Date: Sat, 31 Mar 2001 17:16:35 +0100
- To: www-rdf-interest@w3.org
This came to the mozilla-rdf list. I thought that the work with LDAP
and bookmarks might be of interest to folk on this list, as shared
bookmarking etc. grows in the orchard of low-hanging SW fruit.
----- Forwarded message from Rostislav Matl <xmatl@fi.muni.cz> -----
Resent-Date: Sat, 31 Mar 2001 08:08:20 -0800 (PST)
To: mozilla-rdf@mozilla.org
Path: not-for-mail
From: Rostislav Matl <xmatl@fi.muni.cz>
Newsgroups: netscape.public.mozilla.rdf
Subject: bookmarks in LDAP - XUL template for RDF datasource result "blank"
Organization: Another Netscape Collabra Server User
NNTP-Posting-Host: trillian.ascs.muni.cz
Resent-Message-ID: <"6vI7TB.A.P-B.rDgx6"@gila.mozilla.org>
Resent-From: mozilla-rdf@mozilla.org
Resent-Sender: mozilla-rdf-request@mozilla.org
Resent-Bcc:
I'm working on bookmarks storable in LDAP. I've allready
done conversion of Netscape bookmarks to DSML using
Dublin Core Metadata Element Set vocabulary. I've also
XSLT template for transforming the DSML to LDIF.
- it's believed to be stable beta quality (no known bugs now),
so if somebody interested in it, I can send it or publish it
somewhere
Now I'd like to acces this data using XUL templates + LDAP RDF
datasource and that seems to be problem for me. Everytime I access
chrome://communicator/content/ldapviewer/example.xul (where I
have the template) I got only "blank" page. I'm new to that
things and after reading some docs and lot of trials I'm quite
desperade not knowing what I'm doing wrong.
I'm attaching text dump of page showing the content of the
used LDAP URI as it shows Nestcape Communicator and the
example.xul.
Please, if is there somebody experienced with it, give me
some corrective advice ...
Rostislav Matl
LDAP\;\"quot\;'apos\;&\;
Object Class top
Folder
dcTitle LDAP
------------------------------------------------------------------------
Real Audio
Object Class top
Folder
dcTitle Real Audio
------------------------------------------------------------------------
ATI - Developer Relations
Object Class top
URIEntry
dcTitle ATI - Developer Relations
dcIdentifier http://www.atitech.com/conspiracy/dev_lair/dev_lair.html
------------------------------------------------------------------------
FSS & comp.
Object Classtop
Folder
dcTitle FSS & comp.
------------------------------------------------------------------------
FI & comp.
Object Class top
Folder
dcTitle FI & comp.
------------------------------------------------------------------------
Elinora MUD
Object Classtop
URIEntry
dcTitle Elinora MUD
dcIdentifierhttp://cs.felk.cvut.cz/~xnovako1/elinora/
------------------------------------------------------------------------
Information Resources (general\,unsorted)
Object Class top
Folder
dcTitle Information Resources (general,unsorted)
------------------------------------------------------------------------
Information Resources - Internet
Object Class top
Folder
dcTitle Information Resources - Internet
------------------------------------------------------------------------
Information Resources - Phlisophy and Religion
Object Class top
Folder
dcTitle Information Resources - Phlisophy and Religion
------------------------------------------------------------------------
Information Sources - Linux
Object Classtop
Folder
dcTitle Information Sources - Linux
------------------------------------------------------------------------
Infromation Sources - Web Development
Object Classtop
Folder
dcTitle Infromation Sources - Web Development
------------------------------------------------------------------------
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<window title="LDAP Manager Prototype"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<tree datasources="rdf:ldap" flex="2" id="testTree"
ref="ldap://runner.ascs.muni.cz/dc=runner,dc=ascs,dc=muni,dc=cz??one">
<!--ref="ldap://runner.ascs.muni.cz/dc=runner,dc=ascs,dc=muni,dc=cz??one"-->
<!--ref="ldap://runner.ascs.muni.cz/dc=runner,dc=ascs,dc=muni,dc=cz??sub"-->
<!--ref="ldap://runner.ascs.muni.cz/dc=runner,dc=ascs,dc=muni,dc=cz?objectClass=*"-->
<!--ref="ldap://runner.ascs.muni.cz/dc=runner,dc=ascs,dc=muni,dc=cz?objectClass?one"-->
<!-- datasources - whitespace separated list of datasources that should be used to build XUL -->
<!-- ref - the "starting point" in the RDF graph -->
<template>
<rule> <!-- specifies how a portion of the RDF graph should be translated into a XUL content mode -->
<conditions>
<content uri="?uri" />
<triple subject="?uri"
predicate="http://www.mozilla.org/LDAPATTR-rdf#dcTitle"
object="?dcTitle" />
</conditions>
<action>
<treechildren flex="1">
<treeitem uri="?dcTitle">
<treerow>
<treecell class="treecell-indent" value="?dcTitle" flex="1" />
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
<treecols id="theColumns">
<treecol id="dcTitle" flex="1" />
</treecols>
<treehead>
<treerow id="headRow">
<treecell value="dcTitle" flex="1" />
</treerow>
</treehead>
</tree>
</window>
----- End forwarded message -----
Received on Saturday, 31 March 2001 11:16:48 UTC