[WordPress] 外掛分享: Draft from Google Docs

首頁外掛目錄 › Draft from Google Docs
WordPress 外掛 Draft from Google Docs 的封面圖片
20+
安裝啟用
尚無評分
716 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.6+ v1.2 上架:2022-06-01

內容簡介

如果你和一個團隊使用 Google Docs 進行內容的編輯和修訂,現在你能夠在 WordPress 中創建一篇草稿博客文章或頁面,而不會在你的網頁內容中充斥不適當的 HTML 和內嵌樣式。這個工具提取圖像,並允許你下載它們或直接將它們導入 WordPress。

這簡化了原本的多步驟流程:

將 Google Docs 內容粘貼到 rich text editor 中或清理 HTML,或粘貼到代碼視圖中並重新創建樣式
一次下載一個圖像從 Google Docs
將圖像上傳到 WordPress

這個外掛最初是為 Similarweb 的 Insights Newsroom 團隊創建的,這個工具允許編輯團隊協作撰寫和編輯文件,包括圖像佈局,然後快速地將該內容轉換為博客文章的草稿,然後在博客編輯器中進行微調。

可與傳統編輯器或塊編輯器一起使用。

對於塊編輯器,基本塊元數據將添加到段落、標題、無序列表和圖像中。任何其他內容都將顯示為傳統塊,並選擇使用編輯器的轉換為塊功能。

短代碼 [draft_from_google_docs] 可用於在公共網頁上包括此功能。在這種情況下,內容不是直接導入 WordPress 中,而是以允許複製和粘貼到 WordPress 編輯器中的格式顯示。在這種情況下,與文件關聯的圖像以允許你將其下載到你的計算機並逐一上傳到你的博客文章或頁面的格式顯示。含有 download_ok=”1″ 屬性的短代碼表示這些圖像將被下載到本地 WordPress 實例中。否則,下載鏈接將指向這些圖像在 Google Cloud 上的 URL。

插件頁面 www.rsvpmaker.com/draft-from-google-docs/

感謝 Miroslav Mitev 提供有關如何從 url 下載以創建 WordPress 附件的 代碼示例。

Butterfly 圖像由 JamesDeMers 提供,來自 Pixabay

編者注
RSVPMaker
版權所有 (C) 2022 強克爾大學 David F. Carr

此程式是自由軟體,你可以重新分發和/或修改它
根據自由軟體基金會發布的 GNU 通用公共许可协议的条款
版本,允许免费复制、散布、和/或修改
它,以下是一些有关使用和复制的规则以及免责声明
全部细节参见 GNU 通用公共许可协议:
<http://www.gnu.org/licenses/gpl-2.0.html>.

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Draft from Google Docs」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

If you use Google Docs to edit and revise content with a team of people, you can now create a draft blog post or page in WordPress without cluttering your web content with inappropriate HTML and inline styles. The tool extracts images and allows you to download them or import them directly into WordPress.
This simplifies what would otherwise be a multistep process of

Either pasting into the rich text editor or cleaning up the HTML or pasting into code view and recreating styling
Downloading images from Google Docs, one at a time
Uploading images into WordPress

Originally created for use by the Insights Newsroom team at Similarweb, this plugin allows editorial teams to collaborate on the writing and editing of a document, including image placement, in Google Docs, quickly turn that content into a draft blog post, and then tweak as necessary in the blog editor.
Works with either the block editor or the classic editor.
For the block editor, basic block metadata is added for paragraphs, headings, unordered lists, and images. Any other content will be displayed as classic blocks, with the option to use the Convert to Blocks function of the editor.
The shortcode [draft_from_google_docs] is available for including this functionality on a public web page. In that case, the content is not imported directly into WordPress but displayed in a format that allows it to be copied and pasted into the WordPress editor. In that case, images associated with the document are displayed in a format that allows you to download them into your computer and upload them one by one into your post or page. Including the download_ok=”1″ attribute within the shortcode means the images will be downloaded into the local WordPress instance. Otherwise, the download links will point to the Google Cloud url for those images.

Plugin Page www.rsvpmaker.com/draft-from-google-docs/
Thank you to Miroslav Mitev for a code sample on how to download from a url to create WordPress attachments.
Butterfly image Image by JamesDeMers from Pixabay
Credits
RSVPMaker
Copyright (C) 2022 David F. Carr

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

See the GNU General Public License at .

延伸相關外掛

文章
Filter
Apply Filters
Mastodon