screenshots and examples, download (save it to disk and then drag it into the Firefox window to install. You'll need to restart after that).
First open up the extension by clicking on tools/pigsty. Clicking on one of the preloaded links in the top half of the pigsty sidebar will load the images described in that file and descriptions of them. You can then filter by person, place, date or tag, using the button on the top right of the panel with the arrows. This loads all the people (dates, place or tags) in the pictures you've downloaded and puts them lower in the sidebar. You can then click on these to see all the associated photos (effectively "all pictures of Dan Brickley" or "everything tagged 'tuscany'" etc).
The extension automatically adds galleries it finds in foaf files to the sidebar and to a bookmarks folder 'pigsty feeds' (to try this feature go to my homepage - what it's doing here is finding my foaffile linked in the html head and then parsing it for galleries).
It expects foaffiles to be linked from the html file like this:
<html> <head> <link rel="meta" type="application/rdf+xml" title="FOAF" href="foaf.rdf" /> </head> <body> ... </body> </html>
and galleries to be linked within the foaffile like this:
<foaf:Person>
<rdfs:seeAlso>
<wn:Gallery-3 rdf:about="http://libby.asemantics.com/2005/04/pictures/2005-04-12.rdf"/>
<dc:title>Sparqling days in Monte Sansavino</dc:title>
</wn:Gallery-3>
</rdfs:seeAlso>
<foaf:Person>
Using the namespaces:
rdfs: http://www.w3.org/2000/01/rdf-schema# rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# foaf: http://xmlns.com/foaf/0.1/ wn: http://xmlns.com/wordnet/1.6/ dc: http://purl.org/dc/elements/1.1/
see an example file and an rss 1.0 example file for the sorts of RDF it can deal with.
This stuff is pretty damn flakey so use and your own risk. It also borrows heavily from many other extensions - in particular Sage, the RSS reader. It also uses Jim Ley's javascript RDF parser. The good stuff is theirs, the flakiness is all my own.
It's called Pigsty because the code is a bit of a mess and in hommage to piggybank a rather more sophisticated and featureful RDF browser Firefox extension. Also Pigsty Hill is a place in Bristol, in line with traditional naming practices for RDF software ;-)
This is my first try at an extension and really the whole thing would have been better as an extended version of Sage but my understanding of Firefox extensions wasn't up to it. Consider this one to throw away and I'll have another go at some point.
libby@asemantics.com, 2005-04-19