0

What is the correct/recommended way of including remote CSS style sheet in OpenSocial gadget module XML?

I hope we CAN use remote CSS (to enable client caching etc), so that we can get rid of inline styling...

Should a link tag be included in the CDATA section of the html typed Content tag below, or what are your suggestions?

<?xml version="1.0" encoding="UTF-8" ?>
<Module>
    <ModulePrefs title="My App title">
        <Require feature="opensocial-0.8" />
    </ModulePrefs>
    <Content type="url" view="mobile" href="somemobileplace" />
    <Content type="html">
    <![CDATA[
<div>some html content</div>
    ]]>
        </Content>
    </Module>
4

1 に答える 1

1

ボディ部にリモートのjsスクリプトファイルやスタイルシートなどを入れてもいいという返事がありました。

また、オープン ソーシャルの本で、これらの要素が実際にコンテナーによって表示されると、ヘッダー セクションに移動することを読みました。

于 2010-04-27T07:15:15.713 に答える