Giter Site home page Giter Site logo

curegit / mmppp-birthday Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

ぴちぴちピッチのキャラクター誕生日を iCalendar で配信するスクリプト

Home Page: https://mermaid.blue/mmppp-birthday/

License: MIT License

PHP 100.00%
birthday csv icalendar php mmppp anime

mmppp-birthday's Introduction

MMPPP Birthday

ぴちぴちピッチのキャラクター誕生日を iCalendar で配信する PHP スクリプト

このプログラムでは、ぴちぴちピッチの主要キャラクターの誕生日を iCalendar 形式で出力します。 このカレンダーは以下で配信されています。

ぴちぴちピッチ誕生日 iCalendar

ぴっちファンの方は是非ご活用ください。

プログラム

例年の記念日などを配信するテンプレートプロジェクトとして活用することができます。

index.phpbirthday.csv のデータから iCalendar フォーマットを出力します。 module.phpindex.php からインクルードされて使用されますが、エントリープログラムとして実行した場合、CSV データの PHP 配列表現を出力します(デバッグ用途)。

ノート

RFC 5545 に基づいて実装しています。 ただし、以下のような実装上の省力化が行われています。 ソースコードを活用する際はご注意ください。

  • iCalendar での特殊文字をエスケープしていません。CSV の内容が直接出力されるので注意してください。
  • RFC 5545 で規定されている、iCalendar テキストの 1 行あたりを 75 オクテットに収めるための改行処理を実装していません。CSV に長い人名データなどを入力する場合はご注意ください。
  • CSV の読み取りにおいて、カンマと改行 (CRLF) 以外の特殊文字は考慮されていません。また、特殊文字のエスケープ方法を実装していないので、カンマと改行をデータとしては使用できません。

ライセンス

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.