內容簡介
這個外掛可以上傳你部落格內容的關聯資料,並協助你託管或連接你的 WebID。
關聯資料
使用適當的 HTTP-Accept-Header 設置進行 HTTP GET 請求,可取回 Turtle 和 RDF/XML 文件。博客文章和頁面是由其原始文件 URI 碎片標識符 #it 標識的。
例如,如果博客文章位於 http://example.org/2013/04/my-first-blog-post,那麼該文章本身(作為一個「抽象事物」)是由 http://example.org/2013/04/my-first-blog-post#it 標識的。
你可以使用 curl 取回關聯資料,例如:
curl -H ‘Accept: text/turtle’ http://example.org/2013/04/my-first-blog-post#it
作為一個人,作者默認使用作者頁面 URI 碎片標識符 #me 進行標識。
例如,如果作者頁面是 http://example.org/author/alice,那麼 Alice 這個人是由 http://example.org/author/alice#me 標識的。
你可以再次使用 curl,取回一個 FOAF-Profile:
curl -H ‘Accept: text/turtle’ http://example.org/author/alice#me
你可以連接現有的 WebID 到你的 WordPress 帳戶,而不是使用 WordPress 來託管 FOAF-Profile。(查看下一節)
WebID
此外,外掛會在管理後台的使用者編輯畫面中新增一個 WebID 部分。(註:該部分僅在編輯自己的個人檔案時才可用)
WebID 位置
你可以選擇 WebID 的託管位置:
本地託管的 WebID:WebID 在你的 WordPress 博客中託管,位於 http://[你的網域]/author/[你的使用者名稱]#me
自訂 WebID:你可以輸入你的 WebID URI,並將其連接到你的 WordPress 帳戶中。
無論你選擇哪種選項,你的 WordPress 帳戶將始終被識別為「http://[你的網域]/author/[你的使用者名稱]>#account」。該選項僅影響你本人的標識。
如果你還沒有 WebID,請選擇第一個選項,或在 https://solidcommunity.net 上獲取一個 WebID。有關 WebID 的更多信息:http://webid.info/
RSA 公鑰
你可以輸入你的 WebID 憑證的公鑰的指數和模數。這將允許你在網絡上的其他地方使用你的 WordPress WebID 進行身份驗證。外掛尚未能夠創建 WebID 憑證,因此你必須使用另一個工具(例如 openssl)創建憑證,然後將數據輸入到此部分。
額外的 RDF
你可以輸入任何 RDF 三元組作為 RDF/XML、Turtle 或 N3。這些三元組將出現在你的 WordPress 個人檔案文件的 RDF 表示中,位於 http://[你的網域]/author/[你的使用者名稱]
外掛標籤
開發者團隊
原文外掛簡介
The plugin publishes Linked Data about your blog contents and helps you hosting or connecting your WebID.
Linked Data
Turtle and RDF/XML documents can be retrieved performing a HTTP GET request with an appropriate HTTP-Accept-Header set. Blog posts and pages are identified by their original document URI appended by the fragment identifier #it.
E.g. if a blog post ist available at http://example.org/2013/04/my-first-blog-post, the post itself (as an “abstract thing”) is identified by http://example.org/2013/04/my-first-blog-post#it
You may use curl to retrieve Linked Data, e.g.:
curl -H ‘Accept: text/turtle’ http://example.org/2013/04/my-first-blog-post#it
An author, as a person, is per default identified by the author page URI appended by the fragment identifier #me.
E.g. if the authors page is http://example.org/author/alice, the person Alice is identified by http://example.org/author/alice#me
You may try curl again, to retrieve a FOAF-Profile:
curl -H ‘Accept: text/turtle’ http://example.org/author/alice#me
Instead of using WordPress to host the FOAF-Profile, you are able to link your existing WebID to your WordPress account. (See next section)
WebID
The Plugin adds a WebID section to the user profile screen in the admin backend. (Note: The section is only available, when editing your own profile).
WebID Location
You can choose, where your WebID is hosted:
Locally hosted WebID: The WebID is hosted within your wordpress blog at http://[your-domain]/author/[your-username]#me
Custom WebID: You may enter whatever your WebID URI is and your WordPress account will be linked to it.
Whatever option you choose, your wordpress account will always be identified as “http://[your-domain]>/author/[your-username]>#account”. The option only affects, how you, as a person, will be identified.
If you do not have a WebID yet, choose the first option, or get a WebID at https://solidcommunity.net. More Information about WebID: http://webid.info/
RSA Public Key
You may enter the exponent and modulus of the public key of your WebID certificate. This will allow you to use your WordPress WebID for authentication elsewhere on the web. The wp-linked-data plugin is not yet capable of creating WebID certificates, so you will have to create the certificate with another tool (e.g. openssl) and enter the data into this section afterwards.
Additional RDF
You may enter any RDF triples as RDF/XML, Turtle or N3. The triples will occur in the RDF representation of your WordPress profile document at at http://[your-domain]/author/[your-username]
