這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Guardian News Headlines

外掛說明

The Guardian News Headlines plugin allows you to add live headlines and thumbnails from the Guardian to a sidebar on your site. The text is indexable by search engines, and relevant to a category of your choice. Have a blog about education? Pick that news category to add relevant content to your blog.

Display options:

  • Selectable news category per widget
  • Number of headlines per widget
  • Choose between most recent and most viewed articles

螢幕擷圖

  • The widget settings panel
  • Available news categories
  • The resulting widget
  • Changing to most-viewed
  • Different feed results for most-viewed articles
  • The widget on a dark background

安裝方式

  1. Install the plugin from the Plugins page on your WordPress dashboard.
  2. Activate the Guardian News Headlines plugin.
  3. Add one or more Guardian News Headline widgets to the sidebar of your choice.

常見問題集

Can I have more than one headline widget?

Yes, you can have as many widgets as you like. Each widget is specific to a news category.

Are the news headlines visible to search engines?

Yes. By picking a news category relevant to your blog’s topic, you can add some relevant and up-to-date content to your site.

How often do the headlines update?

This plugin fetches the headlines from the Guardian’s Open Platform Content API. It then caches the headlines for five minutes. When that five minutes is up, the next time someone visits your site the plugin will again retrieve fresh data.

So, when a new article is published on the Guardian website in your category, all your visitors will see that headline within five minutes. (Assuming you’ve chosen the ‘latest’ feed.)

Does the widget ‘fit’ with the visual look of my site?

The widget inherits your theme’s style. It uses css for positioning and thumbnail size only – all other style elements, including font, text size and colour etc. are set by your theme. The plugin also gives four options for the Guardian’s logo to fit with any background.

What about article data? Can I get whole article contents on my blog?

If you would like to pull in full article data to your site, check out the Guardian News Feed.

使用者評論

閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Guardian News Headlines〉的開發相關工作。

參與者

將〈Guardian News Headlines〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.5.3

  • Update to Content API v2 working

0.5.3

  • Updated to Content API v2

0.5.2

  • Correctly validate widget options for the ‘All’ category
  • Make the ‘All’ category default
  • Rename “UK” and “World” to “UK News” and “World News”

0.5.1

  • Bug Fix release.

0.5

  • Add cache for headline data.

0.4

  • Alpha release, with a fully functional plugin, but no caching yet.