[WordPress] 外掛分享: CollectionPress

前言介紹

  • 這款 WordPress 外掛「CollectionPress」是 2017-07-15 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2017-08-08,距離現在已有 2827 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.5 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

knowledgearc |

外掛標籤

rest | dspace | authors | author page |

內容簡介

CollectionPress 提供多種功能,可在 WordPress 中建立作者或研究人員頁面。

透過 CollectionPress,存檔於 DSpace 的項目也可顯示出來。

前置作業

需要運行使用 KnowledgeArc REST API 的 DSpace 實例。

核心 REST API 目前具有有限的功能,需要配合 DSpace Discovery(Apache Solr 的簡單封裝)才能提供完整的功能,而目前 KnowledgeArc REST API 才有開放存取。

CollectionPress 的路線圖中,也包括支援未來發展的 DSpace REST API。

開始使用

登入 WordPress 管理員帳戶
安裝 CollectionPress
透過設置連線到 DSpace 實例,配置 CollectionPress(設定 -> CollectionPress)
建立頁面(頁面 -> 新增)。此頁面將用於顯示您 DSpace 的項目。
使用 CollectionPress 一般設定(設定 -> CollectionPress)中的項目檢視頁面下拉式選單,選擇您在步驟 4 中創建的頁面。
建立頁面或部落格文章。使用「collectionpress」短碼以顯示作者的項目:

[collectionpress list=”items” author=”作者姓名”]

您也可以使用 CollectionPress 作者頁面管理員(作者 -> 新增)來建立作者頁面。

設定

可用於配置 CollectionPress 的設定包括:

REST URL

REST URL 用於配置 DSpace REST 端點。例如:

http://myarchive.tld/rest

項目視圖頁面

項目視圖頁面用於直接透過 REST API 顯示 DSpace 項目。您需要創建 WordPress 頁面,並使用項目檢視頁面下拉式選單才能在 WordPress 中檢視 DSpace 項目。

作者列表頁面

作者列表頁面顯示作者頁面的列表。您需要創建 WordPress 頁面,並使用作者列表頁面下拉式選單才能瀏覽作者。

作者頁面

CollectionPress 提供名為「作者頁面」的功能。

作者頁面可用於顯示作者或研究人員的資訊,例如姓名、簡介和所在地。您也可以配置作者頁面以顯示作者的項目。

若要管理您的「作者頁面」,從 wp-admin 主選單中點擊「作者」。

創建「作者頁面」

要創建作者頁面,請登入 WordPress 管理員,並從儀表板選擇「作者 -> 新增」,或在作者頁面中選擇「作者 -> 全部」,並點擊新增。

在「新增」頁面中,指定您作者的詳細資訊。

在輸入作者姓名時,會從 DSpace 檢索控制的名稱清單;為了在作者頁面中列出 DSpace 項目,作者姓名必須完全符合 DSpace 中的作者姓名。

作者資訊

您可以使用「作者資訊」區域來指定在作者頁面中顯示的內容,並將作者頁面連結到已註冊的 WordPress 作者。

在此作者名稱下顯示 DSpace 項目

選中以顯示與作者名稱相對應的 DSpace 項目。作者姓名必須完全符合 DSpace 中的作者。

在此作者下顯示文章

選中以顯示作者所屬的部落格文章。您必須將作者頁面連結到已註冊的 WordPress 作者,才能使用此功能。

選擇作者

選擇已註冊的 WordPress 作者,以連結至作者。

原文外掛簡介

CollectionPress provides a variety of features for building author or researcher pages within WordPress.
Items archived in DSpace can also be displayed through CollectionPress.
Prerequisites
You need to be running a DSpace instance which is using the KnowledgeArc REST API.
The core REST API currently has limited functionality that is required for CollectionPress to deliver a full set of features. In particular, CollectionPress makes use of the DSpace Discovery (a simple wrapper for Apache Solr), which is currently only exposed via the KnowledgeArc REST API.
The CollectionPress roadmap includes supporting the DSpace REST API as it develops.
Getting Started

Log into your WordPress admin,
Install CollectionPress,
Configure CollectionPress by setting up a connection your DSpace instance (Settings -> CollectionPress),
Create a Page (Pages -> Add New). This page will be used for displaying your DSpace items,
Select the Page you have just created in step 4 using the Item View Page dropdown, available in the CollectionPress general settings (Settings -> CollectionPress),
Create a page or blog post. Add the collectionpress shortcode to display an author’s items:

[collectionpress list=”items” author=”Author Name”]
You can also create Author Pages using the CollectionPress Author Pages manager (Authors -> Add).
Settings
Available settings for configuring CollectionPress are:
Rest Url
Rest Url is used to configure the DSpace REST endpoint. An example endpoint might look like:
http://myarchive.tld/rest
Item View Page
An item page is used to display a DSpace item directly via the REST API. You will need to create a WordPress Page and assign it using the Item View Page dropdown in order to view a DSpace item in WordPress.
Author List Page
The author list page displays a list of Author Pages. You will need to create a WordPress Page and assign it using the Author List Page dropdown in order to browse authors.
Author Pages
CollectionPress provides a feature called Author Pages.
Author Pages can be used for displaying information about an author or researcher, such as name, bio and location. You can also configure the Author Page to display the author’s items.
To manage your Author Pages, click on “Authors” from the wp-admin main menu.
Creating an Author Page
To create an author page, log into WordPress admin and select Authors -> Add from the Dashboard menu or select Authors -> All and click on Add from the Authors page.
Once in the “Add New” page, specify your author’s details.
When typing the author’s name, a controlled list of names are retrieved from DSpace; in order for DSpace items to be listed in the Author Page, the author name must exactly match an author name in DSpace.
Author Info
You can use the Author Info section to specify what is shown on the author page as well as link the author page to a registered WordPress author.
Show items for this Author
Tick to show the DSpace items corresponding to the Author’s name. The author’s name must exactly match an author in DSpace.
Show posts for this Author
Tick to show blog posts belonging to the author. You must link the author page to a registered WordPress author for this feature to work.
Select Author
Select the registered WordPress author to link to the Author Page. You only need to link a WordPress author to an author page if Show posts for this Author is Yes.
Link a Registered User to an Author Page
Author Pages can also be linked to existing WordPress authors. Linking an Author Page to a registered author allows you to display the registered author’s WordPress blog posts within the Author Page.
You can link a registered author by editing the Author Page:

Scroll to “Author Details”,
Check “Show Posts for this author”,
Select the registered WordPress author from the drop down list,
Save.

Shortcode
The CollectionPress shortcode allows you to include DSpace item lists within blog posts, pages and other content which can parse shortcode.
You do not need to use the CollectionPress shortcode in an Author Page. Instead, tick Show items for this Author in the Author Details section of the Author Page editor.
The basic CollectionPress shortcode.
Syntax:
[collectionpress list=”authors|items”]
Params:
list
The type of list to display. The default is “items”.
DSpace Items by Author
Lists the items associated with an author.
Syntax:
[collectionpress list=”items” author=”Author Name”]
Params:
author
The author parameter must exactly match the author name in DSpace.
List Authors
Lists all authors who have an Author Page.
Syntax:
[collectionpress list=”authors” limit=”1″]
Params:
limit
The number of records to display per page.
Template Overriding
CollectionPress output can be overridden in your WordPress Theme.
All templates are located in frontend/template. To override, copy files from frontend/template to your theme’s collectionpress directory then modify to meet your needs.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CollectionPress」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | trunk | 1.0.0-beta | 1.0.0-alpha |

延伸相關外掛(你可能也想知道)

  • Profile Pic 》此外掛讓作者可以在他們的個人資料中添加圖片,並協助自動顯示作者檔案。功能包括:, , - 自動設置 - 無需修改樣板 / 代碼, - 小工具以在側邊欄中顯示檔案 - ...。
  • ThemeFuse Extend User Profile 》專為網站管理員設計的完美工具,可擴展用戶個人資料選項。只需基本的 HTML 知識,即可添加更多用戶個人資料選項(例如:社交網絡鏈接)。, $meta = get_user_...。
  • Extra Authors Redirect 》為作者個人資料加入一個勾選框,以進行轉向。對於偶爾會有的作者或不打算顯示使用者帳戶的網站非常有用。。

文章
Filter
Apply Filters
Mastodon