Chris Anderson wrote:
> On Wed, Dec 3, 2008 at 5:20 AM, Volker Mische <volker.mische@gmail.com> wrote:
>> Noah Slater wrote:
>>> On Wed, Dec 03, 2008 at 10:47:11PM +1100, Volker Mische wrote:
>>>> An additional feature would be that you can return any arbitrary JSON to
the
>>>> view that will be attached to the resulting document. An example would be
>>>> returning a distance between a point specified in the query and a geometry
in
>>>> a document.
>>> I'm not sure I understand what it means to attach something to a JSON document.
>>>
>> What I meant with "attach" is, that the result (custom JSON) from the
>> external service has to end up somehow in the final output of the view.
>>
>
> This sound like something you could do by having say, a python or ruby
> (or js) view server that would query the external service while
> processing the view. Should be doable with the current trunk.
I don't want to have the dependency on a custom view server, the
arbitrary JSON should be "attached" to the document before it reaches
the view server.
|