> I tried it and Weather widget XML is given back, so this way it works.
>
> Later i'll mod a wordpress plugin a litte, so it will request one
> specific widget, as example below.

I added widgetid to url in wordpress plugin source and now i can get
the widget just fine.

I did some Elgg plugin debugging too, the plugin itself works
perfectly. I am thinkin adapting the Gallery side of the plugin for
Wordpress plugin (dropdown widget id select).

I am doing the testing with "localhost", that's why Apache crashed,
because there's some kind of bug with file_get_contents() +
"localhost". Replacing localhost with ip 127.0.0.1 and things started
moving.

There's one more problem, Wookie returns widget url with proxy ->

http://127.0.0.1:8080/wookie/wservices/someWidget/index.htm?idkey=e0fLR9Rrx.sl..pl.sBzmcRO31qqXQGQE.eq.&proxy=http://localhost:8080/wookie/proxy&st=wookie%3AMhTxF3y0tvzEVWP1e9YcLg3HZEU9s4IwgLg91oaj4MLxKBgWo68QVWJAVtpvHQ1hyCKo8aTlRojlsK9bq2eNJOIrWIAQcrA6muJJP4Bn%2Fpmm7QRrfq4MHLXUrPv%2B0nsHgJKQJeNTKKbtybIpM0eNBep4U0Iio1YEQ2sHUgDqLQe5Gi6B

Which is not working, i modded Elgg plugin to replace "localhost" in
the proxy parameter ->  &proxy=http://127.0.0.1:8080/wookie/proxy&st=

view.php ->
str_replace('localhost', '127.0.0.1', $widget->getWidgetParameter('url'));

This way everything got going perfectly.

Reply via email to