Re: [yaco-idsubmit-tool] Title extraction failure

Henrik Levkowetz <henrik@levkowetz.com> Mon, 14 March 2011 16:01 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: yaco-idsubmit-tool@core3.amsl.com
Delivered-To: yaco-idsubmit-tool@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD6033A6D4E for <yaco-idsubmit-tool@core3.amsl.com>; Mon, 14 Mar 2011 09:01:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.479
X-Spam-Level:
X-Spam-Status: No, score=-102.479 tagged_above=-999 required=5 tests=[AWL=-0.179, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
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 yHr29hDWSGF2 for <yaco-idsubmit-tool@core3.amsl.com>; Mon, 14 Mar 2011 09:01:05 -0700 (PDT)
Received: from merlot.tools.ietf.org (merlot.tools.ietf.org [IPv6:2a01:3f0:0:31:214:22ff:fe21:bb]) by core3.amsl.com (Postfix) with ESMTP id 4C93D3A6DA7 for <yaco-idsubmit-tool@ietf.org>; Mon, 14 Mar 2011 09:01:02 -0700 (PDT)
Received: from brunello.autonomica.se ([2a01:3f0:1:0:21e:c2ff:fe13:7e3e]:59907 helo=dyn-fg124.sth.netnod.se) by merlot.tools.ietf.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.74) (envelope-from <henrik@levkowetz.com>) id 1PzADk-0007qC-Hf; Mon, 14 Mar 2011 17:02:17 +0100
Message-ID: <4D7E3C04.5020603@levkowetz.com>
Date: Mon, 14 Mar 2011 17:02:12 +0100
From: Henrik Levkowetz <henrik@levkowetz.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: =?ISO-8859-1?Q?=22Emilio_A=2E_S=E1nchez_L=F3pez=22?= <esanchez@yaco.es>
References: <4D7A574F.8010406@levkowetz.com> <4D7BAE92.2070908@yaco.es> <4D7CF91D.6060704@levkowetz.com> <4D7D154F.3060204@att.com> <4D7E01FB.2010105@levkowetz.com> <4D7E2B06.3020203@yaco.es>
In-Reply-To: <4D7E2B06.3020203@yaco.es>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SA-Exim-Connect-IP: 2a01:3f0:1:0:21e:c2ff:fe13:7e3e
X-SA-Exim-Rcpt-To: esanchez@yaco.es, yaco-idsubmit-tool@ietf.org, henrik-sent@levkowetz.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000)
X-SA-Exim-Scanned: Yes (on merlot.tools.ietf.org)
Cc: yaco-idsubmit-tool@ietf.org
Subject: Re: [yaco-idsubmit-tool] Title extraction failure
X-BeenThere: yaco-idsubmit-tool@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of the Yaco / I-D Submission Tool Project <yaco-idsubmit-tool.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/yaco-idsubmit-tool>, <mailto:yaco-idsubmit-tool-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/yaco-idsubmit-tool>
List-Post: <mailto:yaco-idsubmit-tool@ietf.org>
List-Help: <mailto:yaco-idsubmit-tool-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yaco-idsubmit-tool>, <mailto:yaco-idsubmit-tool-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Mar 2011 16:01:06 -0000

Hi Emilio,

On 2011-03-14 15:49 "Emilio A. Sánchez López" said:
>     Hi all,
> 
> El 14/03/11 12:54, Henrik Levkowetz escribió:
>> Emilio, I'd suggest changing the regex to require one or more blank
>> lines before and after the title, and making the first group explicitly
>> include all lines of the {1, 3} repeat (this is what messes up this
>> case).  Also, we should strip out newlines and extra space from the title.
>>
> 
>     I do some testing with the patch and it seems to be perfect. Thank 
> you Henrik.
> 
>     I have committed it [1] and applied in beta server.
> 
>     Best,
> 
> [1] http://wiki.tools.ietf.org/tools/ietfdb/ticket/617

Thanks!

Best,

	Henrik