-
1. Re: displaying blocks on other sites
julien1 Nov 22, 2003 2:55 PM (in response to ryuuguu)I see, phpadsnew works a little bit the same way.
Nukes would generate dynamicly some javascript executed on the client side that would write some data in the document ?
julien -
2. Re: displaying blocks on other sites
ryuuguu Nov 23, 2003 1:29 AM (in response to ryuuguu)Yes that is the idea. I got it from PHPadsnew. Any suggestions where a good place for this filter would be? This is my first time working with EJBs, let alone JBoss. Or should I just be looking in the Nuke code?
Grant -
3. Re: displaying blocks on other sites
julien1 Nov 25, 2003 1:10 PM (in response to ryuuguu)you should look at how nukes send resources through modules.
this is done in the method getResource(String id) on ComponentSupport.java and returns a ResourceObject.
for instance if you call
modules/mymodule/my/id
it will call the mymodule module with the id my/id and you have to create a resource object and return it, then it will be streamed to the client. you can look at the MP3Module which does that for streaming.
julien