Plugin Directory

Changeset 8267

Timestamp:
03/16/2007 04:22:29 AM (19 years ago)
Author:
dwc
Message:

Fix readme warnings and markup issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ical-events/trunk/readme.txt

    r7201 r8267  
    11=== iCal Events ===
     2
    23Tags: calendar, events
    3 Contributors: dwc
     4Requires at least: 2.0
     5Tested up to: 2.2
     6Stable tag: trunk
    47
    5 A plugin for getting and displaying upcoming events from a shared calendar.
     8 upcoming events from a shared calendar.
    69
    7 This plugin uses <a href="http://cvs.sourceforge.net/viewcvs.py/webcalendar/webcalendar/import_ical.php?rev=HEAD">import_ical.php</a> from the <a href="http://sourceforge.net/projects/webcalendar/">WebCalendar</a> project. A slightly modified version of their parser is provided with this plugin.
     10== Description ==
     11
     12Fetch and display events from an iCalendar (`.ics`) URL in your blog.
     13
     14This plugin uses [import_ical.php](http://cvs.sourceforge.net/viewcvs.py/webcalendar/webcalendar/import_ical.php?rev=HEAD) from the [WebCalendar](http://sourceforge.net/projects/webcalendar/) project. A slightly modified version of their parser is provided with this plugin.
    815
    916== Installation ==
     
    2229
    2330The `display_events` function takes the following arguments:
     31
    2432* `url`: The URL of the iCalendar file.
    2533* `gmt_start` (optional): Only events from this time forward are displayed. If not specified, the earliest events are displayed.
    2634* `gmt_end` (optional): Only events before this time are displayed.
    2735* `limit` (optional): The maximum number of events to display.
    28 * `date_format` (optional): The format string used to format dates (see <a href="http://php.net/strftime">strftime documentation</a>). Default: `%a %b %e`.
     36* `date_format` (optional): The format string used to format dates (see ). Default: `%a %b %e`.
    2937* `time_format` (optional): The format string used to format times. Default: `%l:%M %p`.
    30 * `before` (optional): HTML or text to display before each event. Default: `<li>`.
    31 * `after` (optional): HTML or text to display after each event. Default: `</li>`.
    32 * `before_date` (optional): HTML or text to display before each event's date. Default: `<strong>`.
    33 * `after_date` (optional): HTML or text to display after each event's date. Default: `</strong>: `.
     38* `before` (optional): HTML or text to display before each event. Default: .
     39* `after` (optional): HTML or text to display after each event. Default: .
     40* `before_date` (optional): HTML or text to display before each event's date. Default: .
     41* `after_date` (optional): HTML or text to display after each event's date. Default: .
    3442* `use_summary` (optional): Whether or not to use the event summary in the output. Default: `true`.
    3543* `before_summary` (optional): HTML or text to display before each event's summary. Default: Empty string.
     
    3846* `before_description` (optional): HTML or text to display before each event's description. Default: ` - `.
    3947* `after_description` (optional): HTML or text to display after each event's description. Default: Empty string.
    40 * `replace_newlines_with` (optional): String with which to replace newlines in the description. Default: `<br />`.
     48* `replace_newlines_with` (optional): String with which to replace newlines in the description. Default: .
    4149* `use_location` (optional): Whether or not to use the event location in the output. If false, only the summary is used. Default: `true`.
    4250* `before_location` (optional): HTML or text to display before each event's location. Default: ` (`.
     
    5058
    5159If you need more control over the output, use the `get_events` function, which takes the following arguments:
     60
    5261* `url`: The URL of the iCalendar file.
    5362* `gmt_start` (optional): Only events from this time forward are displayed. If not specified, the earliest events are displayed.
     
    6877
    6978There are many iCalendar sources, such as:
    70 * <a href="http://www.apple.com/ical/library/">Apple's iCal library</a>
    71 * <a href="http://www.icalshare.com/">iCalShare</a>
    72 * <a href="http://calendar.google.com/">Google Calendar</a>
     79
     80* [Apple's iCal library](http://www.apple.com/ical/library/)
     81* [iCalShare](http://www.icalshare.com/)
     82* [Google Calendar](http://calendar.google.com/)
    7383
    7484= My server does not support `fopen` on URLs. Can I still use this plugin? =
Note: See TracChangeset for help on using the changeset viewer.