|Last updated: 6/5/2002; 8:34:17 AM|
Marketing 101. Consulting 101. PHP Consulting. Random geeky stuff. I Blog Therefore I Am.Building a Large Scale Distributed Outline Renderer for OPML
Building a Large Scale Distributed Outline Renderer for OPMLOPML is a wicked cool way to display lightweight hierarchies of information. Its an easy to implement (I did it in less than an hour for a FAQ application), xml based, simple specification. It works and the author should be gosh dang proud of it. Here's the rub: OPML is displayed as XML tags in the browser. Here's what you see in IE:
This is a Distributed Rendering ProblemHere are the issues as I see it:
- Take an OPML url and generate HTML from it for display. XSLT, DHTML, etc. Who cares? Let's get it done so that "Mom" or "GrandPa" can view it. (No disrespect to highly technical Moms and GrandPas out there, this is a metaphor). Edit or view, who cares? Have to start somewhere and View is easier.
- Give a link to the actual OPML url so that if people have a mime compliant OPML editor, it can be edited. OPTIONAL: Let people have a preferences facility to bookmark them and share them.
- Do it without breaking the bank on hardware.
Write this in a commonly available web language currently installed on over 3,000,000 hosts world wide that also happens to be network ready, xml capable and really, really easy to get stuff done in. Sure, we'd all love to use Zope or Python or ExoticLangOfTheDayHere. Guess what: PHP's what I recommend. It meets these criteria and more.
It’s wicked portable, fast enough and has none of the install problems with Perl scripts (flames to firstname.lastname@example.org).
- Write a renderer in PHP. Make it smart enough to update its rendering params from a server periodically. Make it accept one parameter, the OPML file to render.
- Write this code so it's drop dead simple to install on a server. Make it "ioview.php", no includes. Copy it into a website and go.
- Let people who download it and install it sign up with UserLand as an "OPML Partner". Award "Karma Points" if they do it.
- Let UserLand operate a redirector service which forks IO rendering requests out at random to different servers all over the globe. This could probably be done with one or two Linux boxes. Sure we could make it fancy but let brute force solve it for now. Heck, all UserLand really has to do is own the DNS entries and a little tiny bit of hardware to jumpstart it.
- Ask the Radio community to help out. I have right now 3 boxes I could register. I don't mind giving up a little cpu and bandwidth.
- Do something with the "Karma Points". Have a pot luck supper or something. Who cares. We'll do it because we're a community and we believe. The karma is just an idea.
|Copyright 2002 © The FuzzyStuff|
Posted In: #opml