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

iCal for WP Calendar

描述

Creates an iCal feed with WP Calendar events.
The generated file contains iCal / RFC5545 / RFC2445 conform data, which can be imported in several Calendar applications like Outlook, iCal, Google Calendar.

WP Calendar 1.5.x and also older versions (like 1.4.x) are supported.

Based on iCal for Events Calendar.

Feed will be at http://your-web-address/?wp-calendar-ical

ToDo

  • Add option, to choose the datemode, when queried the events
  • add option, to choose the time method in iCal: UTC (default now), floating or th timezome, which is specified in wordpress itself

安裝

  1. Unzip in your plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. add the link to your template or use following code to generate the URL: echo ical_wp_calendar_getIcalUrl();

常見問題

Where is the feed located?

At

  • http://your-web-address/?wp-calendar-ical OR
  • http://your-web-address/?wp-calendar-ical&category=4 OR
  • http://your-web-address/?wp-calendar-ical&event_id=25
How can I add the iCal URL to my website

Place the following code to your theme
echo ical_wp_calendar_getIcalUrl();
or use a widget like the Text Widget
to your sidebar and place a code like

<ul class="feed-list">
  <li><a href="http://your-web-address/?wp-calendar-ical">All Events (iCal)</a></li>
</ul>
How can the list of feeds be limited?

The list can be limited in two ways. By a single event id (like given by the placeholder {event_id} ) or by adding ‘category=’ to the feed url, you can limit to events, which are asssigned to the (post) category. The feed url will then look like

http://your-web-address/?wp-calendar-ical&category=1
http://your-web-address/?wp-calendar-ical&event_id=4

評價

There are no reviews for this plugin.

貢獻者及開發者

“iCal for WP Calendar” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 iCal for WP Calendar 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

Version 1.5.1 – 07.10.2013

  • add query parameter ‘event_id’ to select single events into an ical feed

Version 1.5.0 – 16.06.2013

  • added compatibilty for WP Calendar 1.5.x
  • link of ical feed is printed in the options page

Version 1.1.0 – 05.01.2012

  • added check if WP Calendar is activated
  • added query parameter ‘category’ to limit events in the feed

Version 1.0.3 – 30.08.2011

  • BUGFIX: querying posts and pages works again – no normal content could be displayed up to now

Version 1.0.2 – 30.08.2011

  • overwrite default amount of printed events: always print all events, ignoring the setting in WP Calendar

Version 1.0.1 – 30.08.2011

  • added backward compatibility to PHP version 4.2 (== minimum requirement for WP < 3.2) in UTC time calculation

Version 1.0.0 – 24.08.2011

  • generate valid iCal file with events from WP Calendar, incl. location, URL to a connected post (if available) and allDay events
  • admin page for the number of past months to include
  • debug flag for easy debugging of the resulting iCal file in the browser itself (file can also be validated using http://icalvalid.cloudapp.net/)