Coda File System

Re: Improving Coda documentation

From: Jan Harkes <>
Date: Thu, 14 Apr 2005 17:34:14 -0400
On Thu, Apr 14, 2005 at 02:29:14PM -0600, Patrick Walsh wrote:
> > The cgi script then uses HTTP_REFERER to get the right comments for the
> > page out of a database. Here is what it looks like,
> >
> > 
> > Would something like that be useful?
> 	Yes, it would be useful, but boy is it ugly.  And <object> or <iframe>
> both cause you to have to scroll within a window, which is poor
> interface design.  Could you use apache server side includes to include
> the content without putting it in a box?
> (

Well, I tried (

But the cgi output isn't really included the same way. First of all
there isn't a referer, but a document_uri, which is doable. And it
includes the whole thing including HTML headers which makes the
resulting page pretty ugly, but that can be worked around.

The real problem is that is isn't possible to submit a new comment or
hide one of the existing comments (that's what those '-' bullets are
for). The POST request ended up going back to the static page, and the
server ignored that. Changed the action, but the code that redirects us
back to the original page really screws up the browsers' idea of where
we are. Now the location bar shows the cgi script, but it displays the
page that called the script.

Received on 2005-04-14 17:35:12