[WordPress] 外掛分享: Dan’s Viewer for Google Drive

首頁外掛目錄 › Dan's Viewer for Google Drive
WordPress 外掛 Dan's Viewer for Google Drive 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
200+
安裝啟用
★★★★
4.5/5 分(10 則評價)
2480 天前
最後更新
問題解決
WordPress 4.0.1+ v1.2 上架:2016-10-24

內容簡介

Dan's Viewer for Google Drive是在我尋找一種透過Google Drive在我的網站分享文件的方式時創建的,其中需要下載、查看、匯出檔案,而最難找到的是不離開網站的能力,可以深入子資料夾。我找不到符合我需求且價格在我的預算範圍內的任何東西,所以我決定自己創建。

Dan's Viewer for Google Drive以一種方便的方式顯示文件,具有易於自訂的簡碼和易於美化的特點。不需要將文件導入WordPress中或直接管理它們。您所需的只是一個公共的Google Drive文件夾(或多個!)和一個免費、易於獲取的API金鑰。

功能

以手機友好的方式顯示公共驅動器文件列表

在適當的情況下提供查看和下載選項

為Google文檔/表格/演示文稿提供匯出選項

所有選項都通過簡碼進行配置

允許在不離開頁面的情況下深入/浮現資料夾

能夠存儲並使用無限的Google Drive文件夾

簡碼:

默認顯示 [dandrive](默認為第1個驅動器)

可選屬性Ex: [dandrive drive=1 divid=mydrive height=400 width=300 rbutton=no]

drive=(您要的驅動器數量,如果未輸入,則默認為1)

divid=(您的日曆存儲在其中的div的ID,供自定義主題使用。默認為隨機字符串,以允許每頁面多個)

height=(最大高度(以像素為單位),默認為自動。如果設置此項,當您的div溢出時,將會出現捲軸。只需輸入一個數字)。

width=(最大寬度(以像素為單位),默認為400。只需輸入一個數字)

rbutton=(no表示不顯示返回初始文件夾按鈕。省略以顯示(默認行為))

有關如何創建與此外掛使用的API金鑰的幫助,請查看插件中的設置頁面或此處的常見問題解答選項。

要查看其他類似此外掛或有關如何構建它們的提示,請訪問我的網站。

感謝Mike @ WP Bullet Guides為橫幅和圖標做出的貢獻。

依賴關係和許可

依賴於Google Drive的JavaScript API v4

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dan's Viewer for Google Drive」→ 直接安裝(推薦)

原文外掛簡介

Dan’s Viewer for Google Drive was created when I was looking for a way to share files via Google Drive on my sites, in a way that allowed downloading, viewing, exporting, and hardest to find, the ability drill down into subfolders without leaving the site. I couldn’t find anything within my price range that fit what I needed, so I decided to create my own.
Dan’s Viewer for Google Drive displays files in a way that is mobile friendly, customizable via shortcode, and easy to style. No need to import files or manage them directly in WordPress. All you need is a public Google Drive Folder (or multiple!) and a free, easy to get API key.
Features

Displays public drive document listings in a mobile friendly format

Offers both View and Download Options, where appropriate

Offers Export Option for Google Docs / Sheets / Presentations

All options are configured via shortcode

Allows drill down / up within folders without leaving the page

Ability to store and use unlimited Google Drive Folders

Shortcodes:

Default Display [dandrive] (defaults to 1st drive)

Optional Attributes Ex:[dandrive drive=1 divid=mydrive height=400 width=300 rbutton=no]

drive= (number of the drive you want, defaults to 1 if not entered)

divid= (id of the div your calendar is stored in, for custom theming. Defaults to random string to allow multiple per page)

height= (maximum height in pixels, defaults to auto. If this is set, a scroll bar will appear if your div overflows. Enter a number only).

width = (maximum width in pixels, defaults to 400. Enter a number only)

rbutton = (no means don’t display return to initial folder button. Omit to display (default behaviour))

For help creating an API key to use with this plugin, either check out the settings page in plugin, or the FAQ tab here.
To see other plugins like this, or tips on how these are built, check out my site.
Thanks to Mike @ WP Bullet Guides for the banner and icon.
Dependencies and Liscencing
Depends on Google Drive’s JavaScript API v4

文章
Filter
Apply Filters
Mastodon