Re: Exploring a new WG around Atom
Mark Nottingham <mnot@mnot.net> Wed, 15 July 2009 05:17 UTC
Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@core3.amsl.com
Delivered-To: ietfarch-atompub-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F1083A67D3 for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 14 Jul 2009 22:17:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.48
X-Spam-Level:
X-Spam-Status: No, score=-5.48 tagged_above=-999 required=5 tests=[AWL=-2.481, BAYES_00=-2.599, J_CHICKENPOX_29=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oGRs-4emxrt3 for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 14 Jul 2009 22:17:52 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 2E08D3A6860 for <atompub-archive@ietf.org>; Tue, 14 Jul 2009 22:17:51 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n6F59MqP050356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jul 2009 22:09:22 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n6F59MXe050354; Tue, 14 Jul 2009 22:09:22 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n6F59K4u050342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jul 2009 22:09:20 -0700 (MST) (envelope-from mnot@mnot.net)
Received: from [192.168.1.6] (unknown [118.208.249.76]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4D81A23E3EB; Wed, 15 Jul 2009 01:09:18 -0400 (EDT)
Cc: "Nikunj R. Mehta" <nikunj.mehta@oracle.com>, atom-syntax Syntax <atom-syntax@imc.org>, atom-protocol Protocol <atom-protocol@imc.org>
Message-Id: <C60A6227-6C17-439D-AC8E-B959606F2999@mnot.net>
From: Mark Nottingham <mnot@mnot.net>
To: Colm Divilly <colm.divilly@oracle.com>
In-Reply-To: <4A5C72BA.3010708@oracle.com>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: Exploring a new WG around Atom
Date: Wed, 15 Jul 2009 15:09:15 +1000
References: <76C65F4C-7CEB-4F16-B9E7-35757E3D6D76@oracle.com> <4A326242.6080407@oracle.com> <559D55F1-57AB-41EA-A4AC-664D58660DC9@mnot.net> <4A5C72BA.3010708@oracle.com>
X-Mailer: Apple Mail (2.935.3)
Sender: owner-atom-syntax@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/atom-syntax/mail-archive/>
List-Unsubscribe: <mailto:atom-syntax-request@imc.org?body=unsubscribe>
List-ID: <atom-syntax.imc.org>
It has been implemented, but not publicly. From what I've seen, people tend to either think it hits the 80/20 point right on, or they want a *lot* more (e.g., full XQuery, YQL, etc.). Specific responses below. On 14/07/2009, at 9:57 PM, Colm Divilly wrote: > Hi Mark, > yes I'd seen this before, but neglected to give you feedback on it, > I basically concur with feedback given by Brian Smith [1], James > Snell [2] previously. > > * I'm not convinced of the utility of being just able to filter > within a single feed. I think a query language (e.g XQuery) that > permitted defining a feed composed of entries from many disparate > Collections of entries might be more useful. FIQL presumes that the definition of what the target feed up is up to its publisher, so that a collection of feeds can become a single feed if desired. > * Don't like the prefix based selector mechanism at all, as Brian > said it goes contrary to the normal practices for dealing with > QNames. I also would prefer an XPath subset syntax. I have little regard for QNames in general, so I don't mind abusing them. > * The fq:interface idea has some merit, although I think James' link- > template mechanism [2] is more in line with what I had been thinking > about. Both also seem similar to Open Search [3] > * I'd like to be able to go further, in a similar fashion to how > categories can be defined in-line and out-of-line in an > app:collection element, I would like to be able to link to have a > 'rel="queries"' link that links to a document that enumerates all > the queries that could be applied. This is would help reduce > duplication (where two or more feeds wish to reference the same set > of queries), and also avoid cluttering the feed when the number of > queries starts to grow large. > * I also feed that any query mechanism should be able to select on > values of HTTP headers supplied with the request in addition to any > uri parameters. What's your use case? > > A minor nit: Section 4 has the following example: > http://example.com/feed.atom?query=title==*new*,author==bob* > Shouldn't that be name==bob* ? (/entry/author/name...) > > In summary I think we need a few specifications: > > * The first defines a means of discovering what queries are > possible, ala link-templates or OpenSearch. Agreed. > * The second defines a means of defining queries, It should be > possible to do this in such a way that the specification supports > multiple query lanaguages. I think of this as 'Published > Queries' (JCR has a similar concept: persistent queries [4]), a user > submits a query specification which enumerates all the 'link- > template' meta-data plus an actual query that can be processed by > the server to generate the required results, plus meta-data to bind > the parameters specified in the link-template to parameters in the > actual query. I think that sounds interesting. > * A third specification might define a lingua-franca query language > that could be used instead of a server dependent query language, to > be used when publishing queries. Possibly. > (Ordered from most likely to see widespread adoption to least likely) > > Have you had any implementation experience with FIQL since you wrote > the draft? any insights to share with us? > > Regards, > Colm > > [1] http://www.imc.org/atom-syntax/mail-archive/msg20131.html > [2] http://www.imc.org/atom-syntax/mail-archive/msg20146.html > [3] http://www.opensearch.org/Specifications/OpenSearch/1.1 > [4] http://jcp.org/aboutJava/communityprocess/maintenance/jsr170/index.html > (jsr-170-1.0.1.pdf, section 6.6.11 p128) > > > > Mark Nottingham wrote: >> >> WRT queries, just in case you weren't aware: >> http://tools.ietf.org/html/draft-nottingham-atompub-fiql-00 >> >> Cheers, >> >> > -- Mark Nottingham http://www.mnot.net/
- Exploring a new WG around Atom Nikunj R. Mehta
- Re: Exploring a new WG around Atom Peter Saint-Andre
- Re: Exploring a new WG around Atom Martin Atkins
- Re: Exploring a new WG around Atom Erik Wilde
- Re: Exploring a new WG around Atom Peter Keane
- Re: Exploring a new WG around Atom James M Snell
- RE: Exploring a new WG around Atom Myles, Stuart
- Re: Exploring a new WG around Atom Sylvain Hellegouarch
- Inlining link target content (was: Exploring a ne… Martin Atkins
- Re: Inlining link target content (was: Exploring … Nikunj R. Mehta
- Re: Exploring a new WG around Atom Jan Algermissen
- Re: Exploring a new WG around Atom Julian Reschke
- RE: Exploring a new WG around Atom Lindsley Brett-ABL001
- Re: Exploring a new WG around Atom Colm Divilly
- Re: Exploring a new WG around Atom Colm Divilly
- Re: Exploring a new WG around Atom Mark Nottingham
- Re: Exploring a new WG around Atom Erik Wilde
- Re: Exploring a new WG around Atom Mark Nottingham
- Re: Exploring a new WG around Atom Colm Divilly
- Re: Exploring a new WG around Atom Mark Nottingham