活动预订电子邮件标记无法识别“操作”属性

问题描述

我创建了一封带有Microdata的电子邮件,用于EventReservation。收到邮件后,Gmail会正确识别有关事件日期,地点等的信息。但是我添加自定义 action 来访问Gmail无法识别的网页。 Gmail仍支持Event的 action 属性。微数据看起来像这样:

    <div itemscope itemtype="http://schema.org/EventReservation">
    <Meta itemprop="reservationNumber" content="1000"/>
    <link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed">
    <link itemprop="modifyReservationUrl" href="https://www.mywebsite.com/1000">
    <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
        <Meta itemprop="name" content="Name"/>
    <div itemprop="action" itemscope itemtype="http://schema.org/Action">
        <Meta itemprop="name" content="Go to my web site"/>
        <link itemprop="url" href="https://www.mywebsite.com/action"/>
    </div>
    </div>
    <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Event">
        <Meta itemprop="name" content="Event name"/>
        <Meta itemprop="startDate" content="2020-09-01T18:00:00+0000"/>
        <Meta itemprop="endDate" content="2020-09-01T19:00:00+0000"/>
        <div itemprop="performer" itemscope itemtype="http://schema.org/Organization">
            <Meta itemprop="name" content="Event Performer Name}}"/>
        </div>
        <div itemprop="location" itemscope itemtype="http://schema.org/Place">
            <Meta itemprop="name" content="Address name"/>
            <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
                <Meta itemprop="streetAddress" content="Address">
                <Meta itemprop="addressLocality" content="Locality">
                <Meta itemprop="addressRegion" content="Region"/>
                <Meta itemprop="postalCode" content="PostCode">
                <Meta itemprop="addressCountry" content="Country">
            </div>
        </div>
    </div>
</div>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...