Essays:

Userland -
-



Sam Ruby
< It's just data >

Updated: 11/1/2002; 4:43:35 AM.

Monday, October 14, 2002

Dave Winer So, is your brain really hierarchic? Nope.  Mine is definately intertwingly.  Regular expressions are filed under BOTH Perl and Python.  Can't find a screwdriver?  Perhaps a butter knife will do.  I don't divide people up into east coast vs west coast, or even blonde, brunette, and redheads... all I see is the code. (multiple semi-obscure references in that last sentence).
  5:27:36 PM   Comment 

Glen Daniels: Enable SOAP 1.2 webmethod feature. Use it like this:

Call call = new Call("http://localhost/~glen/soap.xml");
call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS);
call.setScopedProperty("soap12.webMethod", "GET");
call.invoke();
SOAPEnvelope env = call.getResponseMessage().getSOAPEnvelope();

RESTful SOAP.  +1.


  9:47:52 AM   Comment 

Phillip Pearson: There's one thing I'd like to mention: the importance that the method used doesn't require separate RSS feeds to be generated for old and new locations.

To cope with existing aggregators that understand HTTP redirects but not the new redirect semantics, we want to be able to use an HTTP 301 redirect to point from the old to the new location. However, this means that RSS fetched from both URLs will be *identical*.

This makes perfect sense to me.  HTTP 301 redirect is the RESTful solution.  Blog hosting services should offer it.  RSS aggregators should not only follow it, but follow the instructions specified in RFC1945:

The requested resource has been assigned a new permanent URL and any future references to this resource should be done using that URL.

The problem?  Some aggregators are not currently layered properly to handle this.  Dave Winer indicates that Radio is one such aggregator at the moment. I suspect that this problem is widespread.  Update: Dave Winer indicates that he is testing a fix!  Bravo!

The solution?  The solution is not to do something instead of an HTTP redirect.  If there is a desire to do something in addition to an HTTP redirect, then any solution must deal with constraint that a redirect happened "under the covers" and that the feed the aggregator is actually reading is, in fact, the desired target feed.

Jon Udell seems to prefer one such solution.  I describe how it would work here.  Other solutions are possible.

My preference, however, would be to have HTTP 301 supported correctly on both the clients and servers.


  7:26:43 AM   Comment 

Despite my pleas, the number of subscribers to my radio feed is actually increasing. I don't want to force when everybody switches their subscriptions over to intertwingly, but perhaps a little good old fashioned social engineering might help...

if adritemcache^.when > date.set(14,10,2002,0,0,0) {
 local(contrast=string.mid(string.hex(255-(date.set(1,1,2003,0,0,0)-adritemcache^.when)/26700),5,2));
 add ("<description>&lt;div style=&quot;color:#" + contrast + contrast + contrast + "&quot;&gt;" + adritemcache^.text + "&lt;/div&gt;</description>")}
else {
 add ("<description>" + adritemcache^.text + "</description>")}


  5:13:35 AM   Comment 




October 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 31    
Sep   Nov

Click to see the XML version of this web page.


Related: Help link
Scripting News
Simon Fell > Its just code
John Robb's Radio Weblog
Peter Drayton's Radio Weblog
Bitworking
rebelutionary
Don Box's Spoutlet
Sjoerd Visscher's weblog - w3future.com
Bright Eyed Mister Zen
The .NET Guy

Click here to visit the Radio UserLand website.


Last update: 1/25/2002; 7:23:12 AM

© Copyright 2002 Sam Ruby

-