New Message: Re: YouTube and MIME Types

webmaster at userland.com webmaster at userland.com
Wed Sep 19 02:29:52 CDT 2007


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$2863

By: Steve Hooker (steve at cybersaps.com)

You need to make the object, param and embed tags legal. I do it via the address:
mySiteManilaWebsite.["#newsSite"].legalTags

I've a script that runs through and legalises such in all sites, see below. Make sure that new sites also have these tags legalised in:
manilaData.newSiteTemplate.["#newsSite"].legalTags

local (addrAllSites = @config.manila.sites);
for eachSite in addrAllSites {
 local {
 adrSite = @eachSite^^};
 try {
 try {
 delete (@adrSite^.["#newsSite"].legalTags.object)};
 new (tableType, @adrSite^.["#newsSite"].legalTags.object);
 adrSite^.["#newsSite"].legalTags.object.flClose = true;
 adrSite^.["#newsSite"].legalTags.object.flLegal = true;

 try {
 delete (@adrSite^.["#newsSite"].legalTags.param)};
 new (tableType, @adrSite^.["#newsSite"].legalTags.param);
 adrSite^.["#newsSite"].legalTags.param.flClose = true;
 adrSite^.["#newsSite"].legalTags.param.flLegal = true;

 adrSite^.["#newsSite"].legalTags.embed = true};
 filemenu.savemyroot (eachSite)}

Steve Hooker

http://www.blogfootball.com/service

http://www.walsallschools.org/

This is a Manila site... http://manila.userland.com/.




More information about the Manila-Users mailing list