เราอยู่ใน LinkedIn แล้วตอนนี้: หากต้องการข่าวสารและแหล่งข้อมูลจาก Google Search เกี่ยวกับการทำให้เว็บไซต์ของคุณค้นพบได้ โปรด
ติดตามเราใน LinkedIn
การทําความสะอาดช่วงฤดูใบไม้ผลิ: แท็กส่วนขยาย Sitemap บางรายการจะไม่มีแล้ว
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
วันศุกร์ที่ 6 พฤษภาคม 2022
ตลอดหลายปีที่ผ่านมา เราได้แนะนำแท็กและแอตทริบิวต์แท็กจํานวนมากสำหรับส่วนขยาย Sitemap ของ Google โดยเฉพาะส่วนขยายรูปภาพและวิดีโอ มีการเพิ่มแท็กส่วนใหญ่เหล่านี้เพื่อให้เจ้าของเว็บไซต์สามารถแสดงข้อมูลใน Search ได้ง่ายขึ้น
และเมื่อประเมินค่าของแท็กส่วนขยาย Sitemap ของ Google แล้ว เราได้ตัดสินใจที่จะเลิกใช้งานแท็กและแอตทริบิวต์บางรายการ และนําแท็กดังกล่าวออกจากเอกสารประกอบอย่างเป็นทางการ แท็กที่เลิกใช้งานแล้วจะไม่ส่งผลต่อการจัดทำดัชนีและฟีเจอร์การค้นหาหลังจากวันที่ 6 สิงหาคม 2022
คุณไม่จําเป็นต้องดําเนินการใดๆ ทันทีหากเป็นนักพัฒนาปลั๊กอินสำหรับ Sitemap หรือจัดการ Sitemap ของตัวเอง คุณสามารถปล่อยแท็กและแอตทริบิวต์เหล่านี้ไว้ได้โดยจะไม่ทำให้เกิดข้อบกพร่อง ในอนาคต Search Console อาจแสดงคําเตือนเมื่อการอัปเดตเหล่านี้รวมอยู่ในส่วนขยายรูปภาพและวิดีโอของสคีมาเวอร์ชันถัดไป
แท็กและแอตทริบิวต์ต่อไปนี้จะได้รับผลกระทบ
เราหวังว่าจะช่วยลดความซับซ้อนสำหรับฐานของโค้ดและ Sitemap จะยุ่งเหยิงน้อยลง หากมีข้อสงสัยหรือความคิดเห็น โปรดดูเอกสารประกอบสำหรับ Sitemap หรือติดต่อเราทาง Twitter หรือในฟอรัม Search Central
โพสต์โดย Gary Illyes จากทีม Search
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
[null,null,[],[[["\u003cp\u003eGoogle is deprecating certain tags and attributes in image and video sitemap extensions, effective August 6, 2022.\u003c/p\u003e\n"],["\u003cp\u003eThese deprecated tags, including \u003ccode\u003ecaption\u003c/code\u003e, \u003ccode\u003egeo_location\u003c/code\u003e, \u003ccode\u003etitle\u003c/code\u003e for images and \u003ccode\u003ecategory\u003c/code\u003e, \u003ccode\u003eplayer_loc\u003c/code\u003e attributes, \u003ccode\u003egallery_loc\u003c/code\u003e, \u003ccode\u003eprice\u003c/code\u003e, \u003ccode\u003etvshow\u003c/code\u003e for videos, will no longer influence indexing or search features.\u003c/p\u003e\n"],["\u003cp\u003eNo immediate action is required for website owners or sitemap plugin developers as these tags can remain without negative consequences.\u003c/p\u003e\n"],["\u003cp\u003eGoogle recommends following their best practices for images and videos instead of using the deprecated tags for providing relevant information.\u003c/p\u003e\n"],["\u003cp\u003eThis simplification aims to reduce codebase complexity and improve sitemap clarity.\u003c/p\u003e\n"]]],["Google deprecated several tags and attributes within its Image and Video sitemap extensions, effective August 6, 2022. These include `caption`, `geo_location`, `title`, and `license` for Image sitemaps, and `category`, `player_loc` attributes, `gallery_loc`, and `price`, and `tvshow` for Video sitemaps. While no immediate action is required, deprecated tags will not impact indexing. Site owners are encouraged to follow best practices instead. Future Search Console updates will include warnings for these tags.\n"],null,["# Spring cleaning: some sitemap extension tags are going away\n\nFriday, May 06, 2022\n\n\nOver the years, we introduced a number of tags and tag attributes for Google sitemap extensions,\nspecifically the [Image](/search/docs/crawling-indexing/sitemaps/image-sitemaps) and\n[Video](/search/docs/crawling-indexing/sitemaps/video-sitemaps) extensions. Most of these tags\nwere added to allow site owners to deliver data more easily to Search.\n\n\nUpon evaluating the value of the Google sitemap extension tags, we decided to officially deprecate\nsome tags and attributes, and remove them from our documentation. The deprecated tags will have no\neffect on indexing and search features after August 6, 2022.\n\n\nIf you are a sitemap plugin developer or manage your own sitemaps, there's no immediate action\nrequired; you can leave these tags and attributes in place without drawbacks. In the future,\nSearch Console may show warnings once these updates are included in the next schema versions of\nthe [Image](/search/docs/crawling-indexing/sitemaps/image-sitemaps) and\n[Video](/search/docs/crawling-indexing/sitemaps/video-sitemaps) extensions.\n\n\nThe following tags and attributes are affected:\n\n| Sitemap extension | Deprecated XML tag or attribute | Recommendation |\n|-------------------------------------------------------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| [Image sitemap](/search/docs/crawling-indexing/sitemaps/image-sitemaps) | `caption` | Follow our [images best practices](/search/docs/appearance/google-images#use-descriptive-alt-text). |\n| [Image sitemap](/search/docs/crawling-indexing/sitemaps/image-sitemaps) | `geo_location` | Follow our [images best practices](/search/docs/appearance/google-images#use-descriptive-alt-text). |\n| [Image sitemap](/search/docs/crawling-indexing/sitemaps/image-sitemaps) | `title` | Follow our [images best practices](/search/docs/appearance/google-images#use-descriptive-alt-text). |\n| [Image sitemap](/search/docs/crawling-indexing/sitemaps/image-sitemaps) | `license` | | Continue using [IPTC metadata](/search/docs/appearance/structured-data/image-license-metadata) for providing licensing data. |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `category` | Follow our [video best practices](/search/docs/appearance/video). |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `player_loc[@allow_embed]` | Follow our [video best practices](/search/docs/appearance/video). |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `player_loc[@allow_embed]` | Follow our [video best practices](/search/docs/appearance/video). |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `player_loc[@autoplay]` | Follow our [video best practices](/search/docs/appearance/video). |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `gallery_loc` | Follow our [video best practices](/search/docs/appearance/video). |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `price[@all]` | Follow our [video best practices](/search/docs/appearance/video). |\n| [Video sitemap](/search/docs/crawling-indexing/sitemaps/video-sitemaps) | `tvshow[@all]` | Follow our [video best practices](/search/docs/appearance/video). |\n\n\nBy simplifying sitemap extensions, we hope you can also reduce complexity of your codebases, and\nsitemaps will be less cluttered in general. If you have questions or comments, check out our\n[sitemaps documentation](/search/docs/crawling-indexing/sitemaps/build-sitemap), or catch us on\n[Twitter](https://twitter.com/googlesearchc) or in the\n[Search Central forums](https://support.google.com/webmasters/community).\n\nPosted by\n[Gary Illyes](https://garyillyes.com/+), Search Team"]]