LISTSERV mailing list manager LISTSERV 16.5

Help for CODE4LIB Archives


CODE4LIB Archives

CODE4LIB Archives


CODE4LIB@LISTS.CLIR.ORG


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CODE4LIB Home

CODE4LIB Home

CODE4LIB  December 2014

CODE4LIB December 2014

Subject:

Re: Functional Archival Resource Keys

From:

Andrew Anderson <[log in to unmask]>

Reply-To:

Code for Libraries <[log in to unmask]>

Date:

Fri, 12 Dec 2014 00:50:43 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (335 lines)

I’m not commenting on whether inflections are good, bad, or ugly, but simply looking at this from the perspective of real-world hurdles, unexpected interactions, and implementation challenges that are going to be run into by the selection of an existing reserved character as an inflection indicator.  It looks like we disagree on the concept that “no one is using it” as it has a clearly defined role in the URI specification, and it is not uncommon to use “?”’s as a cache-busting mechanism when clearly no one intends to fetch an object’s metadata when they do so.

Taking a step back, this seems like a false economy vs a more expressive and human-friendly mechanism for defining access to metadata and policy for the object in question.

There are a number of different approaches that could be taken to achieve the stated goals of ARK without overloading the purpose of an existing defined reserved character, and I think that the project would be doing itself a favor by exploring the alternatives to find an approach that does not have the potential to slow adoption due to technical and political reasons.

-- 
Andrew Anderson, Director of Development, Library and Information Resources Network, Inc.
http://www.lirn.net/ | http://www.twitter.com/LIRNnotes | http://www.facebook.com/LIRNnotes

On Dec 10, 2014, at 14:28, John Kunze <[log in to unmask]> wrote:

> I don't know the precise constraints you're working under, but Henry
> Thompson of the W3C TAG (Technical Architecture Group) has advocated for
> consideration of the ARK approach to the TAG's meetings.
> 
> The terminal '?' is sort of a no-brainer, but clearly it stretches the URI
> spec; on the plus side, it's ripe for definition since no one else is using
> it.  It was Jonathan Rees (also of the W3C TAG) who pointed out the need
> for an additional response header, just in case some service actually was
> responding query strings that overlapped with inflections.
> 
> Just to be clear, the ARKs don't own the inflections concept (in fact the
> ARK scheme is unusual in not "owning" things, such as a resolver).  If you
> think inflections are a good/bad idea for ARKs, chances are you'll think
> the same for other kinds of identifiers.  As Clifford Lynch once said, the
> '?' inflection should work for all URLs.
> 
> On Tue, Dec 9, 2014 at 10:09 PM, Andrew Anderson <[log in to unmask]> wrote:
> 
>> RFC and expectation violations make my brain hurt.
>> 
>> Overloading an operator that has a clearly defined role in HTTP URIs (
>> https://tools.ietf.org/html/rfc7230#section-2.7.1) creates the potential
>> for /so/ many unexpected interactions between browsers (
>> https://code.google.com/p/chromium/issues/detail?id=108690), HTTP caches,
>> URL rewriting servers, etc. that implementations, adopters, and users are
>> going to be playing a long game of whack-a-mole working around them.
>> 
>> The proposal is already carving out a URI namespace in the form of “ark:”:
>> 
>>  http://ark.cdlib.org/ark:/13030/tf5p30086k?
>> 
>> So why not take advantage of the fact that any system processing the
>> “ark:” namespace is already going to have to be a custom application and
>> adopt a RESTful path to communicate the service requested instead?
>> 
>>  http://ark.cdlib.org/ark:metadata/13030/tf5p30086k
>>  http://ark.cdlib.org/ark:policy/13030/tf5p30086k
>> 
>> If a web services style implementation is undesired, what about creating
>> another reserved character or overload a character that is already used in
>> URIs but not part of the HTTP URI specification, “!"?
>> 
>> Or, if a standard approach for HTTP header implementation were proposed
>> and adopted, it is not unreasonable to imagine that browsers might adopt
>> methods that would allow the average user access to the inflections without
>> jumping through hoops once adoption reaches critical mass.
>> 
>> There are many approaches and techniques that could be employed here that
>> would not require overloading “?” in HTTP URIs that there really is no
>> excuse for trying to do so.
>> 
>> --
>> Andrew Anderson, Director of Development, Library and Information
>> Resources Network, Inc.
>> http://www.lirn.net/ | http://www.twitter.com/LIRNnotes |
>> http://www.facebook.com/LIRNnotes
>> 
>> On Dec 9, 2014, at 9:25, Ethan Gruber <[log in to unmask]> wrote:
>> 
>>> I'm using a few applications in Tomcat, so inflections are much more
>>> difficult to implement than content negotiation. I can probably tweak the
>>> Apache settings to do a proxypass for inflections by modifying the
>> examples
>>> above.
>>> 
>>> I agree with Conal, though. Inflections are puzzling at best and bad
>>> architecture at worst, and the sooner the community puts forward a more
>>> standard solution, the better.
>>> 
>>> On Mon, Dec 8, 2014 at 7:21 PM, John Kunze <[log in to unmask]> wrote:
>>> 
>>>> Just as a URL permits an ordinary user with a web browser to get to an
>>>> object, inflections permit an ordinary user to see metadata (without
>> curl
>>>> or code).
>>>> 
>>>> There's nothing to prevent a server from supporting both the HTTP Accept
>>>> header (content negotiation) and inflections.  If you can do the one,
>> the
>>>> other should be pretty easy.
>>>> 
>>>> On Mon, Dec 8, 2014 at 4:01 PM, Conal Tuohy <[log in to unmask]>
>> wrote:
>>>> 
>>>>> I am really puzzled by the use of these non-standard "inflexions" as a
>>>>> means of qualifying an HTTP request. Why not use the HTTP Accept
>> header,
>>>>> like everyone else?
>>>>> 
>>>>> 
>>>>> On 9 December 2014 at 07:59, John A. Kunze <[log in to unmask]> wrote:
>>>>> 
>>>>>> Any Apache server (not Tomcat) can handle the '?' and '??' cases with
>> a
>>>>>> few rewrite rules to transform them into typical CGI-like query
>>>> strings.
>>>>>> 
>>>>>> # Detect ? and ?? inflections and map to typical CGI-style
>>>> parameters.
>>>>>> # One question mark case:  ?  -> ?show=brief&as=anvl/erc
>>>>>> RewriteCond %{THE_REQUEST}  \?
>>>>>> RewriteCond %{QUERY_STRING} ^$
>>>>>> RewriteRule ^(.*)$ "$1?show=brief&as=anvl/erc"
>>>>>> 
>>>>>> # Two question mark case:  ?? -> ?show=support&as=anvl/erc
>>>>>> RewriteCond %{QUERY_STRING} ^\?$
>>>>>> RewriteRule ^(.*)$ "$1?show=support&as=anvl/erc"
>>>>>> 
>>>>>> So if your architecture supports query strings of the form
>>>>>> 
>>>>>> ?name1=value1&name2=value2&...
>>>>>> 
>>>>>> it can support ARK inflections.
>>>>>> 
>>>>>> I don't believe that the ARK spec and HTTP URIs are fully compatible
>>>>>>> ideas.
>>>>>>> 
>>>>>> 
>>>>>> True.  A '?' by itself has no meaning in the URI spec, which means
>> it's
>>>>>> also an opportunity to do something intuitive and important with an
>>>>>> unused portion of the "instruction space" (of strings that start out
>>>>>> looking like URLs).  Any URLs (not just ARKs) could support this.
>>>>>> 
>>>>>> The THUMP spec (where inflections really live) will be modified to
>>>>>> require an extra HTTP response header to indicate that the server is
>>>>>> responding to an inflection and not to a standard URI query string.
>>>>>> This could help in the '??' case, which actually could be interpreted
>>>>>> as a valid URI query string.
>>>>>> 
>>>>>> -John
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --- On Mon, 8 Dec 2014, Ethan Gruber wrote:
>>>>>> 
>>>>>>> Thanks for the info. I'm glad I'm not the only person struggling with
>>>>>>> this.
>>>>>>> I'm not entirely sure my architecture will allow me to append
>> question
>>>>>>> marks in this way (two question marks is probably feasible, but it
>>>>> doesn't
>>>>>>> appear that one is). I don't believe that the ARK spec and HTTP URIs
>>>> are
>>>>>>> fully compatible ideas. Hopefully some clearer request parameter or
>>>>>>> content
>>>>>>> negotiation standards emerge.
>>>>>>> 
>>>>>>> Ethan
>>>>>>> 
>>>>>>> On Sat, Dec 6, 2014 at 10:23 AM, Phillips, Mark <
>>>> [log in to unmask]>
>>>>>>> wrote:
>>>>>>> 
>>>>>>> Ethan,
>>>>>>>> 
>>>>>>>> As Mark mentioned we have implemented the ARK inflections of ? and
>> ??
>>>>>>>> with
>>>>>>>> our systems.
>>>>>>>> 
>>>>>>>> I remember the single ? being a bit of a problem to implement in our
>>>>>>>> system stack (Apache/mod_python/Django) and from what I can tell
>>>> isn't
>>>>>>>> possible with (Apache/mod_wsgi/Django) at all.
>>>>>>>> 
>>>>>>>> The ?? inflection wasn't really a problem for us on either of the
>>>>>>>> systems.
>>>>>>>> 
>>>>>>>> From conversations I've had with implementors of ARK,  the issues
>>>>> around
>>>>>>>> supporting the ? and ?? inflections don't seem to be related to the
>>>>>>>> frameworks issues as other issues like commitment to identifiers,
>> the
>>>>>>>> fact
>>>>>>>> that ARKs are being used in a redirection based system like Handles,
>>>> or
>>>>>>>> the
>>>>>>>> challenges of accessing the item metadata for items elsewhere in
>>>> their
>>>>>>>> system.
>>>>>>>> 
>>>>>>>> I think having a standard set of request parameters or other url
>>>>>>>> conventions could be beneficial to the implementation of these
>>>> features
>>>>>>>> by
>>>>>>>> others.
>>>>>>>> 
>>>>>>>> Mark
>>>>>>>> ________________________________________
>>>>>>>> From: Code for Libraries <[log in to unmask]> on behalf of
>>>>>>>> [log in to unmask] <[log in to unmask]>
>>>>>>>> Sent: Saturday, December 6, 2014 8:23 AM
>>>>>>>> To: [log in to unmask]
>>>>>>>> Subject: Re: [CODE4LIB] Functional Archival Resource Keys
>>>>>>>> 
>>>>>>>> This brief exchange on Twitter seems relevant:
>>>>>>>> 
>>>>>>>> https://twitter.com/abrennr/status/296948733147508737
>>>>>>>> 
>>>>>>>> On Fri, Dec 5, 2014 at 12:50 PM, Mark A. Matienzo <
>>>>>>>> [log in to unmask]
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>> Hi Ethan,
>>>>>>>>> 
>>>>>>>>> I'm hoping Mark Phillips or one of his colleagues from UNT will
>>>>> respond,
>>>>>>>>> but they have implemented ARK inflections. For example, compare:
>>>>>>>>> 
>>>>>>>>> http://texashistory.unt.edu/ark:/67531/metapth5828/
>>>>>>>>> http://texashistory.unt.edu/ark:/67531/metapth5828/?
>>>>>>>>> http://texashistory.unt.edu/ark:/67531/metapth5828/??
>>>>>>>>> 
>>>>>>>>> In particular, the challenges posed by inflections are described in
>>>>> this
>>>>>>>>> DC2014 paper [0] by Sébastien Peyrard and Jean-Philippe Tramoni
>> from
>>>>> the
>>>>>>>>> BNF and John A. Kunze from CDL.
>>>>>>>>> 
>>>>>>>>> [0] http://dcpapers.dublincore.org/pubs/article/view/3704/1927
>>>>>>>>> 
>>>>>>>>> Cheers,
>>>>>>>>> Mark
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Mark A. Matienzo <[log in to unmask]>
>>>>>>>>> Director of Technology, Digital Public Library of America
>>>>>>>>> 
>>>>>>>>> On Fri, Dec 5, 2014 at 2:36 PM, Ethan Gruber <[log in to unmask]>
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>> I was recently reading the wikipedia article for Archival Resource
>>>>> Keys
>>>>>>>>>> (ARKs, http://en.wikipedia.org/wiki/Archival_Resource_Key), and
>>>>> there
>>>>>>>>>> 
>>>>>>>>> was
>>>>>>>>> 
>>>>>>>>>> a
>>>>>>>>>> bit of functionality that a resource is supposed to deliver that
>> we
>>>>>>>>>> 
>>>>>>>>> don't
>>>>>>>> 
>>>>>>>>> in our system, nor do any other systems that I've seen that
>>>> implement
>>>>>>>>>> 
>>>>>>>>> ARK
>>>>>>>> 
>>>>>>>>> URIs.
>>>>>>>>>> 
>>>>>>>>>> From the article:
>>>>>>>>>> 
>>>>>>>>>> "An ARK contains the label *ark:* after the URL's hostname, which
>>>>> sets
>>>>>>>>>> 
>>>>>>>>> the
>>>>>>>>> 
>>>>>>>>>> expectation that, when submitted to a web browser, the URL
>>>> terminated
>>>>>>>>>> 
>>>>>>>>> by
>>>>>>>> 
>>>>>>>>> '?' returns a brief metadata record, and the URL terminated by '??'
>>>>>>>>>> 
>>>>>>>>> returns
>>>>>>>>> 
>>>>>>>>>> metadata that includes a commitment statement from the current
>>>>> service
>>>>>>>>>> provider."
>>>>>>>>>> 
>>>>>>>>>> Looking at the official documentation (
>>>>>>>>>> https://confluence.ucop.edu/display/Curation/ARK), they provided
>>>> an
>>>>>>>>>> example
>>>>>>>>>> of http://ark.cdlib.org/ark:/13030/tf5p30086k? which is supposed
>>>> to
>>>>>>>>>> 
>>>>>>>>> return
>>>>>>>>> 
>>>>>>>>>> something called an Electronic Resource Citation, but it doesn't
>>>>> work.
>>>>>>>>>> Probably because, and correct me if I'm wrong, using question
>> marks
>>>>> in
>>>>>>>>>> 
>>>>>>>>> a
>>>>>>>> 
>>>>>>>>> URL in this way doesn't really work in HTTP.
>>>>>>>>>> 
>>>>>>>>>> So, has anyone successfully implemented this? Is it even worth it?
>>>>> I'm
>>>>>>>>>> 
>>>>>>>>> not
>>>>>>>>> 
>>>>>>>>>> sure I can even implement this in my own architecture.
>>>>>>>>>> 
>>>>>>>>>> Maybe it would be better to recommend a standard set of request
>>>>>>>>>> 
>>>>>>>>> parameters
>>>>>>>>> 
>>>>>>>>>> that actually work in REST?
>>>>>>>>>> 
>>>>>>>>>> Ethan
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Tod Robbins
>>>>>>>> Digital Asset Manager, MLIS
>>>>>>>> todrobbins.com | @todrobbins <http://www.twitter.com/#!/todrobbins>
>>>>>>>> 
>>>>>>>> 
>>>>> 
>>>> 
>> 

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003

ATOM RSS1 RSS2



LISTS.CLIR.ORG

CataList Email List Search Powered by the LISTSERV Email List Manager