Hi Gitte, --On Donnerstag, 26. April 2001 09:20 +0200 Gitte Wange <gitte@mmmanager.org> wrote:
On 25 Apr 2001 15:49:19 +0200, Tino Wildenhain wrote:
Hi Gitte,
are you sure, the extension .smil is really needed?
Yes - if the RealServer should recognize the file.
Is it really the RealServer who reads the file? I would rather think of the browser reading the file. It looks like the whole proccess works this way: You have a link in a html-page, this page may or may not be dynamically generated. This link or object-embedding directs to the smil-resource, which is also handled by zope and generated on the fly or whatever. In this resource there must be a reference to the RealMedia server itself. Since the first reference inside the html-page is only a text string, it can read anything, of course also a URL with .smil extension. The browser usually looks for the mime-type unless broken (the Internet-Explorer is usually broken and looks on the extension rather then the mime-type). Anyway, your smil-file generating object is only called by URL, not by object-reference. So the identifier is not critical. http://yourhost/yourpath/smilgenerator.smil?whatever=needs_to_be_transfered _to_the_script In opposition to the fact calling an zope-object in zope-context: (here with dtml: ) <dtml-var smilgenerator.smil> or <dtml-var "_.['smilgenerator.smil'](_.None,_,whatever='needs_to_be_transfered_to_the_ script')"> Which would obvously render the object inside another object, mixing the output. The extension does not make any sense in this setup. HTH Tino Wildenhain