
前言介紹
- 這款 WordPress 外掛「Base64 Encoder/Decoder」是 2009-02-04 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2015-09-06,距離現在已有 3826 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.0.5 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
tag | base64 | decoder | encoder | comments |
內容簡介
Base64 Encoder/Decoder 是一個 WordPress 外掛,它可以讓你將文章的部分內容加密為 base64 編碼。編碼後的文字看起來像是難以理解的文本,但是當你按下「解碼」按鈕時,它將使用 AJAX 進行內聯替換,變得易讀。這樣對於搜尋引擎機器人來說是看不見的。
它使用 ‘[base64]’ 和 ‘[/base64]’ 標籤來分隔需要進行加密的文章部分。這些標籤在瀏覽器上看不見,也就是說,如果你決定停用此外掛,這些標籤包圍的內容將會像一般的文字一樣顯示在文章中。
你可以在 HTML 編輯模式下手動輸入這些標籤,或是使用快速標籤按鈕來加入。目前此外掛還無法提供可視化編輯模式下的快速標籤按鈕,但我預計在下一個版本中會新增此功能。
先前的版本使用了 ‘<!–base64–>’、‘<!–/base64–>’、‘<base64>’ 和 ‘</base64>’ 等標籤。你不需要修改已有的文章,因為新的標籤格式可以與舊格式相容。但如果你想要更新資料庫,只要點擊一下就可以輕鬆地將舊標籤格式替換成新標籤格式。
鳴謝
大部分的程式碼都不是我所創造的,而是借鏡於比我更聰明的人,所以我必須要感謝他們。
在我還不了解如何創建 WordPress 外掛的時候,感謝 aNieto2k 的 AntiTroll 外掛 提供的部分程式碼。
感謝 Random Snippets 提供的 JavaScript 替換腳本,如果沒有這個腳本的話,外掛將無法進行內聯替換。
感謝 Lorelle's Blog 提供有關在 WordPress 資料庫中進行搜尋和替換的相關資訊。
感謝 MyDigitalLife 提供了如何識別 postID 的相關資訊,這幫助我解決了與多個文章上不同的 base64 區塊重複顯示的錯誤。
感謝 Daniel Lorch 提供了如何在外掛中使用 AJAX 的示範,這對我來說是一個很好的示範。
感謝 Automatic Timezone 外掛 提供部分腳本,以在已安裝的外掛頁面上添加「設定」的連結。
感謝 Famfamfam 提供用於管理頁面的關鍵圖示。
原文外掛簡介
Base64 Encoder/Decoder is a WordPress Plugin that enables you to encode parts of your post in base64. The encoded text looks like unreadable text, but when you press the “Decode” button it gets readable with inline replacement using AJAX, so it’s invisible to search robots.
It uses ‘[base64]’ and ‘[/base64]’ tags for opening and closing the parts of post you need to encode. The tags are browser invisible, this is, if you decide to deactivate the plugin, the content enclosed by this tags will be shown like normal text in the post.
You can add the tags typing them or using the quicktag button in HTML editing mode. For now I don’t provide a quicktag button in Visual editing mode, but I expect to add that in next version.
Previous versions of this plugin used ‘’, ‘’, ‘
Credits
Most parts of the code are not my creation, they were borrowed from people smarter than me, so I must thank to them.
Thanks to aNieto2k’s AntiTroll Plugin for part of the code, because that was my first source when I knew nothing about creating a WordPress Plugin.
Thanks to Random Snippets for the Javascript replacement script. Without it the plugin will be unable to replace text inline.
Thanks to Lorelle’s Blog for the info on how to search and replace inside a WordPress database.
Thanks to MyDigitalLife for the info on how to identify the postID, helping me to solve the bug related to multiple base64 blocks showing on different posts at same time.
Thanks to Daniel Lorch for the info on how to use AJAX inside the plugin, it was a clarificating example.
Thanks to Automatic Timezone Plugin for parts of script that adds “Settings” link to Admin Page in Installed Plugins Page.
Thanks to Famfamfam for the key icon used for the Admin page.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Base64 Encoder/Decoder」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.6 | 0.7 | 0.8 | 0.9 | 0.6.1 | 0.7.1 | 0.8.2 | 0.8.5 | 0.9.1 | 0.9.2 | trunk |
延伸相關外掛(你可能也想知道)
Akismet Anti-spam: Spam Protection 》Akismet會檢查您的評論和聯繫表單提交,將它們與全球垃圾郵件數據庫進行比對,以防止站點發佈惡意內容。您可以在部落格的“評論”管理畫面中檢查評論垃圾郵件的...。
Antispam Bee 》用 Antispam Bee 保障你的 WordPress 博客或網站免受評論垃圾郵件的困擾。這個外掛可以有效地阻止垃圾評論和引用,不需要驗證碼,也不會將個人信息發送給第三...。
Spam protection, Honeypot, Anti-Spam by CleanTalk 》Forms spam filter, Plugin extends spam protection for Gravity Forms. It filters spam submissions for each form created with Gravity Forms., MemberP...。
Disable Comments 》Disable Comments Plugin 是一個供管理員完全關閉網站評論功能的工具。我們的外掛程式可以全域性地關閉所有文章、頁面和附件的評論功能,移除所有相關的功能...。
Comments – wpDiscuz 》wpDiscuz是一個具有自訂評論表單和欄位的AJAX即時評論系統,旨在加強WordPress原生評論功能。速度超快且具有數十種功能,是Disqus和Jetpack Comments的最佳替...。
Gravatar Enhanced – Avatars, Profiles, and Privacy 》Gravatar Enhanced為您的網站增加了一些很酷的功能:, , 復古風格(生成的)Gravatar, 啟用Hovercards, 向在您的網站上評論但沒有Gravatar的人發送定制的Gravat...。Disqus Comment System 》Disqus 是網路上最受歡迎的評論系統,被數百萬的出版商信任,以增加讀者參與度、成長觀眾及流量、以及賺取內容。Disqus 協助各種尺寸的出版商直接與其觀眾互...。
Throws SPAM Away 》這個外掛的開發旨在打擊海外的評論垃圾郵件,目前以下的篩選器被用來判定垃圾郵件。, ・日語篩選(是否包含日語), 只有留言中包含日語字符才能被發布,沒...。
Subscribe to Comments 》Subscribe to Comments是一個強大的 WordPress 外掛,讓留言者可以訂閱文章回覆的電子郵件通知。此外掛還包括一個完整的訂閱管理工具,使留言者可以取消訂閱...。
Cookies for Comments 》這個外掛將會在你的部落格 HTML 的原始碼中新增一個樣式表或圖片。當瀏覽器讀取該樣式表或圖片時,會放置一個 Cookie。如果有使用者在這之後留下評論,該 Coo...。
Disable Comments 》此外掛完全禁用網站前端和後端的評論功能:, * 隱藏現有評論, * 在前端關閉評論, * 禁用評論、引用通告和Ping的支援, * 重新導向任何試圖訪問評論頁面的使用...。
Native PHP Sessions 》 , WordPress 核心不使用 PHP sessions,但有時您的使用案例、外掛或佈景主題可能需要使用它們。, 此外掛實現了 PHP 的原生 session handlers,後台由 WordPr...。
Subscribe To Comments Reloaded 》Subscribe to Comments Reloaded 是一個功能強大的外掛,讓留言者可以訂閱後續評論的電子郵件通知。此外掛還包括一個完整的訂閱管理器,讓留言者可以取消訂閱...。Post-Plugin Library 》Post-Plugin Library 是一個共享代碼庫,並沒有獨立的功能,必須安裝它才能為 Similar Posts、Recent Posts、Random Posts、Popular Posts 和 Recent Comment...。
One Click Close Comments 》使用者可以從文章管理頁面(‘編輯文章’)及頁面管理頁面(‘編輯頁面’)中,對於他們有足夠權限進行更改的文章關閉或開啟評論(基本上是管...。
