Can't get simple yml:include to work in SmallView
Hi again,
So I'm obviously doing something wrong here but just can't see what. I have the following xml file with a simple yml:include in the content. The include works but pulls in my full view into the small view instead of the resource I've pointed it too.
I've tested this with several resources including html and php files. I've also tried the insert attribute and it always ignores the resource I enter in the params attribute and instead pulls in the YahooFullView href.
Can anyone see what I've done wrong?
<?xml version="1.0" encoding="utf-8"?>
<Module xmlns:yap="http://www.yahoo.com/ns/yap">
<ModulePrefs title="MyHome.ie" title_url="http://www.myhome.ie/" description="MyHome.ie App for the Hompage linking the user to Rentals and For Sale search pages." author="MyHome Ltd." author_link="http://profiles.yahoo.com/u/4LZ6NLXKS2US2JJGNF4SGZ3N3Y" category="BusinessAndFinance-RealEstate">
<Icon>http://www.myhome.ie/favicon.ico</Icon>
<Locale lang="en" country="GB"/>
<Require feature="yap.feature.classic"/>
<Require feature="opensocial-0.8"/>
<yap:Extension name="yap.gadgets.ShortDescription">Simple MyHome.ie Hompage App</yap:Extension>
<yap:Extension name="yap.gadgets.CreatorImageUrl">http://www.myhome.ie/static/yahoo/homepage/app-icon-256x256.gif</yap:Extension>
<yap:Extension name="yap.gadgets.CreatorWebsiteUrl">http://www.myhome.ie/about</yap:Extension>
<yap:Extension name="yap.gadgets.YahooComIconUrl">http://www.myhome.ie/static/yahoo/homepage/app-icon-20x20.gif</yap:Extension>
<yap:Extension name="yap.gadgets.ScreenshotUrl">http://www.myhome.ie/static/yahoo/homepage/myhome-yahoo-screenshot.jpg</yap:Extension>
<yap:Extension name="yap.gadgets.TouUrl">http://www.myhome.ie/terms</yap:Extension>
<yap:Extension name="yap.gadgets.PrivacyUrl">http://www.myhome.ie/privacy</yap:Extension>
<yap:Extension name="yap.gadgets.ApplicationIconUrl">http://www.myhome.ie/static/yahoo/homepage/app-icon-64x64.gif</yap:Extension>
<yap:Extension name="yap.gadgets.Tags">apartment,developments,dublin,house,ireland,lettings,property,rent,rental,sal
e,search</yap:Extension>
</ModulePrefs>
<Content type="html" view="YahooSmallView, default">
<![CDATA[
<yml:include params="http://www.bjmarine.net/yahooincludetest.php" delay="5000">Before the fun kicks off...</yml:include>
]]>
</Content>
<Content type="html" view="YahooFullView, canvas" href="http://www.bjmarine.net/yahootest.php" />
</Module>
Thanks,
Denis
by
2 Replies