2017년 2월 23일 목요일

hCalendar

hCalendar

hCalendar (the name that shortened HTML iCalendar) is a microformat for セマンティック HTML descriptions to express the calendar information of the iCalendar form about a certain event at the Web page top using a class and a link attribute (Rel attribute, Rel attribute) of HTML and XHTML.

In hCalendar using a parsing tool (e.g., the adding on of the browser such as the Operator expansion of other websites and Firefox) of the extraction of the event details, the indication on other websites of the extracted event details, the event details index it and can search it. Specifically, I can let a calendar and a diary program read the event details. In addition, it is possible to display plural event information as a timeline.

Table of contents

Description example

For example, I try to think about the following imaginary events.

    Of May 20, 2001    From 2:00 p.m. at 4:00 p.m.    Japanese edition Wikipedia started with an open party in a house of Jimmy Wales.    (as for the details this) 

I can write it by the HTML as follows.

 <p>    Of May 20, 2001    From 2:00 p.m. at 4:00 p.m.    Japanese edition Wikipedia started with an open party in a house of Jimmy Wales.     (as for the <a href="https://ja.wikipedia.org/wiki/ Wikipedia Japanese edition #.E6.AD.B4.E5.8F.B2"> details </a>) </p> 

In hCalendar, I can write it as span of the HTML element as follows using vevent, summary, dtstart (on the starting date), dtend (the end date and time), location, url which are class of the HTML attribute.

 <p class="vevent">     Of May 20, 2001     </span> where <span class="summary"> Japanese edition Wikipedia started with a party open to </abbr> in house </span> of <span class="location"> Jimmy Wales from </abbr> at <abbr class="dtend" title="2001-05-20T16:00:00+09:00"> 4:00 p.m. at <abbr class="dtstart" title="2001-05-20T14:00:00+09:00"> 2:00 p.m.     (as for the <a class="url" href="https://ja.wikipedia.org/wiki/ Wikipedia Japanese edition #.E6.AD.B4.E5.8F.B2"> details </a>) </p> 

When matters that require attention use the abbr element including the start time and the end time, they include the point where they must write it in the form that is a machine possible reading namely date-time form by ISO 8601 (en).

Exclusive end date and time

It is recorded daylong as "exclusive" (in other words, the next day of the event end) on the end date and time when I do not appoint in the case of a schedule namely the time. For example, it is as follows.

  <abbr class="dtend" title="2001-02-01">2001 one a year 31 days a month </abbr> 

Concern about the accessibility

Those concern is listed in [1]. It is pointed out that how to use [2]abbr called abbr-design-pattern causes the issue of accessibility for the reading of the screen and the user who reads it aloud, and uses the browser. Therefore examination of the substitute plan of the method to express in information on the date and time is in progress ISO8601 [3]. This becomes the problem in the exclusive end date and time (cf. example mentioned above).

In addition, it is recommended that I show the date and time using time element introduced in HTML5 [2]. I am as follows when I rewrite an upper example in HTML5.

 <p class="vevent">     Of May 20, 2001     </span> where <span class="summary"> Japanese edition Wikipedia started with a party open to </time> in house </span> of <span class="location"> Jimmy Wales from </time> at <time class="dtend" title="2001-05-20T16:00:00+09:00"> 4:00 p.m. at <time class="dtstart" title="2001-05-20T14:00:00+09:00"> 2:00 p.m.     (as for the <a class="url" href="https://ja.wikipedia.org/wiki/ Wikipedia Japanese edition #.E6.AD.B4.E5.8F.B2"> details </a>) </p> 

Geo

Geo (microformat) is part of hCalendar specifications. In addition, this is used to describe the coordinate of the event holding place with hCalendar.

Attribute

Refer to hCalendar cheat-sheet for the list of all attributes.

Use example

The important organization and websites using hCalendar are as follows.

References

Outside link

This article is taken from the Japanese Wikipedia hCalendar

This article is distributed by cc-by-sa or GFDL license in accordance with the provisions of Wikipedia.

Wikipedia and Tranpedia does not guarantee the accuracy of this document. See our disclaimer for more information.

In addition, Tranpedia is simply not responsible for any show is only by translating the writings of foreign licenses that are compatible with CC-BY-SA license information.

0 개의 댓글:

댓글 쓰기