[WordPress] 外掛分享: Writing On GitHub

前言介紹

  • 這款 WordPress 外掛「Writing On GitHub」是 2017-03-20 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2020-04-06,距離現在已有 1853 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.9 以上版本才可以安裝。
  • 有 3 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

litefeel |

外掛標籤

git | Github | content | collaboration | version control |

內容簡介

一個 WordPress 外掛,讓您可以在 GitHub 上撰寫文章 (或 Jekyll 網站)。

這個外掛的部份程式碼來自於WordPress GitHub Sync,感謝。

有沒有開心想過您可以和他人共同撰寫 WordPress 網站的內容 (或公開更改歷史並接受讀者的 pull request)?

現在您可以實現了!這就是Writing On GitHub!

Writing On GitHub 可以完成三個任務:

讓發布者在 GitHub 上進行版本控制
讓讀者透過 GitHub 的 Pull Request 提交 WordPress 內容的預期改進

Writing On GitHub 也可以做其他的一些酷炫事情:

讓團隊利用 GitHub 協作編寫和編輯文章 (例如:pull request、問題、評論)
讓您通過 GitHub 同步兩個不同 WordPress 安裝的內容
讓您在“部署”到生產伺服器之前先進行預覽和預測內容

它是如何運作的

同步操作基於兩個 Hooks:

每篇文章的同步操作是響應 WordPress 的save_post Hook 觸發的,它會將內容推送到 GitHub
所有更改的檔案的同步操作是由 GitHub 的push Webhook 觸發的 (Outbound API Call)

原文外掛簡介

A WordPress plugin to allow you writing on GitHub (or Jekyll site).
Some code for this plugin comes from WordPress GitHub Sync, thanks.
Ever wish you could collaboratively author content for your WordPress site (or expose change history publicly and accept pull requests from your readers)?
Well, now you can! Introducing Writing On GitHub!
Writing On GitHub does three things:

Allows content publishers to version their content in GitHub
Allows readers to submit proposed improvements to WordPress-served content via GitHub’s Pull Request model

Writing On GitHub might be able to do some other cool things:

Allow teams to collaboratively write and edit posts using GitHub (e.g., pull requests, issues, comments)
Allow you to sync the content of two different WordPress installations via GitHub
Allow you to stage and preview content before “deploying” to your production server

How it works
The sync action is based on two hooks:

A per-post sync fired in response to WordPress’s save_post hook which pushes content to GitHub
A sync of all changed files triggered by GitHub’s push webhook (outbound API call)

各版本下載點

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

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


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 1.10 | 1.4.1 | 1.5.1 | 1.6.1 | 1.10.1 |

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

  • Github Embed 》此外掛允許您只需貼上 URL,即可嵌入 GitHub 的詳細資訊,就像您嵌入其他嵌入來源一樣。目前支援:, , 資料庫, 使用者檔案, 專案里程碑摘要, 專案貢獻者, , ...。
  • Jekyll Exporter 》nclude information relevant to the issue you are reporting., , , 功能, , 將所有文章、頁面和 WordPress 設定轉換為 Markdown 和 YAML 格式,可用於 Jeky...。
  • Pastacode 》使用 Pastacode,您可以輕鬆地將代碼加入您的文章中,並使用宏偉的 PrismJs 着色庫。, 您可以將源代碼插入到文章編輯器中,直接將其寫入編輯器中(使用 Guten...。
  • Embed Block for GitHub 》這個外掛能夠在區塊編輯器中加入 GitHub 儲存庫嵌入區塊。, 此外掛是在 GitHub 上開發的,歡迎貢獻!, 特別感謝:, – @pedro-mendonca 提供 i18n/l10n ...。
  • WordPress GitHub Sync 》這是一個 WordPress 外掛,可以將內容與 GitHub 儲存庫(或 Jekyll 網站)進行同步, , 如果您希望能夠協同撰寫 WordPress 網站的內容(或公開展示更改歷史...。
  • Documents from Git 》官方文件: https://github.com/gis-ops/wordpress-markdown-git, 這個WordPress外掛讓您能夠輕鬆地從您最喜愛的遠端Git平台上發布、協作和版本控制您的[...。
  • Git it Write – Write posts from GitHub 》Git it Write允許將存儲在Github存儲庫中的markdown文件發布到您的WordPress網站中。因此,使用此外掛程序,當存儲庫中添加、更新文件時,WordPress文章將相...。
  • Gist GitHub Shortcode 》這款外掛可以通過使用 shortcode 在您的文章中添加 Github Gists。, 範例:, 添加完整的 gist:, [gist id="3837669"], , 添加 gist 中的特定文件:, [gist i...。
  • Embed Repo For Github 》以下為繁體中文總結:, , 透過這款 WordPress 外掛,您可以把自己的 GitHub 倉庫嵌入 WordPress 網站的各個區域,快速簡單地展示您的作品。以下為使用方法。,...。
  • External Markdown 》這是一個 WordPress 外掛,可使用短碼 [external_markdown] 從外部網站(例如 GitHub、GitLab 等)嵌入 Markdown 文件到 WordPress 內容中。可能的使用情況是...。
  • Embed GitHub Gist 》這個專案可以在 GitHub 上進行 Fork:, , https://github.com/dflydev/embed-github-gist, , 嵌入GitHub Gists, 到 WordPress 中。提供文章和頁面的縮碼,還有...。
  • Canvas-Nest.js 》Canvas-nest.js是 GitHub 上一個非常華麗的開源專案,它使用不到2kb的Javascript代碼,構造一個炫酷的網頁背景效果。該專案的網址是:https://github.com/aTo...。
  • WP Github 》WP Github 提供三個側邊欄小工具,可配置為在側邊欄中顯示來自 Github 的公開資料,包括個人資料、存儲庫、提交、問題和 Gist。您可以配置任意多個小工具以顯...。
  • GitHub Release Downloads 》gs » GitHub Release Downloads, you can set default values for user and repo attributes, as well as change the downloads suffix string and sel...。
  • Mytory Markdown 》ugin allows you to convert Markdown files to HTML and display them in your post content. You can provide a URL for the Markdown file, like a GitHub...。

文章
Filter
Apply Filters
Mastodon