[WordPress] 外掛分享: Screenshot Generator

前言介紹

  • 這款 WordPress 外掛「Screenshot Generator」是 2015-05-03 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2015-05-05,距離現在已有 3656 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

lassebunk |

外掛標籤

social | preview | phantomjs | screendump | screenshot |

內容簡介

Screenshot Generator 是一個 WordPress 外掛程式,當文章更新時可以自動生成社交媒體等平台所需的文章截圖。
這款外掛程式使用 PhantomJS 實現自動截圖之功能。

為何要使用這款外掛程式呢?當我正在開發 Toptrust 時,我厭倦了手動添加文章圖片
以便在社交媒體上進行分享。特別是對於那些沒有精選圖片的頁面來說更是如此。
因此,我希望屏幕截圖可以自動進行,於是生成了 Screenshot Generator。

使用方法
當您更新文章或頁面時,外掛程式會自動後台生成截圖。
在幾秒鐘後,截圖 URL 將被保存到文章的元鍵 _scrgen_screenshot 中。

社交媒體上的截圖
當瀏覽文章時,如果該文章缺少精選圖片,此外掛會自動新增 og:image 和 twitter:image:src 至元標籤中。
插件期望您或其他插件新增文章的縮略圖,並僅在文章沒有對應的缩略圖時才新增這兩項元標籤。您可以在外掛程式的設定頁面中更改此設定。

手動擷取截圖
如果您想手動擷取截圖,那麼可以透過以下方式在文章中進行:

貢獻
如果您有興趣參與開源貢獻,非常歡迎您在這個外掛程式的 GitHub 存儲庫 中做出貢獻。

致謝
此外掛程式中的截圖功能取自 Microweber 的 Screen 代碼。

原文外掛簡介

Screenshot Generator is a WordPress plugin that takes screenshots of posts for social media etc. when they are updated.
It uses PhantomJS to do this.

Why? When developing Toptrust, I was tired of manually adding images of posts
when sharing on social media. This was especially true for pages that had no featured/thumbnail images.
I wanted screenshots to be taken automatically, and so Screenshot Generator was born.
Usage
When you update a post or page, a screenshot is automatically taken in the background.
After a few seconds, the screenshot URL is saved to the post’s meta key _scrgen_screenshot.
Screenshots on social media
An og:image and twitter:image:src is automatically added to the meta tags
when viewing the post. These are only added if the post doesn’t have a
thumbnail, in which case the plugin expects the thumbnail to be added by
you or another plugin. You can change this in the plugin settings page.
Retrieving screenshots manually
If you want to retrieve the screenshot manually, you can do so inside a post:

Contributing
Contributions are appreciated and very welcome. You can contribute in the
plugin’s GitHub repository.
Credits
The screenshot functionality is adapted from Microweber’s
Screen code.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Screenshot Generator」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1.0 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5 | 0.1.6 | 0.1.7 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon