Linux 软件免费装
Banner图

Brasth Document Sync for Google Docs

开发者 canvilled
更新时间 2026年7月12日 14:16
PHP版本: 8.1 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

blocks google-docs content-sync google-drive editorial-workflow

下载

1.0.6 1.0.2 1.0.3 1.0.7 1.0.8 1.0.1 1.0.5 1.0.9 1.1.0 1.1.1 1.0.4 1.1.2 1.1.3

详情介绍:

Brasth Document Sync for Google Docs helps editorial teams use Google Docs as the source of truth while publishing clean WordPress content. Site owners provide their own Google OAuth web client, each WordPress user connects their own Google account, and authorized users can browse accessible Google Docs, link a document to a post or page, and sync content into WordPress. The plugin exports Google Docs as HTML ZIP packages, imports embedded images into the WordPress Media Library, rewrites image URLs, sanitizes the resulting HTML, and converts common document structures to Gutenberg block markup. If Google blocks a large HTML ZIP export, Brasth Document Sync retries through the Google Docs API fallback before changing post content. Features include: External Services Brasth Document Sync connects to Google services only after a site administrator saves a self-managed Google OAuth client ID and client secret and a WordPress user connects their Google account. This plugin sends requests to these Google services: Data sent to Google can include OAuth client details supplied by the site owner, OAuth authorization codes, refresh-token requests, connected-user access tokens, Drive file IDs, folder IDs, shared-drive IDs, search text entered in the Drive browser, pagination tokens, and document export/read requests. Data received from Google can include the connected Google account email address, OAuth tokens, Google Docs titles, metadata, modified time, version identifiers, document export content, and image content URLs needed to import media into WordPress. Google's terms and privacy documents apply to these services: Brasth Document Sync also includes optional anonymous active-install telemetry. This setting is off by default and runs only when a site administrator enables usage diagnostics from the Setup consent prompt or the "Share anonymous usage diagnostics with Brasth" checkbox in Setup > Sync defaults. When enabled, the plugin sends one weekly POST request to https://telemetry.brasth.com/v1/check-in. This Brasth telemetry service is used to count active opted-in installs and understand version compatibility. The request contains only an anonymous site hash generated from a random install ID, the plugin slug, plugin version, WordPress version, PHP version, and telemetry consent version. It does not contain Google data, site URL, user email, post data, document IDs, document metadata, document content, or imported media. The telemetry service stores the fields listed above in Cloudflare D1, does not store IP addresses, user agents, request URLs, or request headers, and deletes rows that have not checked in for more than 90 days. Privacy Policy: https://docsyncwp.com/privacy-policy

安装:

  1. Upload the brasth-document-sync-for-google-docs folder to /wp-content/plugins/, or install the plugin ZIP through Plugins > Add New > Upload Plugin.
  2. Activate Brasth Document Sync from the WordPress Plugins screen.
  3. In Google Cloud, create or select a project.
  4. Enable the Google Drive API and Google Docs API.
  5. Configure the OAuth consent screen for the WordPress site users.
  6. Create an OAuth 2.0 Web application client.
  7. Add the authorized redirect URI shown in the Brasth Document Sync setup wizard.
  8. In WordPress admin, open Brasth Document Sync and save the OAuth client ID and client secret.
  9. Connect a Google account, browse or paste a Google Doc, and link it to a WordPress post or page.

屏幕截图:

  • Posts list Add Sync Doc flow with linked source status and background sync progress.
  • Drive browser modal with breadcrumbs, search, and folder navigation.
  • Drive browser empty folder state with search and access-check guidance.
  • Synced draft editor with the Brasth Document Sync meta box.

常见问题:

Does Brasth Document Sync provide a hosted Google connector?

No. This release uses self-managed Google OAuth. The site owner supplies the Google Cloud project and OAuth web client.

Which Google APIs are required?

Enable both the Google Drive API and Google Docs API in the same Google Cloud project used by the OAuth client.

Which Google OAuth scope is used?

Brasth Document Sync uses https://www.googleapis.com/auth/drive.readonly so connected users can browse and sync Google Docs their account can read.

Does sync delete WordPress posts?

No. Sync updates the linked post content, and uninstall never deletes synced posts. Full post-meta cleanup is available only through the documented full-uninstall constant or filter.

What happens on low-traffic sites?

Manual and scheduled background syncs use WP-Cron. Low-traffic sites or sites with DISABLE_WP_CRON should configure a real server cron job that calls wp-cron.php.

Can I clear sync logs?

Yes. The Logs screen can clear stored diagnostic events for one source or all sources you can edit. Clearing logs removes only _docsync_wp_sync_events; it does not delete linked Docs, sync status, credentials, progress, synced posts, or imported media.

Are Google OAuth secrets and user tokens stored safely?

Brasth Document Sync encrypts the site OAuth client secret and per-user Google tokens with WordPress salts before storage. Rotating WordPress salts invalidates those credentials and users must reconnect.

更新日志:

1.1.3 1.1.2 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0