Friday, 21. May 2004

Mozilla RDF Javascript support

Part II of the seriesdiving into Mozilla.

Simple XUL example

To get going with RDF in Mozilla, it is good to make a Hello World-kind of Application. I did this by the way of "jslib", a javascript library that helps Mozilla developers.

Step1 - Download and Install jslib
from https://jslib.mozdev.org/downloads/index.html
and install it in your mozilla (it is a XPI, so no problem there)
Test the library by opening this url: chrome://jslib/content/
see also installation doc.

Step2 - write a XUL file to test
I did it with this ugly file that extracts the firstname from my public FOAF file: rdflib_hello (xul, 1 KB).

Step3 - configure it to run
The problem is that the XUL file must be placed where XUL files are usually placed. If you know how to do this, fine. If you don't, you have to configure jslib so that it accepts files outside the chrome. This may be a security risk. Description to use jslib from local XUL files.

Step4 - run rdflib_hello.xul
Start Mozilla, go to "open file" and open the XUL file (or use chrome:// if you managed to put it in your chrome).
You should see a single button. Press it and the String "Leo" should come.

What it does:
It loads my foaf file from my public homepage and extracts a literal property from a resource. To do this, there are fine XPCOM objects in Mozilla. But the XPCOM are hard to use, so the jslib guys made this system of Javascript helper objects to handle RDF. The script loads these jslib functions. Then, in the function testresult(), it uses an RDF object to get the RDF data from the homepage, select a resource from it and query an attribute of the resource.

You can also use the XPCOM RDF objects directly. So, at first glance Mozilla proves to be RDF-capable.
QR barcode by i-nigma.com/CreateBarcodes

Thursday, 20. May 2004

PIKII Personal Information

Just found PIKII on Planet RDF. Here is the original post.

Looks like an interesting approach that can be leveraged.
QR barcode by i-nigma.com/CreateBarcodes

Wednesday, 19. May 2004

starting to dive into Mozilla

I started today to do the programming examples from the lovely book Rapid Application Developement with Mozilla by Nigel Mc Farlane. Reading software books without doing the programming is like watching Simpson's without sound: senseless. So I will spend some time doing the examples.

At DFKI we are using Mozilla as browser and add some nice RDF features, so I had to learn Mozilla anyway. The book is rather fresh, the author announced it on RDF-IG some time ago and I had it lying aroung for weeks.

RDF in Mozilla

For those of you who don't know yet: Mozilla is soaked with RDF!.
And it has got lot of XML and javascript, an environment where I will feel cosy.

Mozilla is a very fine example of "how to use RDF and benefit". It uses RDF to configure the platform and to communicate between backend and user interface. great! To get started, look into your MOZILLA_HOME/chrome directory and the file chrome.rdf. They use seq tags in a nice and easy way.

perhaps this is the beginning of a longer lasting relation between Mozilla and me, we'll see...
QR barcode by i-nigma.com/CreateBarcodes

Monday, 17. May 2004

Magpie

hm, I just had another look at Magpie.

Being a Semantic Web hacker I had to download it and try it out.

Hm, looks like you have to download "all knowledge there is" (aka ontology) and then magpie uses the literals in this Ontology to find similiar strings in the document.

Have a look at the video, we all have to make videos for our projects. Inspirative.

What I also found out it that the "right click" menu on found items uses a webservice. Magpie opens then a website like this: magpie link.
If you look at the parameters of the URL, you will see that the onotolgy is identified as string value and the requested resource also.

- HM -

The idea is good and I think I can learn something here. Have to check out the publications though. Also the Internet Explorer integration is nifty. The user interface is fine. I think the architecture does not scale. Best part: it adapts to IE and does not need a whole haystack of applications :-)
QR barcode by i-nigma.com/CreateBarcodes
leobard - 17. May, 13:02

protocol

The magpie Servlet reminds me of the protocol question. Using these
https://plainmoor.open.ac.uk:3000/request-op-service?
name=MAGPIE&
class=PROJECT&
ontology=AKT-PLANET-STORIES-KB&
service=Project-Details

things is not real fine. URLs would be better identifiers and RDQL or so may be good. or, as usual, URIQA.

public calendars

coordinating my appointments with someone else is hard enough.

Some offer solution.

https://icalshare.com/ - public iCalendar files

https://www.eventsherpa.com/ - proprietary calendaring application that is iCal based. They want you to host your calendar on their site. Which is also ok.

I also looked on MozCal's calendar sharing ability and thought about using KDE's KOrganzizer. The two didn't agree on the same iCal lingo so I have to wait for newer versions.
QR barcode by i-nigma.com/CreateBarcodes

Nice things for gnowsis

I stumbled across some nice features I could use for www.gnowsis.com.

Features like Samsung contact. They are also on Freshmeat.

This leads to the question: Is it feasible to implement an Open Source MAPI interface? By doing this, we could fool Outlook into storing its information on a RDF store, perhaps server based.
otlkcon tries to do it.

Bynari Insight Connector is the "bring two good ideas together" approach. It uses an IMAP server as a storage device to host MS-Outlook data. That is plain GREAT. It implements MAPI and fools Outlook into storing all its data into Bynari. Bynari then forwards everything to IMAP. Don't wanna know what tweaks they did on the IMAP side, anyhow.
QR barcode by i-nigma.com/CreateBarcodes
thomasdelange - 16. Apr, 09:39

Pretty section! It feels great to read these articles like this, very informative and interesting. I have learned. Here’s another source that deserves a look on this. Thank you for sharing this information!may quay sonymay quay phim sonydien thoai nokia

Tuesday, 11. May 2004

kSpaces

kSpaces

kSpaces is a metadata-driven, distributed knowledge management platform. It was designed to be lightweight, transparent and extensible. The kSpaces proof-of-concept allows files to be described with arbitrary RDF metadata. These descriptions can then be easily shared with and queried by other nodes in the system. Finally, kSpaces-managed files can be made available to all other nodes participating in the same kSpace.

finally someone with good ideas and practical implementation. We have to see if kSpaces can be plugged together with gnowsis. I am looking forward to see this code deeper.
QR barcode by i-nigma.com/CreateBarcodes
icon

semantic weltbild 2.0

Building the Semantic Web is easier together

and then...

foaf explorer
foaf

Geo Visitors Map
I am a hard bloggin' scientist. Read the Manifesto.
www.flickr.com
lebard's photos More of lebard's photos
Skype Me™!

Search

 

Users Status

You are not logged in.

I support

Wikipedia Affiliate Button

Archive

September 2025
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
 
 
 
 
 
 

Credits


austriaca
Chucknorrism
digitalcouch
gnowsis
Jesus
NeueHeimat
route planning
SemWeb
travel
zoot
Profil
Logout
Subscribe Weblog
development