[WordPress] 外掛分享: Google Reader Widget

首頁外掛目錄 › Google Reader Widget
20+
安裝啟用
尚無評分
6224 天前
最後更新
問題解決
WordPress 2.0.2+ v1.9.1 上架:2008-03-17

內容簡介

需求

WordPress 2.2+,或 2.0.x/2.1.x 搭配 WordPress Widgets
PHP 4.3.0 或更高版本(需要 function file_get_contents)
您的 Google Reader 使用者 ID

功能

顯示您在 Google Reader 上最新分享的文章
完全可自訂的顯示
大流量網站的快取

使用者 ID

為了取得您的分享文章,您需要知道您在 Google Reader 上的使用者 ID。這可以透過前往「已分享的文章」連結,複製連結結尾的 20 位數字找到。

例如:
http://www.google.com/reader/shared/02774557510273097991
其中,02774557510273097991 就是我的使用者 ID。

格式化

顯示輸出需要 3 個部分的格式。

第一部分在管理面板中稱為「items start」,是小工具標題後的第一個部分。預設格式只有 <ul>。

第二部分是「items end」,是小工具的結尾部分。預設格式為:
</ul>
<a href=”%googlereader%” style=”float:right;”>Shared Items</a>

第三部分是每個文章的呼叫。預設格式為:
<li style=”list-style-type: none;”><a href=”%link%”>%title%</a></li>

呼叫每個值的前提是:

開始
文章
文章

文章
結尾

文章的格式化包含:

%link% – 文章連結
%title% – 文章標題
%site% – 文章來源的網站標題
%sitelink% – 文章來源的網站連結
%number% – 目前文章的編號
%comment% – 分享文章時的註解(注意事項)

開始和結尾的格式化包含:

%googlereader% – 指向您在 Google Reader 上分享內容的頁面連結
%count% – 顯示文章數量

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.9.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Google Reader Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Requirements

WordPress 2.2+ or 2.0.x/2.1.x with WordPress Widgets
PHP 4.3.0 or greater (needed for function file_get_contents)
Your Google Reader User ID

Features

Displays your latest shared items from Google Reader
Completely customizable display
Caching for large traffic sites

User ID
In order to get your shares, you need to know your user id according to Google Reader. This can be found by going to the ‘Shared Items’ link, and copying the 20 digit number at the end of your shared items link.
So something like:
http://www.google.com/reader/shared/02774557510273097991
Where 02774557510273097991 would be my user id.
Formatting
There are 3 parts needed to format the output.
The first part, called items start in the admin panel, is the first part of the widget after the title. For the default formatting, this is just

    .
    The second part, called items end, is the ending of the widget. By default, this is:

Shared Items
The third part is what is called for each item. By default, this is:

  • %title%
  • The premise of calling each value is this:

    start
    item
    item

    item
    end

    The formatting for items is:

    %link% – Link to the item
    %title% – Title of the item
    %site% – The title of the site the item is from
    %sitelink% – The link to the site the item is from
    %number% – The number of the current item
    %comment% – The comment (note) made when sharing an item

    The formatting for start and end is:

    %googlereader% – Link to your Google Reader shared page
    %count% – Number of items shown

    延伸相關外掛

    文章
    Filter
    Apply Filters
    Mastodon