小编Pyt*_*ist的帖子

Schema.org的“类别”页面

背景:我正在一家电子商务商店中,我们有一个类别页面,显示产品的缩略图,价格,名称和简短描述。无法从此页面购买,需要首先进入产品详细信息页面。

我对类别页面上schema.org的用法感到非常困惑。

提出了几种解决方案,但不能说出最好的(最好是最后一个)

  1. ItemListListItemshttps://developers.google.com/search/docs/guides/mark-up-listings上所建议的那样带有内部 (不支持产品,但是它显示了在网站上放置多个项目的想法)

    {
    "@context": "http://schema.org",
    "@type": "ItemList",
    "name": "T-Shirt",
    "url": "/category/t-shirt/",
    "description": "Deserunt quibusdam ipsa illo ex nam ea illo qui. Itaque maiores doloribus accusamus ratione. Aperiam ipsa veritatis quas nisi.",
    "itemListOrder": "Unordered",
    "numberOfItems": 2,
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "url": "/products/lopez-smith-25/?color=yellow&size=XXL",
            "name": "Yellow Lopez-Smith",
            "image": {
                "@context": "http://schema.org",
                "@type": "ImageObject",
                "contentUrl": "/media/__sized__/products/yellow_n2QjKzn-thumbnail-640x640-70.jpg",
                "description": "Lopez-Smith",
                "width": 640,
                "height": 640
            }
        },
        {
            "@type": "ListItem",
            "position": 2,
            "url": "/products/lopez-smith-25/?color=blue&size=37",
            "name": "Blue Lopez-Smith", …
    Run Code Online (Sandbox Code Playgroud)

categories schema.org json-ld

8
推荐指数
0
解决办法
2646
查看次数

从 Google Cloud Storage 批量恢复文件

不小心在错误的存储桶上运行删除命令,对象版本控制已打开,但我不太明白应该采取哪些步骤来恢复文件,或者更重要的是,如何批量执行此操作,因为我已经删除了数百个文件其中。

将不胜感激任何帮助。

cloud-storage google-cloud-storage

5
推荐指数
1
解决办法
1523
查看次数