memo.xight.org

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2006-08-02 Wed

Didean

- Data

住所 東京都江東区富岡1-14-15 和楽ビル1F
営業時間 11:00 - 22:00 (LO)
定休日 月曜日
電話番号 03-3643-7883
最寄駅 門前仲町

- Reference
Didean
http://homepage3.nifty.com/didean/

カテゴリ: [Restaurant]

Free Movies Fallen out of Copyright - 著作権の切れた過去の映画やドキュメンタリーを公開

- Reference
Free Movies Fallen out of Copyright (Public Domain)
http://www.jonhs.net/freemovies/

- via
GIGAZINE - 著作権の切れた過去の名作映画やドキュメンタリーをダウンロード
http://gigazine.net/index.php?/news/comments/20060801_freemovies/

カテゴリ: [Memo]

Paint.NET - Windows の ペイント (mspaint.exe) の代替

- Summary
比較的軽量なペイントソフト.
動作には .NET Framework2.0 が必要.
有志によって日本語化も行われている.

- Reference
FileForum | Paint.NET
http://fileforum.betanews.com/detail/PaintNET/1096481993/1

Paint.NET :: View topic - Language Pack Downloads and Status
http://paintdotnet.12.forumer.com/viewtopic.php?t=538

- via
Gizmodo Japan - 2006-07-31 - 超強力な無料お絵かきソフト「Paint.NET」
http://www.gizmodo.jp/2006/07/paintnet.html

カテゴリ: [Software]

Perlでモバイルサイト構築

- Summary
1. User-Agentで端末判別
HTTP::MobileAgentを利用

use HTTP::MobileAgent;
 
my $agent = HTTP::MobileAgent->new;
 
if ($agent->is_docomo){
	    # iモード
} elsif ($agent->is_ezweb){
	    # EZweb
} elsif ($agent->is_vodafone){
	    # Vodafone
}


2. 端末に応じてHTML出力
Template-ToolkitHTTP::MobileAgentを利用
#!/usr/bin/perl
 
use CGI;
use Template;
use HTTP::MobileAgent;
 
my $q = CGI->new;
my $agent = HTTP::MobileAgent->new;
my $tt = Template->new({ABSOLUTE => 1});
 
my $output;
 
# sample.htmlのagentパラメータへ
# HTTP::MobileAgentのインスタンスをセットする
$tt->process('/path/to/sample.html', {agent => $agent}, \$output) or die $Template::ERROR;
 
print $q->header(-charset=>'Shift_JIS');
print $output;
 
exit;

<html>
<body>
[% IF agent.is_docomo %]
iモード
[% ELSIF agent.is_ezweb %]
EZweb
[% ELSIF agent.is_vodafone %]
Vodafone Live!
[% ELSE %]
Non Mobile...
[% END %]
</body>
</html>


3. メールアドレスのキャリア判別
Mail::Address::MobileJp
use Mail::Address::MobileJp;
 
if (is_imode($email)){
	# @docomo.ne.jp
}elsif (is_ezweb($email)){
	# @ezweb.ne.jp or @*.ezweb.ne.jp
}elsif (is_vodafone($email)){
	# @jp-*.ne.jp or @*.vodafone.ne.jp
	# (*にはd,h,t,c,k,r,n,s,qのみが適用となる)
}


4. 絵文字対応
HTML::Entities::ImodePictogram
3キャリア対応の絵文字削除
use CGI;
use HTML::Entities::ImodePictogram;
 
my $q = CGI->new;
 
my $text = $q->param('text');
 
# EZwebの絵文字も削除対象にする
$HTML::Entities::ImodePictogram::ExtPictorgram_re .= '|[\xF3\xF4\xF6\xF7][\x40-\x7E\x80-\xFC]';
 
# iモード、EZwebの絵文字を削除
$text = remove_pictogram($text);
 
# Vodafoneの絵文字を削除
$text =~ s/\x1B\$(.+?)\x0F//g;


- Reference
CodeZine - Perlで作るモバイルサイトのコツ:第1回
http://codezine.jp/a/article.aspx?aid=496

HTTP::MobileAgent
Template-Toolkit
Mail::Address::MobileJp
HTML::Entities::ImodePictogram

カテゴリ: [Perl][Mobile]

Aptana - JavaScript向けIDE

- Reference
Aptana: The Web IDE
http://www.aptana.com/

Aptana: screenshots
http://www.aptana.com/screenshots.html

Aptana: demo
http://www.aptana.tv/movies/aptana_overview/Overview.html

- via
phpspot開発日誌 - 2006-08-01 - JavaScript開発用IDE:Aptana
http://phpspot.org/blog/archives/2006/08/javascriptideap.html

GIGAZINE - 2006-08-01 - Dreamweaverの代わりになるフリーソフト「Aptana」
http://gigazine.net/index.php?/news/comments/20060801_aptana/

カテゴリ: [IDE]
2006-08 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-02-20 21:23
Copyright © 2005 xight.org All Rights Reserved.