
內容簡介
這個外掛為 WordPress 提供一個 host-meta 檔案(RFC:http://tools.ietf.org/html/rfc6415)。
根據 RFC:
基於網路的協議經常需要發現主機策略或元數據,其中主機不是單個資源,而是由具有共同主機的 URI 識別的資源集合所控制的實體。 雖然這些協議具有各種元數據需求,但它們經常定義簡潔的元數據,具有簡單的語法要求,並且可以從將其元數據存儲在其他相關協議使用的共用位置中受益。
由於沒有 URI 或資源可用於描述主機,因此使用用於關聯每個資源元數據的許多方法(例如 HTTP 標頭)的方法無法使用。 這經常導致根 HTTP 資源(例如 'http:// example.com /')超載主機元數據,該元數據不適用於根資源(例如主頁或Web應用程式),並且通常與之無關。
本备忘录在由 Well-Known URI Registry 建立并注册“well-known”URI后缀'host-meta',并指定一個用於主機的簡單的通用元數據文檔,可由多個基於 Web 的協議使用。
Logo 来自 Eran Hammer
外掛標籤
開發者團隊
原文外掛簡介
This plugin provides a host-meta – file for WordPress (RFC: http://tools.ietf.org/html/rfc6415).
From the RFC:
Web-based protocols often require the discovery of host policy or metadata, where host is not a single resource but the entity controlling the collection of resources identified by URIs with a common host as defined. While these protocols have a wide range of metadata needs, they often define metadata that is concise, has simple syntax requirements, and can benefit from storing its metadata in a common location used by other related protocols.
Because there is no URI or a resource available to describe a host, many of the methods used for associating per-resource metadata (such as HTTP headers) are not available. This often leads to the overloading of the root HTTP resource (e.g. ‘http://example.com/’) with host metadata that is not specific to the root resource (e.g. a home page or web application), and which often has nothing to do it.
This memo registers the “well-known” URI suffix ‘host-meta’ in the Well-Known URI Registry established by, and specifies a simple, general-purpose metadata document for hosts, to be used by multiple Web-based protocols.
Logo by Eran Hammer
