內容簡介
PoolParty thesaurus plugin 有助於使 WordPress 博客和網站更易理解。插件可通過關鍵詞將帖子與關鍵詞連接以及關鍵詞與其他關鍵詞連接,從而改進網站。插件導入一個受控詞彙表(SKOS 詞彙表)或通過 Web 從(公開)SPARQL 端點檢索詞彙表。基於詞彙表,文章中的术語會自動高亮,定義會以「內置」形式提供(鼠標懸停效果),並即時生成與詞彙表中詞彙相關的鏈接。詞彙表作為博客的附加資源提供,並且可以使用此工具瞬間瀏覽學科領域的相關知識。該插件還適用於多語言博客。當導入的詞彙表缺少定義時,Dbpedia(Linked data)會自動檢索定義。
通過此插件,任何 SKOS/RDF 詞彙表都可以被導入或從 SPARQL 端點檢索並在 WordPress 博客中使用,以輔助條目的內容。
插件將自動解析每篇文章中與詞彙表中的概念(首選標籤,替代標籤或隱藏標籤)相匹配的單詞和短語。第一個匹配將自動高亮顯示。懸停工具提示顯示該術語/短語的簡短描述,並且該鏈接指向詞彙表頁面上的更詳細的描述。
短代码
[ppt-abcindex]:顯示用於按字母順序篩選概念的字母篩選器。
[ppt-itemlist]:顯示概念列表(按其首字母篩選)。
[ppt-itemdetails]:顯示所選概念的詳細頁面。
[ppt-noparse] … [/ppt-noparse]:短碼中的內容將被排除在自動連結之外。
[ppt-searchform title=”…” width=”…[ px | % ]”]:顯示帶有自動完成字段的搜索表單,以查找概念。
最新消息?
插件現在與用戶友好型的多語言動態內容管理qTranslate X配合使用,以實現多語言WordPress。
概念詳細頁面的網址現在已經優化了SEO。
搜尋鏈接的搜尋算法已擴展(現在搜尋首選標籤和替代標籤)。
實現了新的短碼,使用者可以在內容之間添加簡單的詞彙表搜索表單。這個短碼稱為 [ppt-searchform],有兩個可選參數:標題(文本字段上方的標題。如果不想使用標題,請留空)和寬度(文本字段的寬度)。例如︰[ppt-searchform title=”Glossary search” width=”50%”]
感謝 Benjamin Nowack :詞彙表導入到系統中,並且是通過 ARC2(https://github.com/semsol/arc2)進行查詢的。
感謝 rduffy (https://wordpress.org/extend/plugins/profile/rduffy) 。他的“Glossary”插件(https://wordpress.org/extend/plugins/automatic-glossary)為我提供了靈感,我能夠基於他的想法開發此插件。
與 PHP 5、MySQL 5 和 ARC2 配合使用。
外掛標籤
開發者團隊
原文外掛簡介
PoolParty thesaurus plugin helps to make WordPress blogs and websites more understandable. The website will be improved by linking posts with key terms and key terms with other key terms. The plugin imports a controlled vocabulary (SKOS thesaurus) or retrieves a thesaurus from a (public) SPARQL endpoint via web. Based on the thesaurus, terms in articles are high-lighted automatically, definitions are provided “inline” (as mouse-over effect) and links to the thesaurus terms are generated on-the-fly. The thesaurus is available as an extra resource on the blog and can be navigated to learn more about the knowledge domain instantly. The plugin also works with multilingual blogs. Dbpedia (Linked data) is used to retrieve definitions automatically whenever the imported thesaurus lacks of definitions.
With this plugin any SKOS/RDF thesaurus can be imported or retrieved from a SPARQL endpoint and used within your WordPress blog to underpin articles with key terms.
On two extra pages (which are generated automatically) the thesaurus can be displayed and used as a browsable glossary on your blog. The main page of the glossary displays all concepts with their preferred labels and their alternative labels (synonyms). The list of concepts is displayed in an alphabetical order and can be filtered by their first letters. The second page represents the detail view of each concept. All kinds of labels and relations (prefLabel, altLabel, hiddenLabel, definition, scopNote, broader, narrower und related) of a given term (concept) can be loaded and displayed.
Each post is analysed automatically to find words and phrases matching labels of a concept (prefLabel, altLabel or hiddenLabel) in the thesaurus. The first hit will be highlighted automatically. A mousover tooltip shows the short description of the term/phrase and the link points to the more detailed description on the glossary page.
Shortcodes
[ppt-abcindex]: displays an abc filter for filtering the concepts alphabetically.
[ppt-itemlist]: displays a list of concepts (filterd by its first letter).
[ppt-itemdetails]: displays the detail page of a selected concept.
[ppt-noparse] … [/ppt-noparse]: the content between of the shortcode is excluded from autmatic linking.
[ppt-searchform title=”…” width=”…[ px | % ]”]: displays a search form with a autocomplete field to find a concept.
What’s new?
The Plugin works now with the user-friendly multilingual dynamic content management qTranslate X for a multilingual WordPress
The URL to the detail page of a concept is now SEO optimized
The search algorithm behind the search link on top of the concept detail page is extended (searches now for prefered and alternative labels)
Implemented new shortcode with which you can add a simple glossary search form between content. The shortcode is called [ppt-searchform] and has two optional parameters: title (The title over the textfield. Leave blank if you don’t want a title) and width (The width of the textfield). An example: [ppt-searchform title=”Glossary search” width=”50%”]
Thanks to Benjamin Nowack: The thesaurus is imported into the system and is queried via ARC2 (https://github.com/semsol/arc2).
Thanks to rduffy (https://wordpress.org/extend/plugins/profile/rduffy). His ‘Glossary’ Plugin (https://wordpress.org/extend/plugins/automatic-glossary) inspired me, and I was able to develop this plugin on top of his ideas.
Works with PHP 5, MySQL 5 und ARC2
