in reply to Domino Twisty Expansion using Lightweight Proxy
I've never seen someone write this before but that may not indicate much. Mostly I don't think this is the sort of thing a Domino developer would care about and so there isn't likely to be lots of code around to extract the contents of documents via the HTTP service. Actually, now that I think on this further there's a better way.
Use the normal Domino APIs to extract the data without even bothering with the web service. You're going a very twisty way when you could either go get a RichText object, translate it to text (with optional formatting) and index that. Another idea is to just use the normal FullText index. It sounds like you are trying to avoid using Domino's pre-existing indexing service. Why? You'd have to be crazy to give it up - it already works really darn well.
As for your current problem - I'd transform the HTML to XML with XML::LibXML and just use some XPath to fetch the expansion URLs. The in-place editing might be somewhat ugly so now I wonder if providing a more expansive URL command like ExpandAll might not be a better idea anyway.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Domino Twisty Expansion using Lightweight Proxy
by inman (Curate) on Feb 13, 2004 at 16:58 UTC | |
by diotalevi (Canon) on Feb 13, 2004 at 17:08 UTC |