RDFical Calender Conversion Tests

RSSをRDFicalに変換したり、RDFicalをいろいろ処理してみる実験です。

There are soma trials to convert, extract or transfer calendar data to/from RDFical.

RSSからのイベント抽出

RSSフィードのデータをRDFicalに変換するXSLTの実験です。RSSフィードにdc:dateもしくはEventモジュールのev:startdate, ev:enddateが含まれていれば、それを利用してRDFicalを生成します。次のリストは、オンラインXSLT処理サービスを使って、いくつかのRSSを変換する例です(時間帯処理の方法などが異なるので、時刻情報を切り捨て、日付のみを利用しています)。

This is a test to extract events form an RSS with XSLT. The rss2rical XSLT converts dc:date or ev:startdate/ev:enddate of the feed. Below includes some examples to convert event related RSS to RDFical with W3C online XSLT processing service. (Because of different approach to time zone, this XSLT picks only yyyy-mm-dd part, not including hh:mm:ss and time zone information).

(Unfortunately, many RSS services are no longer available as of 2014)

RDFicalをiCalendarに変換

RDFicalをiCalendarデータに変換するXSLTの実験です。変換したデータは、AppleのiCla, Mozilla Calendarで直接(オンラインで)取り込めるほか、ディスクに保存すればMS Outlookにもインポートできます。次の例は、いくつかのRDFicalをiCalendarに変換するものです。

RDFical can be converted to iCalendar format with rdf2ical XSLT. The resulting iCalendar data can be merged into Apple ical or Mozilla Calendar directly, or can be imported into MS Outlook once saved on local disk. Followings are conversion sample from RDFical test repository.

For http://www.w3.org/2002/12/cal/ical# namespace:

For http://www.w3.org/2002/12/cal/icaltzd# namespace:

複数のカレンダーファイルの合成

それぞれのカレンダーファイルは一定のテーマを持っていますが、ある時期に行われるいろいろな分野のイベントを一覧できれば便利です。少々ダーティな方法で(名前空間を決めうちで単なるVcalendar要素のつぎはぎ)、複数のカレンダーを合成します。

RDFicals can be merged because they are RDF data. This is a dirty demonstratin to integrate multiple RDFical files (not parse as RDF triples, but just drop wrapper element and concat).