Xcal : Progress on Calendar

Started doing more work on the Calendar part of my website. Finally got cocoon to read inside of a Xcal. So now its more a matter of how do I actually put the xcals in the webdav directory. Once there in there I can write a classy transformer so you can read most of the information online, but also add the xcal to your calendar. I do believe xcals are accepted by all ical compatable applications? The rdf version was also a option but I can easily enable that if more accept that…

Found some useful links too.
Mozilla Calendar Notes and Queries

iCalendar DTD Document (xCal)

Comments [Comments]
Trackbacks [0]

Webdav calendar share

At long last my wife has given up on Outlook and Internet explorer. So I set her laptop up with Opera, Mozilla and Neos Jabber client. And shes loving the calendar in Mozilla 1.5, she loves the idea you can actually share calendars and see others.

So now I really need to sort out a webdav server so I can actually get our calendars working in each others clients. Saw this after a short search. Oh spotted this too…Yum

Comments [Comments]
Trackbacks [0]

calender for london events

Been thinking about this once again, and reality has started to shows its face again.

First up, I think the grabbing of louise ferguson's events page, would be too much work for small gain. So until she changes the format of the page so the content is seprated from the style there is little I can do. Its just too messy and theres too much inconsistency for me to write a xsl to transform the page into useable content.

I have however been thinking of other ways of doing what louise has done.
I first thought of creating a blog for events. Sounds perfect right? You know you have the calendar already there, the ability to search via category's, etc, etc. But there was a major problem which came up when I started thinking deeper. When you write a blog that is the date of the blog, just like this one is actually being written at 2am in the morning on Sunday 5th October. But if you wanted to blog a event, the event would have had to have happened. Which is no good because no one would then know about it till the day! Not much good you would say.
So i need to be able to change the actual date of the blog to certain specified date. Sounds easy enough, and maybe it is but not without some serious hacksawing of a blog server. The other way would be to touch the blog on the filesystem. But who would want to do that and who would allow people from outside to do such a thing. The last option I thought about was using the metablog mechanism. See usually theres a small amount of meta posted hence

#Thu Aug 21 13:44:45 BST 2003
blog-entry-author=ianforrester

Now if I could work out how to add – blog-event-date=20031027 which obvioulsy means 27th October 2003 and get the blog server to read that as the post date. We would be cooking!

So even thought the last idea would be fantastic, I'm forced to think about another solution because I want to start putting events up for my students soon. And of course for those interested in whats on in London.

So I've been looking at the ical format from two points of view.
I'm using Mozilia's Calendar and exporting the events as ical rdf and xml then putting them on my webdav server. The other view point i'm looking at it from is the ical spec. which is large and quite scarey in some parts, but its for the non xml version which is a problem but gives me a good idea of names and whats possible. Heres a example of a event i'm going to in 2 weeks time.
The completely xml version and The rdf xml version. So whats my next step, well I can easily write a pipeline in cocoon which will pick up all ical's in that directory and using xsl pull out the title and arrange them by there event date. so you would agree that is a good start for now. If i get time tomorrow I'll do it, but I know I got a few other tasks to do before this.

Comments [Comments]
Trackbacks [0]

London events lack of progress

Ok I've hit a brick wall it would seem.
The issue is a very simple one, Cocoon wont accept Louise's non-valid html at all. I've defined a pipeline using jtidy which is the java version of html tidy, so the html from this source should be cleaned up before its used in a xsl transformation.
This isnt happening at all, and in the end i'm getting this instead. You can clearly see the title which is valid xhtml, but as soon as it hits anything non valid it throws a 500 servelet exception.

I have two paths forward, manually rewrite louises html into a file I can use or talk to louise about writing things in standard xhtml. The last one is the most difficult, because looking at her site, its all written using the same template. I dont want to add work to louise because this should be do-able with cocoon.
Oh heres the link for the clean one I'm working on.

Comments [Comments]
Trackbacks [0]

The london designer events calender

Its bizarre how these things happen or better still how they start happening.
I while ago I wanted to create some kind of ical service which would allow a small community of designers to share calender dates. And it kind of work except for one thing. You need more than just a webdav server to allow multiple people to change one ical file. Damm I thought, oh well move on.
But its been bugging me still, and when I met Louise Fergonson at this AIGA event. The memories started coming back.

See Louise actually manually keeps a kind of blog of upcoming events in London which designers would be interested in going to. I personally found it great and attended the Spiked gone to the blogs event because of her.

So whats the problem then? Well the problems are these.

I can not sydicate the events, which may sound pretty pettie but it means I have to return to her events page everytime I want to check.

I still have to manually copy and paste events into outlook or any other calender program I'm using.

So yes these may sound pettie, and I dont want to put down the seriously hard work Louise has put into the events page. But with a bit of xml magic, it shouldnt be a problem to create a rss feed and a icalendar.

How is this possible? Well this is in theory and quickly,
Louise's Html seems pretty messed up, it doesnt validate as xhtml as there is no doctype or things like that. So I will run it thought Cocoon's html tidy pipeline then start using xsl to filter out all the navigation and stuff, at which I should be left with only the content. Another xsl pipeline (or the same?) will turn the content into structured xml (may use ical or invent my own for now). Once its in that format I can turn it into anything I like. I am going to create rss feed to start off with then go about creating icals.
Will expalin better later, if that made no sense.

Comments [Comments]
Trackbacks [0]

Slashdotters meetup updated


Ok, I cant count this meetup, the unexpected happened. I left to go to the slashdotters meetup and got to east croydon by 1800. Great I thought, what I'll do is go via New cross gate and pop up to brick lane via the east london line. Got to New cross gate, boarded the tube and the train suddely stopped. Why? The tube driver said it was down to a signal failure. Nothing new. But no it was more serious than we all thought, and while i sat there between new cross gate and surrey queys. The choas unfolded.

I only found out later when I finally got out of the tube and got a text message from my wife. Did you get to the meetup with the power cuts? What power cut, I was thinking? Everything seemed fine, only realised now I was sitting on a tube while most of the national grid in London had gone down.
The funny thing is I was having a go at my wife about americas power outage last week. Well at least it was only 30mins here not days!

The interesting thing I found thinking about Zeldman's blog, was that the mobile phone transmitters never went down once as I was able to get a gprs connection while sitting there on the tube. I never looked at my 3g phone, but I'm sure it was all fine too.

Anyway back to the meetup as such, I was lucky because the east london line power was quickly restored and I was away, while the other lines were all down. But it was pointless because no one else made it I dont think, plus the fact I got there 1 hour late. What kinda of host am I? But come on the there was bloddy power failure! in London!


Comments [Comments]
Trackbacks [0]