highlighter

Is there a way to use what highlighter.com does in a rails app?

Chris Habgood wrote in post #971388:

Is there a way to use what highlighter.com does in a rails app?

Highlighted is a WordPress plugin. How would you expect to be able to
use it in a Rails application?

Best,

dunno, I was asking if there was a way to get the same sort of functionality to work.

If you want to build something like this from scratch, then you're going to need a way to get a text selection in a page. I have built a little test page that does this part in JavaScript (and sends the results to Google or Google Dictionary). [1]

That part is not completely overwhelming. But then you'll want a way to persist these selections, and there's also some cleverness going on in Highlighter to play back those selections later, so the next time a different person comes to the page, they see the highlighted text with an icon to relate to the comment. That part looks to be non-trivial.

Walter

1. http://scripty.walterdavisstudio.com/lookup.html