« October 2004 | Main | December 2004 »
November 26, 2004
Figured out where I was going wrong..
Note to self..
I need to use macros in my ZPT form builder. That's where I was going wrong.
Posted by pj at 08:38 PM
November 25, 2004
How to call REQUEST.set() from within ZPT
> How do I call REQUEST.set() ? Most uses of "REQUEST.set" can be avoided in ZPT because it has true assignment: tal:define="var value; global global_var value; ... " If you need to communicate with objects outside the ZPT (and you want to use "REQUEST" for this), you can use tal:define="dummy python: request.set(....)"
http://mail.zope.org/pipermail/zpt/2002-January/002763.html
Posted by pj at 05:09 PM
The Linear Topic Map Notation
Topic map notation format that is more human readable than XTM (the XML standard).
http://www.ontopia.net/download/ltm.html
There's also this Python tool tmproc.
Posted by pj at 03:20 PM
November 24, 2004
FOAF explorer view of my weblog metadata
Posted by pj at 11:02 AM
Photo metadata
I've finished the cataloguing tool for my photo album and formalised how the RDF is represented for the album, each collection, associated events and event attendees and then person depictions in the images themselves.
This is done within the framework of the CC License and Work model to assign a CC license to everything aswell.
I've also set up an RSS feed of the latest catalogued pictures and then hacked Feed2JS so that it pics up the image thumbnails if they are in the feed:
Paul Hollands - Photo Album - RSS
Posted by pj at 10:14 AM
November 23, 2004
RSS 1.0 module for photos
RDF Site Summary 1.0 Modules: Img
Posted by pj at 01:02 PM
November 22, 2004
A Web Service Interface for Creating Concept Browsing Interfaces
DLib article:
http://www.dlib.org/dlib/november04/sumner/11sumner.html
Posted by pj at 10:58 AM
November 18, 2004
Instructions for building PHP with Apache 2
Apache 2 and PHP (mod_php) on Linux
Posted by pj at 11:41 AM
Compiling and installing Apache
Compiling and Installing - Apache HTTP Server
See also:
http://httpd.apache.org/docs-2.0/programs/configure.html
Posted by pj at 11:29 AM
November 16, 2004
Photo metadata: the co-depiction experiment
RDFWeb: co-depiction photo metadata
Posted by pj at 10:14 PM
Script to generate just FOAF
I've added a PHP script that generates just my FOAF, as opposed to the FOAF and blog DC.
http://minnesota.ncl.ac.uk/foaf.rdf.php?email=p.j.hollands@ncl.ac.uk
Posted by pj at 05:02 PM
PKN and Social Networks Change Knowledge Management
PKN and Social Networks Change Knowledge Management
Posted by pj at 11:45 AM
November 15, 2004
Guide to a Linux iTunes Server | Linux Gazette
Guide to a Linux iTunes Server | Linux Gazette
Posted by pj at 11:41 AM
November 13, 2004
Article introducing del.icio.us
XML.com: Introducing del.icio.us
Posted by pj at 07:44 PM
November 12, 2004
Calendar woes
Sunbird turns out to be quite buggy and I can no longer be doing with it :(
I've had to go back to using version 1.6 of Mozilla with the 1.4 Linux install. This seems to work fine. Any later version of Mozilla and I can't get the installer to work.... Arrrrgh..
Posted by pj at 03:49 PM
November 11, 2004
Syndicated bookmarks in Mozilla 1.0
You can now bookmark RSS feeds in Mozilla 1.0, but you need the following tags in the headers of your pages to let it know there are feeds available:
<link rel="alternate" type="application/atom+xml" title="Atom" href="http://minnesota.ncl.ac.uk/fuzzybuckets/atom.xml" />
Posted by pj at 12:44 PM
Changes to my photo album code
I finally installed my PHP photo album on minnesota with the latest version of PHP which has GD rolled into it. When I finally got the JPEG library compiled into it though, I was getting images with only 256 colours.
I amended the code as follows and now have better image quality than I do with the app running on my iBook with a more aged PHP:
#$img_src=imagecreatefromjpeg('yoursource.jpg'); #$img_dst=imagecreatetruecolor(20,20); #imagecopyresampled($img_dst, $img_src, 0, 0, 0, 0, 20, 20, 20, 20); #imagejpeg($img_dst, $g_dstfile, 100); #imagedestroy($img_dst); $original = imagecreatefromjpeg($url); $new = imagecreatetruecolor($width, $height); #$new = imagecreate($width, $height); imagecopyresampled($new, $original, 0,0,0,0, $width, $height, $size[0], $size[1]); #imagecopyresized($new, $original, 0,0,0,0, $width, $height, $size[0], $size[1]); Header("Content-type: image/jpeg"); if(is_null($gamma_off)){ imagegammacorrect($new, 1.0, 1.6); } imagejpeg($new, '', 100); #imagejpeg($new, '', 90); imagedestroy($new); imagedestroy($original);< http://minnesota.ncl.ac.uk/photo_collections.php >
I've also added CC license, DC and FOAF metadata to the scripts. See copyright.rdf.
Posted by pj at 11:40 AM
November 10, 2004
Feed2JS - RSS to Javascript code from Maricopa
< http://jade.mcli.dist.maricopa.edu/feed/ >
Posted by pj at 04:41 PM
November 08, 2004
Adding blogrolls to MT
- < http://people.etango.com/~markm/archives.....>
- < http://people.etango.com/~markm/archives....>
Posted by pj at 09:03 PM
Publishing my iCalendar files as RDF
I've been tinkering with the Python tool by Dan Connolly for converting .ics files into RDF. I've set up a series of cron jobs to grab my .ics files from the Zope server where I store them and convert them and publish them to the web server as RDF:
< http://minnesota.ncl.ac.uk/Work.rdf.xml >
< http://minnesota.ncl.ac.uk/Home.rdf.xml >
The cron jobs update the file every half an hour.
Posted by pj at 03:16 PM
November 04, 2004
iBook blues
Went to try and do a software update again yesterday to install iTunes 4.7, but it just sat there like it had for the past four days. I decided to try and run an update from the command line and that seemed to work OK but it got to 94% complete and it stopped. I killed the process but my Finder immediately froze up. I rebooted but the Finder just hung up again with the beach ball of doom.
All the networking was still up so I ssh'd to the machine and did a top. coreservicesd
was hogging 99% of the CPU cycles and each time I rebooted it just came right back up again and took over the machine.
After a night of fruitless searching and tearing out of hair, Tony M suggested I delete the /Library/Caches
directory.
That seems to have fixed it. I suspect I was in some sort of Software Update induced behaviour loop :(
Posted by pj at 11:37 AM
November 02, 2004
Libby Miller's work to convert iCalendars to RDF
Libby Miller has come up with a two stage protocol for converting iCalendars into RDF:
<http://www.w3.org/2002/12/cal/>
I've got my own iCalendars up on the Web on minnesota now:
<http://minnesota.ncl.ac.uk/calendar/>
Looking to get an RDF view of them too.
Posted by pj at 05:03 PM
Presentation about use of blogs and RSS for RLO peer review
This was posted by Phil Barker on the LTSN-Technical list and really set me on a different tack in my thinking about RLO evaluation, hence my current rabid bloggery:
<http://www.mcli.dist.maricopa.edu/show/nmc1003/>
Posted by pj at 03:23 PM
Addition to MT FOAF stuff
Added extra stuff to the MovableType metadata stuff I did yesterday. Thought it'd be nice if I could express my RSS subscriptions as foaf:subscribesTo statements. Wrote a stylesheet to convert NetNewsWire's output format OPML into FOAF RDF and then rolled it into the mt_metatada.rdf.php script I wrote yesterday.
The next step could be to build a web view of your aggregated feeds using the Magpie parser detailed earlier:
<http://minnesota.ncl.ac.uk/fuzzybuckets/archives/2004/10/index.html#000081 >
Posted by pj at 02:16 PM
What Do Application Profiles Reveal about the Learning Object Metadata Standard?
New Araidne article by Carol Jean Godby from OCLC and posted by Phil Barker on the CETIS-METADATA list:
<http://www.ariadne.ac.uk/issue41/godby/>
Also this summary by Scott Leslie:
<http://www.edtechpost.ca/mt/archive/000595.html>
Posted by pj at 10:22 AM
November 01, 2004
Extracting DC and FOAF metadata from the MT table structure
I've just spent the day trying to extract some decent metadata for my blogs from the vanilla MT v3.121 database tables. There's enough information there for a quite a rich Dublin Core description of the blog itself plus a very basic FOAF entry. I've augmented the FOAF entry with a very very hacky new table.
This gives an RDF description of the site with dc:creator tied to the FOAF node to produce a correct graph.
To get the raw RDF see:
<http://minnesota.ncl.ac.uk/mt_metadata.rdf.php?blog_url=http://minnesota.ncl.ac.uk/fuzzybuckets/>
Note that you pass the blog URL to the PHP script as the argument.
To render this up as HTML I then run this through an XSL stylesheet to give this:
<http://minnesota.ncl.ac.uk/render_mt_metadata.php?blog_url=http://minnesota.ncl.ac.uk/fuzzybuckets/>
Posted by pj at 05:09 PM