如何用schema.org的动作来描述网站上的典型表单?
How to use schema.org's actions to describe typical forms on websites?
我最近偶然发现了 actions within the schema.org vocabulary。据我了解,它们可用于标记表单并表明其操作类型。
因为我想标记我管理的网站上的操作,所以我不确定如何标记我发现的典型用例。
这是我目前部署的案例。有些很清楚,有些则很模糊,其中一些我根本没有找到任何通讯员 class。
你会保留这个标签吗?
- search=SearchAction
- contact=CommunicateAction
- 登录=检查操作
- register=RegisterAction
- newsletter=SubscribeAction
- feedback=InformAction
- 评论=评论动作
而且,你会如何标记这些案例?
- upload_files=?
- reset_pw=?
- 过滤器=?
- 虐待=?
- 投票=?
- add2cart=?
- orderby=?
'filter' 是结果集的典型限制,'orderby' 是根据某些标准更改结果集的顺序。
除了将登录匹配到 CheckInAction 之外,我同意您标记的所有操作。 CheckInAction 是 CommunicateAction 的子项,这将强烈暗示某种通信作为 'check in' 的一部分发生。我不确定我会以这种方式使用这个动作,但它似乎是最接近的。
对于其他人,这是我的看法:
upload_files
SendAction 在这里似乎最合适,因为它适用于 "electronically dispatching an object for transfer from an origin to a destination",本质上就是上传。
reset_pw
可能UpdateAction但类似于登录,似乎不太适合这种操作。
filter
我会使用 SearchAction again. Filtering is essentially searching with a defined query.
abuse
我不确定这些信息是否足以选择一个操作,但如果这本质上是一个 'report' 功能,我不确定是否有适合它的操作。 SuspendAction 等所有操作都表明会立即生效,而用户报告不会出现这种情况。
poll
同样,这到底是做什么的还不清楚,但是如果您要使用此操作创建投票,那么我建议 AskAction 因为您实际上是在问多项选择题。
add2cart
BuyAction may fit but is a bit more absolute than just adding an item to the cart. More generally, adding a product to a cart is essentially adding an item to a list, which means you can use AddAction to add the item and DeleteAction 删除它。
orderby
这与我将使用的过滤器非常相似:SearchAction.
我最近偶然发现了 actions within the schema.org vocabulary。据我了解,它们可用于标记表单并表明其操作类型。
因为我想标记我管理的网站上的操作,所以我不确定如何标记我发现的典型用例。
这是我目前部署的案例。有些很清楚,有些则很模糊,其中一些我根本没有找到任何通讯员 class。
你会保留这个标签吗?
- search=SearchAction
- contact=CommunicateAction
- 登录=检查操作
- register=RegisterAction
- newsletter=SubscribeAction
- feedback=InformAction
- 评论=评论动作
而且,你会如何标记这些案例?
- upload_files=?
- reset_pw=?
- 过滤器=?
- 虐待=?
- 投票=?
- add2cart=?
- orderby=?
'filter' 是结果集的典型限制,'orderby' 是根据某些标准更改结果集的顺序。
除了将登录匹配到 CheckInAction 之外,我同意您标记的所有操作。 CheckInAction 是 CommunicateAction 的子项,这将强烈暗示某种通信作为 'check in' 的一部分发生。我不确定我会以这种方式使用这个动作,但它似乎是最接近的。
对于其他人,这是我的看法:
upload_files
SendAction 在这里似乎最合适,因为它适用于 "electronically dispatching an object for transfer from an origin to a destination",本质上就是上传。
reset_pw
可能UpdateAction但类似于登录,似乎不太适合这种操作。
filter
我会使用 SearchAction again. Filtering is essentially searching with a defined query.
abuse
我不确定这些信息是否足以选择一个操作,但如果这本质上是一个 'report' 功能,我不确定是否有适合它的操作。 SuspendAction 等所有操作都表明会立即生效,而用户报告不会出现这种情况。
poll
同样,这到底是做什么的还不清楚,但是如果您要使用此操作创建投票,那么我建议 AskAction 因为您实际上是在问多项选择题。
add2cart
BuyAction may fit but is a bit more absolute than just adding an item to the cart. More generally, adding a product to a cart is essentially adding an item to a list, which means you can use AddAction to add the item and DeleteAction 删除它。
orderby
这与我将使用的过滤器非常相似:SearchAction.