Filter nodes (000007)
XSSFilter could not parse (X)HTML:
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:51 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:51 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs86070wfe;</p>
<pre><code> Mon, 19 Jan 2009 07:11:58 -0800 (PST)
</code></pre>
<p>Received: by 10.100.126.19 with SMTP id y19mr3989399anc.2.1232377916889;</p>
<pre><code> Mon, 19 Jan 2009 07:11:56 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id c28si3810630anc.25.2009.01.19.07.11.46;
Mon, 19 Jan 2009 07:11:56 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LOxcG-0004Zl-AQ; Mon, 19 Jan 2009 15:08:48 -0200
</code></pre>
<p>Received: from mail-bw0-f15.google.com ([209.85.218.15])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LOxcE-0004Zf-4t
for sputnik-list@lists.luaforge.net; Mon, 19 Jan 2009 15:08:46 -0200
</code></pre>
<p>Received: by bwz8 with SMTP id 8so1224775bwz.5</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 07:11:05 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:to
:subject:mime-version:content-type;
bh=+1Ecf9IwasVGPA7nv36RwEmlGJOnzBHqypqr4ACgDXg=;
b=Nbhlvy9xRr5YnEv0emht3mrw3ADlmdVhoo371LTml88787G4jl8pI5i66iA+BUDcZP
Eqs8VwJ6qE+8MREUtWfjb+byMW0m/VmZZd4TUqfCAwjNv9VfVhlyexIIY00bqIFOiya0
YHrAQPTbP7gPUeXkDOvVZzopuo9cN22jTLZcA=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:to:subject:mime-version:content-type;
b=eNXdIiTq6Brjk2Yc2RMKcgz/I1CV8LLUHvB1oSKYgz6bsrpY6tiuurb+8mhPp+lQyO
NI3mo4ln84M7F5XefZY9pWbpBxoKHQxInE/UXP2LBH+G7boimLzfHuPv98Xi5qTrNZed
JEFSCzPvgwDjAjugxC9u+oUACMLMwaSajVvdk=
</code></pre>
<p>Received: by 10.181.193.15 with SMTP id v15mr2110705bkp.7.1232377698252;</p>
<pre><code>Mon, 19 Jan 2009 07:08:18 -0800 (PST)
</code></pre>
<p>Received: by 10.181.26.6 with HTTP; Mon, 19 Jan 2009 07:08:18 -0800 (PST)
Message-ID: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a>
Date: Mon, 19 Jan 2009 13:08:18 -0200
From: "=?ISO-8859-1?Q?Lu=EDs<em>Eduardo</em>Jason_Santos?=" <a href="mailto:jasonsantos@gmail.com">jasonsantos@gmail.com</a>
To: sputnik-list@lists.luaforge.net
MIME-Version: 1.0
Subject: [Sputnik-list] Filter nodes
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Content-Type: multipart/mixed; boundary="===============1017179364=="
Mime-version: 1.0
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>--===============1017179364==
Content-Type: multipart/alternative; </p>
<pre><code>boundary="----=_Part_20039_19146041.1232377698251"
</code></pre>
<p>------=<em>Part</em>20039_19146041.1232377698251
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline</p>
<p>Hi, list!</p>
<p>I was wondering this weekend while trying to import my WikiMedia data to
Sputnik:
Is there a way of creating a node that kind of 'filters' another node,
passed to him as a parameter?</p>
<p>I am thinking something in the line of:</p>
<p>http://spoo.tnik.org/en/Tags:technology
http://spoo.tnik.org/en/Category:technology</p>
<p>This could trigger a standard action (like a Category.filter action
receiving the node 'technology')</p>
<p>Is there some (non-hacking) way to do that?</p>
<p>Lu=EDs Eduardo Jason Santos</p>
<p>------=<em>Part</em>20039_19146041.1232377698251
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline</p>
<p>Hi, list!<br><br>I was wondering this weekend while trying to import my Wik=
iMedia data to Sputnik:<br>Is there a way of creating a node that kind of &=</p>
<h1>39;filters' another node, passed to him as a parameter?<br><br>I am th=</h1>
<p>inking something in the line of:<br>
<br><a href=3D"http://spoo.tnik.org/en/Tags:technology">http://spoo.tnik.or=
g/en/Tags:technology</a><br><a href=3D"http://spoo.tnik.org/en/Category:tec=
hnology">http://spoo.tnik.org/en/Category:technology</a><br><br>This could =
trigger a standard action (like a Category.filter action receiving the node=
'technology')<br>
<br>Is there some (non-hacking) way to do that?<br><br clear=3D"all">Lu=EDs=
Eduardo Jason Santos<br></p>
<p>------=<em>Part</em>20039_19146041.1232377698251--</p>
<p>--===============1017179364==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>--===============1017179364==--</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:51 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:51 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs86483wfe;</p>
<pre><code> Mon, 19 Jan 2009 07:20:00 -0800 (PST)
</code></pre>
<p>Received: by 10.100.47.13 with SMTP id u13mr2928418anu.106.1232378399150;</p>
<pre><code> Mon, 19 Jan 2009 07:19:59 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id b32si3840504ana.35.2009.01.19.07.19.48;
Mon, 19 Jan 2009 07:19:58 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LOxk4-0004aj-3w; Mon, 19 Jan 2009 15:16:52 -0200
</code></pre>
<p>Received: from yw-out-2324.google.com ([74.125.46.31])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LOxk1-0004ae-Tr
for sputnik-list@lists.luaforge.net; Mon, 19 Jan 2009 15:16:50 -0200
</code></pre>
<p>Received: by yw-out-2324.google.com with SMTP id 2so1020629ywt.89</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 07:19:40 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:to
:subject:cc:in-reply-to:mime-version:content-type
:content-transfer-encoding:content-disposition:references;
bh=4unohtUJcYqLRoY/dEZ+DV4b7232mZvL8dMWZIUsz4c=;
b=mGv8oisZGjMlzMBRbrKx0fvWPlq3SG1OQw+bSXuiY+g24UWnwUfgIyHONzA263ezoN
QZi8SBKSRAH5BkUNw4XGyEt1HZVmYm5k1SJXUsYCboay99/1iIC3z56kA/+bnuBR3b3v
ym+9EaFtRP0j+k8WEL4e/G7OeLc6ofFXiGweo=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
:content-type:content-transfer-encoding:content-disposition
:references;
b=sM0wDmN5Bz+NSXsIW5YAAmBgnLMTckp22/c53A3FA+394Wf6WDoVdAwaj5oP2D6kqm
fHyhZ0HADg4YFMxDeoiyx9XBFFyUxKstH6ax8tr4jseckGFjZptMJTSEXNoIfVd2yeO4
/8GujeLIqfas5L95pwLoISOIPZyYsevVk1pho=
</code></pre>
<p>Received: by 10.150.201.2 with SMTP id y2mr6092949ybf.242.1232378379609;</p>
<pre><code>Mon, 19 Jan 2009 07:19:39 -0800 (PST)
</code></pre>
<p>Received: by 10.150.227.21 with HTTP; Mon, 19 Jan 2009 07:19:39 -0800 (PST)
Message-ID: <a href="mailto:5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com">5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com</a>
Date: Mon, 19 Jan 2009 15:19:39 +0000
From: "Jim Whitehead II" <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
To: "=?ISO-8859-1?Q?Lu=EDs<em>Eduardo</em>Jason_Santos?=" <a href="mailto:jasonsantos@gmail.com">jasonsantos@gmail.com</a>
Subject: Re: [Sputnik-list] Filter nodes
In-Reply-To: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a>
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Mon, Jan 19, 2009 at 3:08 PM, Lu=EDs Eduardo Jason Santos
<a href="mailto:jasonsantos@gmail.com">jasonsantos@gmail.com</a> wrote:</p>
<blockquote>
<p>Hi, list!</p>
<p>I was wondering this weekend while trying to import my WikiMedia data to
Sputnik:
Is there a way of creating a node that kind of 'filters' another node,
passed to him as a parameter?</p>
<p>I am thinking something in the line of:</p>
<p>http://spoo.tnik.org/en/Tags:technology
http://spoo.tnik.org/en/Category:technology</p>
<p>This could trigger a standard action (like a Category.filter action
receiving the node 'technology')</p>
<p>Is there some (non-hacking) way to do that?</p>
<p>Lu=EDs Eduardo Jason Santos</p>
</blockquote>
<p>That's an interesting question. The only way I can think of
accomplishing this in the current version of Sputnik would be to use
prefix patterns or child defaults and create the URLs like so:</p>
<p>http://spoo.tnik.org/en/Tags/technology
http://spoo.tnik.org/en/Category/technology</p>
<p>I'm not sure if child defaults can handle patterns (I'd have to look)
but if so you'd just set it so that any child node of /Tags is set to
use a custom action for viewing that handles scanning the valid nodes
in your wiki and displaying those with the correct tags (or
categories).</p>
<p>If you are using non-clean URLs you can include a new GET parameter
without making things any nastier and you can access that directly
through the request in your custom action.</p>
<p>I'm interested in the concept of being able to pass parameters to a
given node rather than always having to access a sub-node. That could
open up a lot of really nice applications that right now aren't
terribly easy to accomplish.</p>
<ul>
<li>Jim</li>
</ul>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:52 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:52 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs88271wfe;</p>
<pre><code> Mon, 19 Jan 2009 07:57:19 -0800 (PST)
</code></pre>
<p>Received: by 10.100.143.14 with SMTP id q14mr4014989and.47.1232380638068;</p>
<pre><code> Mon, 19 Jan 2009 07:57:18 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id c37si2457890ana.22.2009.01.19.07.57.08;
Mon, 19 Jan 2009 07:57:17 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LOyK9-0004jo-Tg; Mon, 19 Jan 2009 15:54:09 -0200
</code></pre>
<p>Received: from yw-out-2324.google.com ([74.125.46.30])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LOyK8-0004jj-UG
for sputnik-list@lists.luaforge.net; Mon, 19 Jan 2009 15:54:09 -0200
</code></pre>
<p>Received: by yw-out-2324.google.com with SMTP id 2so1029387ywt.89</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 07:56:59 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:mime-version:sender:received:in-reply-to
:references:date:x-google-sender-auth:message-id:subject:from:to:cc
:content-type:content-transfer-encoding;
bh=w4VApP+boXXq1tV71dLsEvEzNPRC+NPFk2DBFc2UADA=;
b=Jq4R12xGk8LKtBIDYJU9TAhO1Nm39m/fB+iQKBvIa4NBrtgEnPFwt8NGghojWR+/8q
fW2rw6Ax3TD5Svh2htiE9jRsi5S36xWfl4r1m4Q7H2P1czM4Jga4TXOlZAevaSChP+tt
4vIiiJGl3dUR82Br+kqIq6CDFBkM8NBYBqKG8=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type
:content-transfer-encoding;
b=ulsBfkRlIpxIAfiNh7FabGwNZuiUz8x1BgklweOSzz8OjARSXQO93NEWoXtW8HphOv
NVgfcp6mibQxHPZru0lKIFgwcyBOlj3Wjp1BswMTCNHzur8T3YnF09rYVeToGohWN2hF
XB4oWzaJYt/DdPhQdP1PtoLNPtWu6E1Kchlt4=
</code></pre>
<p>MIME-Version: 1.0
Received: by 10.231.15.73 with SMTP id j9mr590443iba.52.1232380619261; Mon, 19 </p>
<pre><code>Jan 2009 07:56:59 -0800 (PST)
</code></pre>
<p>In-Reply-To: <a href="mailto:5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com">5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com</a>
References: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a></p>
<pre><code><5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com>
</code></pre>
<p>Date: Mon, 19 Jan 2009 13:56:59 -0200
X-Google-Sender-Auth: caafb7352cbb19fa
Message-ID: <a href="mailto:92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com">92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com</a>
Subject: Re: [Sputnik-list] Filter nodes
From: Andre Carregal <a href="mailto:carregal@fabricadigital.com.br">carregal@fabricadigital.com.br</a>
To: Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Mon, Jan 19, 2009 at 1:19 PM, Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a> wrot=
e:</p>
<blockquote>
<p>...
I'm interested in the concept of being able to pass parameters to a
given node rather than always having to access a sub-node. That could
open up a lot of really nice applications that right now aren't
terribly easy to accomplish.</p>
</blockquote>
<p>I also would like having such kind of "path processing". OTOH, this
may impose a certain load on the dispatcher (I'm not sure how it is
working currently)...</p>
<p>One way to interpret the URLs would be to walk them from the left
asking for each part that was a node name if it has some specific
method (say "node<em>handler") and if so, call "node</em>handler" passing the
remaining parts of the URL.</p>
<blockquote>
<blockquote>
<p>From there, a node such as "category" could use its "parameter" (in
this example "/technology") in whatever way it wanted.</p>
</blockquote>
</blockquote>
<p>Note that this is very close to controllers in the "standard MVC" web
implementations, which could be a good or bad thing... :o)</p>
<p>Andr=E9</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:52 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:52 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs88569wfe;</p>
<pre><code> Mon, 19 Jan 2009 08:03:24 -0800 (PST)
</code></pre>
<p>Received: by 10.101.1.11 with SMTP id d11mr3998601ani.113.1232381003646;</p>
<pre><code> Mon, 19 Jan 2009 08:03:23 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id b32si3905172ana.35.2009.01.19.08.03.13;
Mon, 19 Jan 2009 08:03:23 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LOyQ4-00058o-2S; Mon, 19 Jan 2009 16:00:16 -0200
</code></pre>
<p>Received: from yx-out-2324.google.com ([74.125.44.29])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LOyQ3-00055H-F1
for sputnik-list@lists.luaforge.net; Mon, 19 Jan 2009 16:00:15 -0200
</code></pre>
<p>Received: by yx-out-2324.google.com with SMTP id 3so1031846yxj.89</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 08:03:06 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:received:received:message-id:date:from:to
:subject:cc:in-reply-to:mime-version:content-type
:content-transfer-encoding:content-disposition:references;
bh=TcOnSYmFHaPiEjWvYcCN2vAqZOxwoXRWG3c2sSLV/JE=;
b=qD/geELgESP0W6PKNhzS8HRLP5vPi3QId2kAZK7tl/HMgqKdhMlDL2uSk0M1dDs6a9
Txs5lYwBIY5CVtDJHXMT1fpvynKU8x+IDe/b86KQo5eBkRO6jyT2z4VZ1w7S7DHIsdnv
L0XR/xCQX3m6HUL3Ir/L53ejlfWWMlqGke1GM=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
:content-type:content-transfer-encoding:content-disposition
:references;
b=NM1BTfw2lbdBTkOF5cX6KcCWxYZNsWFxpAStFWAgEtOJmuQdPHyGGqe+B/D/HDF9mV
0DlvkBlXkIXsnLtfZ70u5VXYPMzoM1TxT/8CvifNzkklr2xy/LuLGALXWQ9xgeJtJvZa
OnKj/nvpM/rtIj4XszbrhqXXKSKHAVvb9+OBE=
</code></pre>
<p>Received: by 10.151.155.9 with SMTP id h9mr12055604ybo.25.1232380985936;</p>
<pre><code>Mon, 19 Jan 2009 08:03:05 -0800 (PST)
</code></pre>
<p>Received: by 10.150.227.21 with HTTP; Mon, 19 Jan 2009 08:03:05 -0800 (PST)
Message-ID: <a href="mailto:5fe281d40901190803l314f23cav49d3b27c5257baf5@mail.gmail.com">5fe281d40901190803l314f23cav49d3b27c5257baf5@mail.gmail.com</a>
Date: Mon, 19 Jan 2009 16:03:05 +0000
From: "Jim Whitehead II" <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
To: "Andre Carregal" <a href="mailto:carregal@fabricadigital.com.br">carregal@fabricadigital.com.br</a>
Subject: Re: [Sputnik-list] Filter nodes
In-Reply-To: <a href="mailto:92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com">92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com</a>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a></p>
<pre><code><5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com>
<92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com>
</code></pre>
<p>Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Mon, Jan 19, 2009 at 3:56 PM, Andre Carregal
<a href="mailto:carregal@fabricadigital.com.br">carregal@fabricadigital.com.br</a> wrote:</p>
<blockquote>
<p>On Mon, Jan 19, 2009 at 1:19 PM, Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a> wr=
ote:</p>
<blockquote>
<p>...
I'm interested in the concept of being able to pass parameters to a
given node rather than always having to access a sub-node. That could
open up a lot of really nice applications that right now aren't
terribly easy to accomplish.</p>
</blockquote>
<p>I also would like having such kind of "path processing". OTOH, this
may impose a certain load on the dispatcher (I'm not sure how it is
working currently)...</p>
<p>One way to interpret the URLs would be to walk them from the left
asking for each part that was a node name if it has some specific
method (say "node<em>handler") and if so, call "node</em>handler" passing the
remaining parts of the URL.</p>
</blockquote>
<p>Currently the URL is processed from right-to-left, checking to see if
the full node name exists and if not checking to see if the "parent"
exists. It continues this until it reaches a node that contains the
information necessary,</p>
<p>Perhaps the logic could be altered to check the full node node, and
process from left to right otherwise. I'm not sure which is the more
likely use case, but I do agree this would give us quite a bit of
flexibility.</p>
<blockquote>
<p>From there, a node such as "category" could use its "parameter" (in
this example "/technology") in whatever way it wanted.</p>
<p>Note that this is very close to controllers in the "standard MVC" web
implementations, which could be a good or bad thing... :o)</p>
<p>Andr=E9</p>
</blockquote>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:52 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:52 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs89522wfe;</p>
<pre><code> Mon, 19 Jan 2009 08:20:55 -0800 (PST)
</code></pre>
<p>Received: by 10.100.154.17 with SMTP id b17mr1129910ane.155.1232382053363;</p>
<pre><code> Mon, 19 Jan 2009 08:20:53 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id c29si5917808anc.43.2009.01.19.08.20.43;
Mon, 19 Jan 2009 08:20:52 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LOygz-00066T-46; Mon, 19 Jan 2009 16:17:45 -0200
</code></pre>
<p>Received: from yw-out-1718.google.com ([74.125.46.158])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LOygy-00066O-Ax
for sputnik-list@lists.luaforge.net; Mon, 19 Jan 2009 16:17:44 -0200
</code></pre>
<p>Received: by yw-out-1718.google.com with SMTP id 9so2676047ywk.64</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 08:20:34 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:mime-version:sender:received:in-reply-to
:references:date:x-google-sender-auth:message-id:subject:from:to:cc
:content-type:content-transfer-encoding;
bh=23v/nMZ22NdHu1BOJcEHx50i3D6oEoVqeXgCiVN/9kc=;
b=VI7XJu/LitRXAiyt13l2350sW4h9Ar+zuATOgTkg158XxgRzFrbWdd/yik5YPODxpQ
lHTHYQG8938nj3MqNxlnXGzn13FyB+jEkFo4rhOAOa4cP9aThvxJimFvoUpYzqjzw00Y
hxH01GmSO9LH09t9RTei9GeIS6lXnkOBwAmlM=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type
:content-transfer-encoding;
b=YRQsDJB3LXxvHb9OevfOmaAROeK05vT5nSkqg72y2pPzjfisT1M6quESTBqjRwzNkM
x6HSwwAuWlNCTM0wCMHHNhPuOwHB24ak8SPulI93bB76MvYlC1uNBezxbt0WWegCuzOd
TE+S0x6tfNPGNgAroSbP6cuAWo1Ue6mLyl3c4=
</code></pre>
<p>MIME-Version: 1.0
Received: by 10.231.19.72 with SMTP id z8mr597082iba.42.1232382034736; Mon, 19 </p>
<pre><code>Jan 2009 08:20:34 -0800 (PST)
</code></pre>
<p>In-Reply-To: <a href="mailto:5fe281d40901190803l314f23cav49d3b27c5257baf5@mail.gmail.com">5fe281d40901190803l314f23cav49d3b27c5257baf5@mail.gmail.com</a>
References: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a></p>
<pre><code><5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com>
<92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com>
<5fe281d40901190803l314f23cav49d3b27c5257baf5@mail.gmail.com>
</code></pre>
<p>Date: Mon, 19 Jan 2009 14:20:34 -0200
X-Google-Sender-Auth: a6f45e37231cff94
Message-ID: <a href="mailto:92ab989c0901190820s5075e261i2314161a384a89cc@mail.gmail.com">92ab989c0901190820s5075e261i2314161a384a89cc@mail.gmail.com</a>
Subject: Re: [Sputnik-list] Filter nodes
From: Andre Carregal <a href="mailto:carregal@fabricadigital.com.br">carregal@fabricadigital.com.br</a>
To: Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<p>On Mon, Jan 19, 2009 at 2:03 PM, Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a> wrot=
e:</p>
<blockquote>
<p>...
Perhaps the logic could be altered to check the full node node, and
process from left to right otherwise. I'm not sure which is the more
likely use case, but I do agree this would give us quite a bit of
flexibility.</p>
</blockquote>
<p>I guess a standard wiki would benefit from a full URL lookup (as the
current dispatcher does), but a more MVC oriented application would be
able to fully explore a left to right parsing.</p>
<p>I agree that we could check the full path just as today, and then try
the left to right approach, but I'd like to check what could happen
with the current collections processing. Yuri, have you already
landed? :o)</p>
<p>Andr=E9</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:53 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:53 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs124218wfe;</p>
<pre><code> Mon, 19 Jan 2009 20:15:45 -0800 (PST)
</code></pre>
<p>Received: by 10.100.41.9 with SMTP id o9mr1975435ano.39.1232424945032;</p>
<pre><code> Mon, 19 Jan 2009 20:15:45 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d12si4865485and.24.2009.01.19.20.15.35;
Mon, 19 Jan 2009 20:15:44 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LP9qg-0007Al-C4; Tue, 20 Jan 2009 04:12:30 -0200
</code></pre>
<p>Received: from rv-out-0506.google.com ([209.85.198.239])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LP9qe-0007Ag-IJ
for sputnik-list@lists.luaforge.net; Tue, 20 Jan 2009 04:12:28 -0200
</code></pre>
<p>Received: by rv-out-0506.google.com with SMTP id k40so2975898rvb.29</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 20:15:19 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:mime-version:sender:received:in-reply-to
:references:date:x-google-sender-auth:message-id:subject:from:to:cc
:content-type:content-transfer-encoding;
bh=pKFsx6im2juhTljsiYuVPIr//iUROA2QqVYKpOBnoDs=;
b=fiWmM1h3UqVCEzv005qoRod93dAr1SgSb1u4ozV3n7D/Ng5w6Zz1R8u2U2cU8V5rAN
fmXMHD2jJ0Ab3eUGapdNmiTEFbxV9ZSVZQVxCScjXo1uYeBibl19fLpRjwXMMoL1wPc8
hOYrjNoNJofuv3DmUGLWLPnlVJlZMjpULghxQ=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type
:content-transfer-encoding;
b=aMVGE3OkNNRihsQrshjxCUFjxZTMO7DuZQ5cPsP8Yj2Ltf1VEqu5bbASZ/Dvw84n5B
qvlUxXyc0qPaHjCAylnG+69P8EUlVFgIghqI26RadurC7YDP4nb/6Svybxdlt8G+paGr
vKC0ImY4xCXkSFBy+/bzQ+9mO/w3OY4jCSYJ8=
</code></pre>
<p>MIME-Version: 1.0
Received: by 10.141.75.17 with SMTP id c17mr3172120rvl.169.1232424919271; Mon, </p>
<pre><code>19 Jan 2009 20:15:19 -0800 (PST)
</code></pre>
<p>In-Reply-To: <a href="mailto:5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com">5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com</a>
References: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a></p>
<pre><code><5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com>
</code></pre>
<p>Date: Mon, 19 Jan 2009 20:15:19 -0800
X-Google-Sender-Auth: 2b13fcd7302b04c0
Message-ID: <a href="mailto:fa4efbc00901192015x7ffac244tea7ffa8a86f8f162@mail.gmail.com">fa4efbc00901192015x7ffac244tea7ffa8a86f8f162@mail.gmail.com</a>
Subject: Re: [Sputnik-list] Filter nodes
From: Yuri Takhteyev <a href="mailto:yuri@sims.berkeley.edu">yuri@sims.berkeley.edu</a>
To: Jim Whitehead II <a href="mailto:jnwhiteh@gmail.com">jnwhiteh@gmail.com</a>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<blockquote>
<p>I'm not sure if child defaults can handle patterns (I'd have to look)
but if so you'd just set it so that any child node of /Tags is set to
use a custom action for viewing that handles scanning the valid nodes
in your wiki and displaying those with the correct tags (or
categories).</p>
</blockquote>
<p>They do, but you don't need it in this case. It is easier to just use
child_defaults.any to capture all children, and then sort them out in
the action function.</p>
<p>Let me give a somewhat longer explanation. When you ask for foo/bar,
Sputnik first checks if there is actually a node called foo/bar. If
there is, then this node is sent the command. If there isn't, then we
look up node "foo" and look at a field called "child<em>defaults". This
field tells us what to do when a child of the node is requested but
does not exist. This field evaluates to a Lua table and has several
subfields. One of them is "any". If child</em>defaults.any is set, then
its value is returned for <em>any</em> child (unless the child exists or a
more specific rule is matched first).</p>
<p>The value of child<em>default.any is a table that simulates a node. For
example, suppose we create a node called "tags" and set child</em>defaults
to</p>
<pre><code>any = [[
prototype="@tag"
]]
</code></pre>
<p>Then, a request for "tags/technology" will return a node that would be
blank, apart from the fact that it would have its prototype set to
"@tag" and also - and this is important - would have its "id" field
set to "tags/technology". In other words, the returned node will look
like this:</p>
<pre><code>node = {
prototype="@tag",
id = "tags/technology"
}
</code></pre>
<p>The rest of the magic can go into the "@tag" node. For instance, we
can set the actions fields of @tag so that "show" is mapped to a
function show<em>nodes</em>matching<em>tag(). "tags/technology" will inherit
this action field from "@tag". All that is then left to do is to have
show</em>nodes<em>matching</em>tag() check the id field of the node that it gets
passed, and work based on that:</p>
<pre><code>actions.show_nodes_matching_tag = function(node, request, sputnik)
local nodes = some_way_of_doing_a_query(node.id:match("[^/]$"))
...
end
</code></pre>
<p>Now, onto actual filtering. From inside the action function, you have
access to the sputnik instance (passed in as the third parameter) and
thus to the saci repository. Sputnik wraps some of saci methods, so
let's assume you'll be using the wrappers when available. This
currently gives you two fully legit methods for accessing other nodes:</p>
<pre><code>another_node = sputnik:get_node(id, version)
ids = sputnik:get_node_names{prefix="foo", limit=200}
</code></pre>
<p>This gives you a terribly inefficient way of looking for nodes by tag:
iterating through all of them. This works for a small number of nodes,
but it doesn't scale.</p>
<p>There is also a third method, which, however, is unofficial and will
likely be removed:</p>
<p> nodes = sputnik.saci:query<em>nodes({"tags"}, "technology", "some</em>prefix")</p>
<p>This method is more like what you want, probably. The problem with it
is that it's wildly inefficient. It is basically almost as bad as
iterating through the nodes yourself, it just makes a few shortcuts.
Again, it works OK for a small number of nodes, and if you use a long
running process and cache the results, it can work OK even for a few
thousand nodes. However, it's ugly.</p>
<p>To make such query work well, we would essentially need to reimplement
an efficient index. I am not sure I want to do this. I think a better
approach would be to use an existing index, perhaps come up with a
unified API for querying (within limits), and then integrate this very
thinly with Sputnik or Saci:</p>
<p> hits = sputnik.indices.default:query("tags:technology AND ...")</p>
<p>Again, I'll be up for doing this integration, once we have bindings to
Xapian or something like that.</p>
<blockquote>
<p>I'm interested in the concept of being able to pass parameters to a
given node rather than always having to access a sub-node. That could
open up a lot of really nice applications that right now aren't
terribly easy to accomplish.</p>
</blockquote>
<p>This <em>is</em> possible. Selecting nodes based on the value of fields is
hard. But passing the id of one node to another is trivial. For
instance, if we wanted to do something like translator/foo which
returns a translation of node foo into another language, we can do
this trivially using the method I described above.</p>
<ul>
<li>yuri</li>
</ul>
<p>--
http://spu.tnik.org/</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>
<p>From sputnik-list-bounces@lists.luaforge.net Fri Jan 30 08:55:53 2009
Received: from pop.gmail.com (ag-in-f109.google.com [72.14.247.109])</p>
<pre><code>by localhost (mpop-1.0.11) with POP3
for <yuri>; Fri, 30 Jan 2009 08:55:53 +0000
</code></pre>
<p>Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.161.20 with SMTP id j20cs124434wfe;</p>
<pre><code> Mon, 19 Jan 2009 20:23:52 -0800 (PST)
</code></pre>
<p>Received: by 10.100.140.20 with SMTP id n20mr1685405and.135.1232425431939;</p>
<pre><code> Mon, 19 Jan 2009 20:23:51 -0800 (PST)
</code></pre>
<p>Return-Path: <a href="mailto:sputnik-list-bounces@lists.luaforge.net">sputnik-list-bounces@lists.luaforge.net</a>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])</p>
<pre><code> by mx.google.com with ESMTP id d12si3149533and.4.2009.01.19.20.23.42;
Mon, 19 Jan 2009 20:23:51 -0800 (PST)
</code></pre>
<p>Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50)
id 1LP9ye-0007Bf-Jw; Tue, 20 Jan 2009 04:20:44 -0200
</code></pre>
<p>Received: from rv-out-0506.google.com ([209.85.198.227])</p>
<pre><code>by mail.luaforge.net with esmtp (Exim 4.50) id 1LP9yd-0007Ba-PQ
for sputnik-list@lists.luaforge.net; Tue, 20 Jan 2009 04:20:43 -0200
</code></pre>
<p>Received: by rv-out-0506.google.com with SMTP id k40so2978816rvb.29</p>
<pre><code>for <sputnik-list@lists.luaforge.net>;
Mon, 19 Jan 2009 20:23:34 -0800 (PST)
</code></pre>
<p>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;</p>
<pre><code>h=domainkey-signature:mime-version:sender:received:in-reply-to
:references:date:x-google-sender-auth:message-id:subject:from:to:cc
:content-type:content-transfer-encoding;
bh=J0vQ3aqg0RT08/K9j420UpoyhGeqcuxSSA9inkZuYFk=;
b=xsnP0z1sYune2fY7O4iZOIoOyJprSO9Jog4nL9db6hx1o3wniGyIe0SI5Ck4ttCN1N
sJsIXjZjbO0IdyAdlCgjH+tlodOpEoOXErPXu4tZbkLDvDN9BBMuN71tY7ZXvm30ehCQ
pIOxqpcVd7tDES2XVbUkY33kjh4K7TQq6Kcjc=
</code></pre>
<p>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;</p>
<pre><code>h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type
:content-transfer-encoding;
b=h47pRf88QpzEqK/ZqBl6kd2EakhwVxIor4OVT3nxsRuFAPpBmjhjy9A3WJO/Oxt9H2
x23DVMtLN90bGEpLDCVcre4XCG9tSa9AOaU6WUCv+DOlH1ahus6Gmuka6SEzaFlTYJa6
eS5Rptxe3IFtiAfp2e2vr7kc3vJzIeNeDRYJY=
</code></pre>
<p>MIME-Version: 1.0
Received: by 10.140.250.14 with SMTP id x14mr219281rvh.79.1232425414601; Mon, </p>
<pre><code>19 Jan 2009 20:23:34 -0800 (PST)
</code></pre>
<p>In-Reply-To: <a href="mailto:92ab989c0901190820s5075e261i2314161a384a89cc@mail.gmail.com">92ab989c0901190820s5075e261i2314161a384a89cc@mail.gmail.com</a>
References: <a href="mailto:b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com">b6bf6c640901190708h14482601lc521a0c1b21e2d9@mail.gmail.com</a></p>
<pre><code><5fe281d40901190719u7cdf2386v32d1aa4581b17152@mail.gmail.com>
<92ab989c0901190756h1689fa44k4185822e434c8f2d@mail.gmail.com>
<5fe281d40901190803l314f23cav49d3b27c5257baf5@mail.gmail.com>
<92ab989c0901190820s5075e261i2314161a384a89cc@mail.gmail.com>
</code></pre>
<p>Date: Mon, 19 Jan 2009 20:23:34 -0800
X-Google-Sender-Auth: efa9034a1590d95c
Message-ID: <a href="mailto:fa4efbc00901192023h4793ea20vfd27ada5693ecb51@mail.gmail.com">fa4efbc00901192023h4793ea20vfd27ada5693ecb51@mail.gmail.com</a>
Subject: Re: [Sputnik-list] Filter nodes
From: Yuri Takhteyev <a href="mailto:yuri@sims.berkeley.edu">yuri@sims.berkeley.edu</a>
To: Andre Carregal <a href="mailto:carregal@fabricadigital.com.br">carregal@fabricadigital.com.br</a>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: sputnik-list@lists.luaforge.net
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
</code></pre>
<p>List-Archive: <a href="http://lists.luaforge.net/pipermail/sputnik-list">http://lists.luaforge.net/pipermail/sputnik-list</a>
List-Post: <a href="mailto:sputnik-list@lists.luaforge.net">sputnik-list@lists.luaforge.net</a>
List-Help: <a href="mailto:sputnik-list-request@lists.luaforge.net?subject=help">sputnik-list-request@lists.luaforge.net?subject=help</a>
List-Subscribe: <a href="http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list">http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</a>,</p>
<pre><code><mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
</code></pre>
<p>Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net</p>
<blockquote>
<p>I guess a standard wiki would benefit from a full URL lookup (as the
current dispatcher does), but a more MVC oriented application would be
able to fully explore a left to right parsing.</p>
</blockquote>
<p>We can have both, I suppose. The order for looking up foo/bar could be:</p>
<ol>
<li>Check child_handlers field in foo. If it's defined, use it.</li>
<li>Check if foo/bar exists in storage. If so, use it.</li>
<li>Check child_defaults field in foo. If it's defined, use it.</li>
<li>If still nothing, return a blank node.</li>
</ol>
<p>This <em>would</em> require retrieval of an additional node, but apart from
that it would not be too demanding, since in a typical case we'll just
get "foo", check it's child_handlers, find nothing and come back to
today's strategy.</p>
<blockquote>
<p>Yuri, have you already landed? :o)</p>
</blockquote>
<p>Yes. (I am back in California after a month in Brazil.)</p>
<ul>
<li>yuri</li>
</ul>
<p>--
http://spu.tnik.org/</p>
<hr/>
<p>Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list</p>