[WordPress] 外掛分享: Talk Wiki To Me

首頁外掛目錄 › Talk Wiki To Me
10+
安裝啟用
尚無評分
6090 天前
最後更新
問題解決
WordPress 2.0.2+ v1.0.0 上架:2009-07-14

內容簡介

Talk Wiki To Me 基於 Better-{{Wiki}}-Links 系統開發。但是,Talk Wiki To Me 讓您不僅可以定義一個自訂的 Wiki 標籤,還可以定義多個搜尋引擎、網站、目錄或參考網站的標籤。透過定義自己的 Wiki 標籤,您可以快速組合連結,以共同的 url 結構建立連結,讓您專注於構建文章,減少建立或管理 url 連結所花費的時間。此外,這也可以保護您的外部連結,避免這些連結因為外部網站更改其 url 結構或路徑而失效。

安裝後,在「設定」的 Talk Wiki To Me 分類下可以找到插件的設定。首先,按照預設情況,選擇要使用的連結方式。預設情況下使用雙括弧。

[[ ]], (( )), {{ }}

設置完連結方式後,已經預設創建了一些 Wiki 標籤,您可以立即使用它們,或者創建自己的標籤。

使用您新建的連結標籤或現有的標籤,您可以開始編寫文章,並簡單地使用以下格式:

[[TAG|TERM|TEXT]]

例如,如果我想使用安裝插件時創建的 wiki 標籤,我編寫一個文章,並插入以下文本:

[[wiki|NASA|我的夢想職業]]

當文章被渲染時,您將獲得一個指向維基百科上的 NASA 頁面的鏈接。如果您查看源代碼,您可以粗略地看到它被轉換為:

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Talk Wiki To Me」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Talk Wiki To Me is based on the Better-{{Wiki}}-Links system. However, Talk Wiki To Me allows you to define more that just one custom wiki tag. This allows you the ability to define your own tags to multiple different search engines, websites, directories, or reference sites. Defining your own wiki-like tags allows you to quickly compose links that use a common url structure, allowing you to spend more of your efforts composing posts and less time creating or managing the url links. It also protects your external links from becoming broken if an external site changes their url site structure, or paths.
After installation, you can find the plugin settings under Talk Wiki To Me in the Settings section. First, select your style of brackets you want to use for your linking, by default double brackets are used.

[[ ]], (( )), {{ }}

After setting that bracket, there are some default wiki style tags already created for examples. You can use these right away or you can create your own.
With your new link tag created or using the existing one, you can get started by composing an entry and simply using the format:

[[TAG|TERM|TEXT]]

For example, if I want to use the wiki tag (created on installation of the plugin), I compose an entry and insert the following text:

[[wiki|NASA|My Dream Job]]

When the entry is rendered you will have a link to the NASA page on wikipedia. If you would view the source code, you would roughly see that it was translated to: My dream job
Notes:
A huge thanks to the Better-Wiki-Links plugin which initially allowed me to hard-code a version of this code for a few directories and search engines I found myself linking a lot to the msdn, wiki, and google. I AJAXed the control panel, but I`ll admit that it is fragile; multiple requests can be fired prior to a successful answer. Sadly I changed the plugin enough that I had to drop the internationalization support.
Thanks
A huge thanks to the Better-Wiki-Links plugin which initially allowed me to hard-code a version of this code for a few directories and search engines I found myself linking a lot to the msdn, wiki, and google.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon