Neil's Place

November 17, 2002

4:20 PM RDF Library Updated

I have updated the RDF library in the XUL tutorial. I changed the way that datasources are loaded to make more sense. I also added functions to parse RDF from a string, and to serialize a datasource back to a string again. I also added more examples.

You can now do fun things like output your bookmarks as RDF:

var bookmarksRDF=newRDFDataSource("rdf:bookmarks").serializeToString();

Comments ( 37 )

November 14, 2002

10:16 PM

Anil Dash has updated Introducing the Microcontent Client. Interestingly, he even refers to the RDF stuff I've been working on, which, of course, is why I noticed the change.

Comments ( 1 )

November 13, 2002

11:55 PM Some XUL/JavaScript bits

Some useful bits of one may find useful.

Comments ( 47 )

4:46 PM More RDF stuff

I have been working a bit more on a semantic web client. I've started a simple XPath-like language for referring to RDF resources (RPath perhaps), so one can do something like "director/birthplace" to get the birthplace of a movie's director. You can use these expressions in XUL to bind to data. When the data changes or an expression changes, or the user selects items in the UI, the relevant expressions are recalculated. Thus, when a user selects a movie title, the movie info changes accordingly. Here is a picture of a simple movie viewer. No templates or JavaScript is used by the XUL file.

I also created a sample using Dan Brickley's Wordnet service which returns word definitions. Here is an image.

The hardest part is coming up with a name for this thing.

Comments ( 40 )

3:33 PM

Several years ago there was a contest or something to get free jelly beans. Suddenly, after all this time, I receive a newsletter informing me that Earwax flavoured jelly beans are available. They sure left that mailing list unused for a while, until they had something important to say.

Comments ( 31 )

November 12, 2002

10:32 PM

Hey! I'm now on the list of official Mozilla Weblogs!

Comments ( 0 )

November 10, 2002

7:28 PM

How come I have never seen these DOM demos from before?

Comments ( 0 )

November 9, 2002

12:11 PM Magic Search Engines

Others are also starting to think a bit about making search tools magic.

Comments ( 7 )