Hello folks, was wondering if there's a simple way to get umbraco to be able to recognise an external xsl file so that i can use the umbraco.library functions in that file?
At the moment i have a couple of sites running umbraco and they communicate by outputting an extra custom xml using xsl. But in this xsl i want to be able to use umbraco.library:GetMedia to pass across the URL, of images in my media library, plus NiceUrls.
So i essentially need umbraco to view my external xsl file as one of it's own, and to use the umbraco.library. Is this possible?
Also our developer, in making the external xml & xsl files had to overide the way umbraco makes "application page calls" so that the external file is updated when the umbraco.config is too. So he said this may be a problem in getting this to work.
ANy help would be great . Cheers.
He added the following in a web.config
Code:<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings>
<remove key="umbracoUseDirectoryUrls" />
<remove key="umbracoTimeOutInMinutes" />
<remove key="umbracoStorageDirectory" />
<remove key="umbracoSmtpServer" />
<remove key="umbracoReservedUrls" />
<remove key="umbracoReservedPaths" />
<remove key="umbracoPath" />
<remove key="umbracoHideTopLevelNodeFromPath" />
<remove key="umbracoEnableStat" />
<remove key="umbracoEditXhtmlMode" />
<remove key="umbracoDisableXsltExtensions" />
<remove key="umbracoDisableVersionCheck" />
<remove key="umbracoDefaultUILanguage" />
<remove key="umbracoDebugMode" />
<remove key="umbracoProfileUrl" />
<remove key="umbracoDbDSN" />
<remove key="umbracoContentXML" />
<remove key="umbracoConfigurationStatus" />
</appSettings>
<system.web>
<httpModules>
<remove name="UrlRewriteModule" />
<remove name="umbracoRequestModule" />
<remove name="viewstateMoverModule" />
<remove name="umbracoBaseRequestModule" />
<remove name="ScriptModule" />
</httpModules>
<httpHandlers>
<remove verb="*" path="umbraco/channels.aspx" />
<remove verb="*" path="umbraco/channels/word.aspx"/>
</httpHandlers>
</system.web>
</configuration>