【问题标题】:Gmail Apps Marketplace contextual gadget only HelloWorld extractor worksGmail Apps Marketplace 上下文小工具仅适用于 HelloWorld 提取器
【发布时间】:2016-01-18 12:53:43
【问题描述】:

我正在基于此资源 https://developers.google.com/gmail/contextual_gadgets 为 Apps Marketplace 开发一个 google 上下文小工具。 我已启用所有必要的 API,在配置 Apps Marketplace SDK 并将上下文小工具提取器设置到 google.com:HelloWorld 之后,能够在主题和正文中包含“Hello World”的电子邮件中看到小工具。

问题是没有其他提取器使小工具出现。我尝试了提取器网址、参数和范围的不同组合。该小工具不会出现在电子邮件中。

test.xml 的内容

<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="MessageID" description="" height="20" author="personal" author_email="..." author_location="local">
    <Require feature="dynamic-height"/>
    <Require feature="google.contentmatch">
      <Param name="extractors">
        google.com:MessageIDExtractor
      </Param>
    </Require>
  </ModulePrefs>
  <Content type="html" view="card">
    <![CDATA[
      <script type="text/javascript">
        document.body.appendChild(document.createTextNode("messageId test"));
      </script>
    ]]>
  </Content>
</Module>

extractor configuration

谢谢。

【问题讨论】:

    标签: gmail gmail-api google-apps-marketplace google-gadget gmail-contextual-gadgets


    【解决方案1】:

    我让其他提取器工作,尝试遵循以下模式:gadget settings

    提取器参数名称支持的值:from_email、to_email、cc_email、bcc_email、date_sent、date_received、主题、正文、id、list_id、list_unsubscribe

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-11-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多