[WordPress] 外掛分享: XML Documents

首頁外掛目錄 › XML Documents
10+
安裝啟用
尚無評分
5406 天前
最後更新
問題解決
WordPress 3.1+ v0.2 上架:2011-05-26

內容簡介

這個外掛提供了必要的基礎建設,以添加一種「XML文件」自訂文章類型,它會呈現一個帶有XSLT樣式表的XML文件,而不是常規文章內容。在自定義應用程序中,如果需要從源代碼顯示XML文檔,但同時也需要WordPress標記、評論等常規好處,這會非常有用。

這個外掛不能直接運行……它只是一個基礎建設外掛。需要進行一些額外的編程(儘管很小),才能讓它運行。請查看「安裝」部分以獲取更多信息和示例代碼。

這個外掛的開發得到了MIT Global Shakespeares的支持,它將用於從TEI-XML源代碼呈現莎士比亞全劇的完整文本。

待辦事項

自定義樣式表,每個文檔或者自定義傳遞給XSL轉換的參數
搜索集成

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin adds the necessary infrastructure to add a “XML Document”-type custom post type which renders an XML document with an XSLT stylesheet in lieu of the regular post content. This can be useful in custom applications where there is a need to display XML documents from source, but you also want the regular benefits of WordPress tagging, commenting, etc. for these documents.
This plugin will not work out of the box… it is an infrastructure plugin. Additional coding (albeit minor) is necessary to get it running. See the “Installation” section for more information and sample code.
The development of this plugin is supported by MIT Global Shakespeares, where it will be used to render the full text of Shakespeare plays from TEI-XML source.
To-do

Custom stylesheets, per-document and/or custom parameters to be passed to the XSL transform
Search integration

延伸相關外掛

文章
Filter
Apply Filters
Mastodon