If you tackle this, remember to assign yourself to;
https://issues.apache.org/jira/browse/WAVE-275
:)
~~~~~~
Reviews of anything, by anyone;
www.rateoholic.co.uk
Please try out my new site and give feedback :)



On 9 December 2011 01:09, Yuri Z <[email protected]> wrote:
> No, AFAIK the code is legacy from Google Wave. I don't think that Linky
> should be implemented as robot/robot agent. I guess you can just register
> listener on update events and then insert the link annotation whenever text
> in the edited blip looks like a URL.
> So your suggestions sound right to me.
>
> On Fri, Dec 9, 2011 at 1:20 AM, Ali Lown <[email protected]> wrote:
>
>> There seem to be a few references to 'linky' distributed through the
>> code (in doodad/Link and doodad/Suggestion) does this mean someone
>> else is already implementing this?
>>
>> The diagram on the old FAQ [0] suggests that linky was implemented as
>> an agent. Does this mean that it should be implement as a robot agent
>> (eg. the Welcome Bot / the Password bot)? Does doing this not mean
>> that linky would need to be added explicitly as a wave participant.
>> Can this be done automatically and hidden?
>>
>> The text along with WAVE-275 suggests implementing as a 'listener' for
>> performance reasons. I assume this means hooking it up to the
>> EditorUpdateEvent class - where can I find information for how to make
>> an agent do this?
>>
>> As for detecting the start/end of links, doodad/Link/Link.java has the
>> WEB_SCHEMES collection which I assume I would want to listen for to
>> find the start of the text needing annotating. Detecting the end could
>> be done simply by a space in the text, surely? Since that wouldn't be
>> a valid part of any URL.
>>
>> Is this anywhere near correct? Any comments/hints?
>> Thanks.
>>
>> Ali
>>
>> [0]: http://www.waveprotocol.org/faq
>>

Reply via email to