1

クライアントのデータベースを保持するフュージョンテーブルがあります。1つの列はインストールの日付です。その情報をグーグルカレンダーで見られるようにしたいと思います。誰かがそれを実現する簡単な方法を持っていますか?ありがとう!

4

2 に答える 2

0

この機能はすでに存在しているとは思いませんが、自分で行うのは難しくありません。

Fusion Tablesのクライアントライブラリの1つ(たとえば、PHP用のGoogle APIクライアントライブラリ)を使用してから、Fusion Tableに接続し、データを取得してiCalファイルを生成することができます。次に、生成されたファイルをGoogleカレンダーにインポートするか、スクリプトをWebサーバーで利用できるようにして、生成されたカレンダーをGoogleカレンダーでサブスクライブすることができます。

このようなスクリプトをPHP(URL: http: //gft.rdmr.ch/examples/php/GFTCalendar.php )ですばやくまとめました。これを開始点として使用することも、お気に入りのプログラミング言語を使用して自分で実行することもできます。 。

于 2012-08-13T15:54:05.560 に答える
0

それはクールな挑戦のように見えたので、私はここでそれを完了しました:

https://github.com/fontanon/google-fusiontables2calendar

これは、誰もが自分の設定を簡単に配置できるようにする構成ファイルを提供します。

<?php 

// ::auth config::
// Google Public API Access Key. Don't forget to activate Google API for fusion tables
// Get one and configure access and perms at https://console.developers.google.com
$API_KEY="add yours";

// ::fusion tables config::
// The Fusion Tables ID (find it at fusion tables URL: the docid param)
$TABLE_ID="add yours";

// Name of columns to retrieve from the fusion table, separated by ','.
// Below ones are mandatory for building the calendar, and its position sensitive.
$COL_NAMES="summary,description,start,end,location,url";

// Date format in the fusion table. Examples: d/M/Y, Y-M-d H:i:s, YMdTHisZ ...
$DATE_FORMAT="add yours";

// ::calendar config::
// Name of your calendar
$CAL_NAME="add yours";

// Description of your calendar
$CAL_DESC="add yours";

// Timezone of your calendar. Examples: US/Pacific, Europe/Madrid
$CAL_TZ="add yours";
?>
于 2014-04-30T10:19:03.227 に答える