W3C home > Mailing lists > Public > public-annotation@w3.org > October 2015

FindText API Updated Editor's Draft

From: Doug Schepers <schepers@w3.org>
Date: Mon, 5 Oct 2015 15:03:11 -0400
To: W3C Public Annotation List <public-annotation@w3.org>
Message-ID: <5612C96F.6040609@w3.org>
Hi, folks–

This weekend, I made substantial changes to the FindText API [1] 
(formerly called the RangeFinder API).

I improved the internationalization aspects and options, based on 
feedback from the I18n WG and from their updated CharMod spec (Character 
Model for the World Wide Web: String Matching and Searching… which seems 
tailor-made for us!).

I also fleshed out the algorithm for search (though it still needs lots 
of work), which was one of two critical changes needed before FPWD.

The remaining critical change is for me to update the examples, which is 
important because those will shape many people's first impressions of 
the spec (because examples are easy to read and understand). This is my 
plan for the rest of the day. This involves describing the workflow in 
terms of Promises, which I'm sad to admit I've never used in running before.

Luckily, I have two meetings set up for this afternoon with folks to 
help me with that:

* Chris Birk and Bill Hunt, from OpenGov Foundation
* Alexander Schmidtz, from jQuery

These guys are very familiar with Promises, and so my examples and API 
design will have at least a bit of vetting and validation before pushing 
FPWD. There will always be room for improvements, but we should be ready 
to go by tomorrow.


I welcome feedback from any of you on this spec!


[1] http://w3c.github.io/findtext/
[2] http://w3c.github.io/charmod-norm/

Regards–
–Doug
Received on Monday, 5 October 2015 19:03:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:41 UTC