Updated: 4/24/2002; 9:14:42 PM.
Ham Journalism

Wednesday, April 03, 2002

Regarding that Cocoon stuff below, there is really no code behind it, except for that pipeline definition. If you copy the pipeline code and paste it into the correct place in your sitemap.xmap file, it should work as-is. The opml2html.xsl file is the one available here. I just copied it to my local filesystem into cocoon/stylesheets/ to make the pipeline run faster. I believe you can do a map:transform using a direct URL, as well.

9:42:45 PM    comment []

More about web-based editing from xml-cocoon-dev:

The _dilemma_ lies in enforcing the user's input as semantically reasonable data, without losing the WYSIWYG traditions of the nowadays document management.

5:33:17 PM    comment []

[03/Apr/2002:17:25:44 -0500] "GET /images/misc/opmlCocoon.png HTTP/1.1" 200 16339 "http://radio.weblogs.com/0100630/2002/04/03.html" "Mozilla/5.0 (WE ARE BLOG. YOUR LINKS WILL BE ASSIMILATED. RESISTANCE IS FUTILE.)"

Hahahaha :)

4:34:12 PM    comment []

A while ago there was some discussion stuff about using WebDAV to edit content in Cocoon:

Web forms suck big time. This is the main concern: if you are a writer and need to edit real world documents you can't stand the textarea limitations.

I found this good essay by Stefano Mazzocchi about XML Databases and storing information in them as opposed to an RDBMS.

I am transforming OPML to HTML realtime inside Cocoon. The next step is to render to PDF, SVG, etc on the fly, and allow some sort of remote editing.

A note on how this works: This *is* using XSL, it's just happening on the server-side, and not on the client-side, unlike Rogers Cadenhead's setup which is cool but it requires IE :)

The pipeline in Cocoon looks like this. It's very simple. It uses a really powerful feature of Cocoon generators which allows you to get XML source from a URL across the Net:

	<map:match pattern="opmlRender">
		<map:generate src="http://radio.weblogs.com/0100630/instantOutliner/tonyCollen.opml"/>
		<map:transform src="stylesheets/opml2html.xsl"/>
		<map:serialize type="html"/>

1:34:37 PM    comment []

© Copyright 2002 Tony Collen.
April 2002
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        
Mar   May

Click here to visit the Radio UserLand website.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

Click on the coffee mug to add Tony Collen's Instant Outline to your Radio UserLand buddy list.