Media Sitemap for Google

外掛說明

這個外掛能為 WordPress 網站輸出 Google 搜尋引擎需要的媒體 Sitemap。

擷取文章、頁面及自訂內容類型中的圖片及影片,並以內容為單位整理相關資訊。

  • 不支援媒體庫永久連結 (附件頁面)。

圖片

  • 媒體庫圖片對應的 img 標籤及圖庫短代碼。

媒體庫中的視訊

  • 媒體庫影片對應的 video 標籤及播放清單短代碼。
  • thumbnail_loc 標籤是包含與影片位於相同資料夾、與影片相同名稱且副檔名 jpg、png 的規格。此外,它也是標準圖示。
  • description 標籤是包含媒體說明文字的規格。

YouTube 嵌入影片的影片

  • 支援 YouTube 嵌入影片。
  • YouTube Data API v3 金鑰為必要項目。

支援樣式表

螢幕擷圖

  • 外掛設定頁面
  • 圖片 Sitemap
  • YouTube 嵌入影片
  • 影片 Sitemap

安裝方式

  1. 上傳 media-sitemap 目錄及其中的全部檔案至 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。

常見問題集

目前尚無

使用者評論

2020 年 7 月 22 日
That's what I was looking for. Unfortunately, powerful SEO packs do not cope with my task. This plugin managed to fix my problems. 4 stars because the author has a lot to work on. There are 2 small problems 1. There is no way to cache the sitemap 2. Not all video thumbnails are displayed correctly (perhaps this is a local problem)
2019 年 9 月 6 日
I really like it. It scan all my articles and extract the images and videos, then generate two sitemaps. Nice work.
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Media Sitemap for Google〉的開發相關工作。

參與者

〈Media Sitemap for Google〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Media Sitemap for Google〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.04

Changed file_get_contents to wp_remote_get.

2.03

Supported WordPress 6.4.
PHP 8.0 is now required.

2.02

Removed unnecessary code.

2.01

MIME Type can now be selected.

2.00

Supported YouTube API.

1.17

Supported WordPress 5.6.

1.16

Fixed video sitemap getting error.

1.15

Fixed video sitemap getting error in PHP 7.3.

1.14

Fixed a problem with URL extraction.

1.13

Fixed problem of stylesheet.

1.12

Supported stylesheet.

1.11

Can create XML for image galleries and video playlists.

1.10

Supported video sitemap.

1.05

Fixed a Sitemap type issue.

1.04

Conformed to the WordPress coding standard.

1.03

Removed unnecessary code.

1.02

Fixed fine problem.

1.01

Changed donate link.

1.00

Initial release.