
內容簡介
這個外掛程式是針對 iTunes Podcast Feed 而創建的,但您可以提供任何 RSS 資料來源。如果您想要顯示目前不支援的標籤,請隨時聯繫我們。
快速入門
在 設定 > 多重資料來源閱讀器 中建立一個名稱為 "myfeeds" 的範本。
新增您的資料來源。
建立一個頁面,並貼上以下其中一個捷徑:
[multi-feed-reader template="myfeeds"]
[multi-feed-reader template="myfeeds" limit="10"]
[multi-feed-reader template="myfeeds" cachetime="300"]
享受樂趣 🙂
參數
template:(必填)範本名稱
limit:(選填)每個資料來源中的項目數上限。預設值:15
cachetime:(選填)緩存結果的秒數。預設值:300
nocache:(選填)設為 "1" 以停用快取。不建議使用,因為會讓您的多重資料來源頁面速度變慢。預設值:0
強制快取更新
要清除快取,請使用參數 ?nocache=1 呼叫網站。因此,如果您的網站是 example.com/archives,請在瀏覽器中開啟 example.com/archives?nocache=1。然後,您應該立即看到已更新的頁面。
占位符
您可以指定自訂範本以顯示存檔元素。
前往 設定 > 多重資料來源閱讀器 以設定外掛程式偏好設定。
使用 HTML,以及以下任何範本占位符。
%TITLE% - 集數標題 (<title>)。
%SUBTITLE% - 集數副標題 (<itunes:subtitle>)。
%CONTENT% - 集數內容 (<content:encoded>)。
%CONTENT|...% - 與上述相同,但已截短至給定的單字數。
%DURATION% - 集數時間長度 (<itunes:duration>)。
%SUMMARY% - 集數概要 (<itunes:summary>)。
%LINK% - 集數連結 (<link>)。
%GUID% - 集數全球唯一識別碼 (<guid>)
%DESCRIPTION% - 集數描述 (<itunes:description> 或 <description>)。
%DESCRIPTION|...% - 與上述相同,但已截短至給定的單字數。
%ENCLOSURE% - 第一集的封存 URL (<enclosure> url 屬性)。
%THUMBNAIL% - 原始尺寸縮圖標籤 (<itunes:image>)。
%THUMBNAIL|...x...% - 與上述相同,但帶有特定的尺寸。例如:%THUMBNAIL|75x75%。
%DATE% - 集數發佈日期 (<pubDate>),格式為 WordPress 預設格式。
%DATE|...% - 與上述相同,但使用自訂格式。例如:%DATE|Y/m/d%。
從應用商店提供的餵入取得資料的方法:
%APPNAME% - 應用程式名稱。
%APPPRICE% - 應用程式價格。
%APPIMAGE% - 應用程式圖示的 HTML 圖像。
%APPARTIST% - 應用程式作者/出版商。
%APPRELEASE% - 應用程式發佈日期,WordPress 格式。
使用這些占位符存取全域資料:
%FEEDTITLE% - 資料來源標題 (<title>)。
%FEEDSUBTITLE% - 資料來源副標題 (<itunes:subtitle>)。
%FEEDSUMMARY% - 資料來源概要 (<itunes:summary>)。
%FEEDLINK% - 資料來源連結 (<link>)。
外掛標籤
開發者團隊
原文外掛簡介
This plugin was created with the iTunes Podcast Feed in mind. However, you can feed it any RSS feed you like. If you would like to display some tags which are not supported right now, please feel free to contact me.
Quick Start
Create a template “myfeeds” in Settings > Multi Feed Reader.
Add your Feeds.
Create a page and paste in one of these shortocdes:
[multi-feed-reader template="myfeeds"]
[multi-feed-reader template="myfeeds" limit="10"]
[multi-feed-reader template="myfeeds" cachetime="300"]
Enjoy 🙂
Parameters
template: (required) name of the template
limit: (optional) maximum number of items per feed. default: 15
cachetime: (optional) time in seconds to cache results. default: 300
nocache: (optional) set to “1” to deactivate cache. not recommended, will make your multifeed-page very slow. default: 0
Force Cache Refresh
To clear the cache, call the site with parameter ?nocache=1. So if your site is example.com/archives, open example.com/archives?nocache=1 in your browser. You should then see the refreshed page immediately.
Placeholders
You can specify a custom template to display the archive elements.
Go to Settings > Multi Feed Reader for plugin preferences.
Use HTML and any of the following template placeholders.
%TITLE% – Episode title (
%SUBTITLE% – Episode subtitle (
%CONTENT% – Episode content (
%CONTENT|...% – Same as above but truncated to the given amount of words.
%DURATION% – Episode duration (
%SUMMARY% – Episode summary (
%LINK% – Episode link ().
%GUID% – Episode Globally Unique Identifier (
%DESCRIPTION% – Episode description (
%DESCRIPTION|...% – Same as above but truncated to the given amount of words.
%ENCLOSURE% – Url of first episode enclosure (
%THUMBNAIL% – Thumbnail tag in original size (
%THUMBNAIL|...x...% – Same as above but with certain dimensions. Example: %THUMBNAIL|75x75%.
%DATE% – Episode publish date (
%DATE|...% – Same as above but in a custom format. Example: %DATE|Y/m/d%.
Access data from app store feeds:
%APPNAME% – App name.
%APPPRICE% – App price.
%APPIMAGE% – App Icon as HTML image.
%APPARTIST% – App artist / publisher.
%APPRELEASE% – App release date in WordPress format.
Use these placeholders to access global feed data:
%FEEDTITLE% – Feed title (
%FEEDSUBTITLE% – Feed subtitle (
%FEEDSUMMARY% – Feed summary (
%FEEDLINK% – Feed link ().
%FEEDLANGUAGE% – Feed language (
%FEEDTHUMBNAIL% – Feed image (
%FEEDTHUMBNAIL|...x...% – Same as above but with certain dimensions. Example: %FEEDTHUMBNAIL|75x75%.
