<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>いんちきTech &#187; Webサービス</title>
	<atom:link href="http://it.snds.jp/category/webservice/feed" rel="self" type="application/rss+xml" />
	<link>http://it.snds.jp</link>
	<description>略してIT</description>
	<lastBuildDate>Thu, 15 Sep 2011 05:27:59 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://it.snds.jp/category/webservice/feed" />
		<item>
		<title>Microsoft Translator ウィジェット</title>
		<link>http://it.snds.jp/webdesign/785.html</link>
		<comments>http://it.snds.jp/webdesign/785.html#comments</comments>
		<pubDate>Tue, 27 Jul 2010 19:29:00 +0000</pubDate>
		<dc:creator>きく</dc:creator>
				<category><![CDATA[Webサービス]]></category>
		<category><![CDATA[Webデザイン]]></category>
		<category><![CDATA[ツール]]></category>
		<category><![CDATA[マイクロソフト]]></category>

		<guid isPermaLink="false">http://it.snds.jp/webdesign/785.html</guid>
		<description><![CDATA[前から付けようと思っていた Microsoft Translator ウィジェットをようやくつけてみた。 だから何だと言われればそれまでですが。 そもそもこんなテキトーな書き方しているブログじゃまともな翻訳なんてされませ [...]

<h3 style="margin-top:5em;">関連記事:</h3><ul><li><a href='http://it.snds.jp/webservice/215.html' rel='bookmark' title='Microsoft Store'>Microsoft Store</a></li>
<li><a href='http://it.snds.jp/hardware/299.html' rel='bookmark' title='PCヘビーユーザーにオススメのマウス'>PCヘビーユーザーにオススメのマウス</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>前から付けようと思っていた <a href="http://www.microsofttranslator.com/widget/" target="_blank">Microsoft Translator ウィジェット</a>をようやくつけてみた。</p>
<p>だから何だと言われればそれまでですが。</p>
<p>そもそもこんなテキトーな書き方しているブログじゃまともな翻訳なんてされません。ええ。ただの自己満足ですハイ。</p>
<p>ちなみに、おおもとの <a href="http://www.microsofttranslator.com/" target="_blank">Bing Translator</a> 。URL は www.microsofttranslator.com なのに、サイト名は Bing Translator とか後付け感たっぷりというか「<strong>ちゃんとしてよ</strong>」って感じですが、翻訳性能はなかなか気に入っています。</p>
<p>職場や友人を観察する感じでは、翻訳サイトは Excite が人気っぽい感じで、私もわりと最近までメインで使っていたんですが、特に技術文書系とは相性がいいようで、少なくともそっち方面に関しては Excite よりまともな結果を返してくれます。</p>
<p>試しに手持ちマザボのマニュアルの中から抜粋して試してみます。</p>
<h3>原文</h3>
<pre>ATX PS/2 Keyboard and PS/2 Mouse Ports
The ATX PS/2 keyboard and PS/2 mouse are located next to
the Back Panel USB Ports 0/1 on the motherboard.
See the table at right for pin definitions.</pre>
<h3>Bing Translator</h3>
<p><a rel="attachment wp-att-781" href="http://it.snds.jp/webdesign/785.html/attachment/translation_bing-png"><img src="http://it.snds.jp/wp-content/uploads/2010/07/translation_bing.png" alt="Bing Translator の翻訳結果" title="translation_bing.png" width="527" height="236" class="alignnone size-full wp-image-781" /></a></p>
<h3>Excite 翻訳</h3>
<p><a rel="attachment wp-att-783" href="http://it.snds.jp/webdesign/785.html/attachment/translation_excite-png"><img src="http://it.snds.jp/wp-content/uploads/2010/07/translation_excite.png" alt="Excite の翻訳結果" title="translation_excite.png" width="340" height="311" class="alignnone size-full wp-image-783" /></a></p>
<p>こんな感じで、若干 Bing 側の方が読み取りやすい感じです。</p>
<p>もちろんこれは私の主観であり、かつ技術的な文章以外ではそれほど変わらなかったり、むしろ Excite 側の方が優秀だったりすることも多々あります。</p>
<p>ただ、英語からきしなのに英文マニュアルとかを読まなきゃいけないことが多い私としては重宝させてもらっています。</p>


<h3 style="margin-top:5em;">関連記事:</h3><ul><li><a href='http://it.snds.jp/webservice/215.html' rel='bookmark' title='Microsoft Store'>Microsoft Store</a></li>
<li><a href='http://it.snds.jp/hardware/299.html' rel='bookmark' title='PCヘビーユーザーにオススメのマウス'>PCヘビーユーザーにオススメのマウス</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://it.snds.jp/webdesign/785.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://it.snds.jp/webdesign/785.html" />
	</item>
		<item>
		<title>lilURL ： 自前で短縮URL</title>
		<link>http://it.snds.jp/software/256.html</link>
		<comments>http://it.snds.jp/software/256.html#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:40:50 +0000</pubDate>
		<dc:creator>きく</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Webサービス]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[ツール]]></category>

		<guid isPermaLink="false">http://it.snds.jp/?p=256</guid>
		<description><![CDATA[ちょっとした需要があったので、自鯖でできるURL短縮システムをさがしていたら、lilURL とかいうのが見つかった。軽く中身を見てみたら、DB作成＋phpを単純にうｐな感じで動きそうだったので、試しに入れてみたらあっさり [...]

<h3 style="margin-top:5em;">関連記事:</h3>
(( 関連記事は特にありません ))]]></description>
			<content:encoded><![CDATA[<p>ちょっとした需要があったので、自鯖でできるURL短縮システムをさがしていたら、<a href="http://lilurl.sourceforge.net/" target="_blank">lilURL</a> とかいうのが見つかった。軽く中身を見てみたら、DB作成＋phpを単純にうｐな感じで動きそうだったので、試しに入れてみたらあっさりと動いた。</p>
<p>というわけで、忘れないようにメモしておく。</p>
<h3><span id="more-256"></span></h3>
<h3>1. ダウンロード</h3>
<p><a href="http://lilurl.sourceforge.net/" target="_blank">lilURL</a> にアクセスし、<a href="http://sourceforge.net/project/showfiles.php?group_id=118259&amp;package_id=150801">download lilURL from SourceForge</a>. をクリック</p>
<p><strong>Browse Files for lilURL </strong>の表の中に「lilurl-(バージョン).tar.gz」 があるので、そこからダウンロードする。</p>
<p>エントリー時点での最新バージョンは、「lilurl-0.1.1.tar.gz」でした。</p>
<h3>2. 解凍</h3>
<p>適当に解凍してください。 鯖で直接wgetしてもいいし、端末経由でもお好きに。 本エントリーではWin端末上に一旦解凍して作業する。</p>
<h3>3. DB作成</h3>
<p>MySQLのDBを作成する。方法はお好きにどうぞ。 面倒なのでphpMyAdminから作業。</p>
<p>DB名も特に制限はないので、適当に「lilurl」とでもしておく。 文字コード等は鯖に合わせて。今回はutf-8で作成。</p>
<h3>4. lilurl.sql のインポート</h3>
<p>解凍したファイルの中に「lilurl.sql」というファイルがあるので、それをインポートする。</p>
<p>が、</p>
<p>そのままインポートするとエラーがでる。syntax が云々とか。</p>
<p>どうやらsqlファイルのコメント部分が邪魔しているらしい。つーか最初から消しといてよ。(&#8216;A`)</p>
<p>コメント部分をばっさり削除してインポートすると無事成功。テーブルが作成されます。</p>
<p>ちなみに必要なのは↓だけ。</p>
<pre>CREATE TABLE lil_urls (
 id varchar(255) NOT NULL default '',
 url  text,
 date timestamp(14) NOT NULL,
 PRIMARY KEY  (id)
) TYPE=MyISAM;</pre>
<h3>5. conf.php の編集</h3>
<p>includes ディレクトリ内 conf.php の以下を編集。</p>
<pre>// page title
define('PAGE_TITLE', 'ページのタイトル');

// MySQL connection info
define('MYSQL_USER', 'DBのユーザー名');
define('MYSQL_PASS', 'DBのパスワード');
define('MYSQL_DB', 'DB名');
define('MYSQL_HOST', 'DB鯖名(通常はlocalhostでおｋ)');</pre>
<p>残りは基本的にデフォルトのままでおｋ。必要に応じて適宜変更する。</p>
<h3>6. うｐ！ うｐ！</h3>
<p>動作に必要なファイルは、</p>
<ul>
<li>includes/*</li>
<li>.htaccess</li>
<li>index.php</li>
</ul>
<p>書くまでもないが、事前にうｐする場所の用意と設定をしておく必要あり。ここでは省略。</p>
<h3>7. パーミッション変更</h3>
<p>付属のREADMEにはパーミッション周りは書いていないけど、さすがにDBのパスとか書かれている conf.php が閲覧可能なのはマズいでしょうということで、conf.php だけパーミッションの設定をしておく。</p>
<pre>$ chmod 600 includes/conf.php</pre>
<h3>8. 動作確認</h3>
<p>ブラウザで index.php にアクセスする。特にエラーがなければおｋ。</p>
<p>テキストボックスに適当なURLを入力してみる。テキストボックスの上に短縮されたURLが表示されれば成功。多分頭に「http(s)」または「mailto」が入っていれば、有効なURIとして認識されるんじゃないかと予想。(ソースをほとんど読んでないのであくまで推測)</p>
<p>表示されたURLにアクセスして、目的の場所に飛べたところでインスコ終了です。</p>
<h3>9. その他</h3>
<p>index.php を編集することで、ブラウザでの表示内容を変更することができます。CSSとかも直接書いてあるので、そこを変更でどうにでもできるかと。日本語もおｋでした。</p>
<p>さて、ほとんど詰まることなくインスコできてしまったので、何かが起きた時の対処方法がよくワカランのですが、ファイル構成にしても設定ファイルにしても、少なくとも現バージョンについては詰まるような要素もみあたらないかと。</p>
<p>サンプルを公開できればよかったのですが、まだサンプル用のサイトを仕込むには至っていないのでご容赦。まぁサンプルといっても画面はシンプルこの上ないし、なにしろ簡単なので、興味があれば自分でインスコしてみてください。</p>
<p>ちなみに、<a href="http://bit.ly/" target="_blank">bit.ly</a> のようなアクセス解析とかはできないのであしからず。</p>
<p>イントラ内部とかでこっそり使うような用途としては、手軽でなかなか良いのではないでしょうか。</p>


<h3 style="margin-top:5em;">関連記事:</h3><p>(( 関連記事は特にありません ))</p>]]></content:encoded>
			<wfw:commentRss>http://it.snds.jp/software/256.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://it.snds.jp/software/256.html" />
	</item>
		<item>
		<title>Microsoft Store</title>
		<link>http://it.snds.jp/webservice/215.html</link>
		<comments>http://it.snds.jp/webservice/215.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 15:04:11 +0000</pubDate>
		<dc:creator>きく</dc:creator>
				<category><![CDATA[Webサービス]]></category>
		<category><![CDATA[マイクロソフト]]></category>

		<guid isPermaLink="false">http://it.snds.jp/?p=215</guid>
		<description><![CDATA[Microsoft、直販サイトでWindowsのダウンロード販売を開始 こんな記事が出てました。そういやMSの直販って無かったんですね。大人の事情で原則希望小売価格での販売になるみたいですが、私のようなMS信者にはいいか [...]

<h3 style="margin-top:5em;">関連記事:</h3><ul><li><a href='http://it.snds.jp/webdesign/785.html' rel='bookmark' title='Microsoft Translator ウィジェット'>Microsoft Translator ウィジェット</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<h2 style="text-align: center;"><a title="Microsoft、直販サイトでWindowsのダウンロード販売を開始" href="http://pc.watch.impress.co.jp/docs/2009/0717/ms.htm" target="_blank">Microsoft、直販サイトでWindowsのダウンロード販売を開始</a></h2>
<div id="attachment_355" class="wp-caption aligncenter" style="width: 310px"><a href="http://it.snds.jp/wp-content/uploads/2009/07/microsoftstore.jpg"><img class="size-medium wp-image-355" title="microsoftstore" src="http://it.snds.jp/wp-content/uploads/2009/07/microsoftstore-300x215.jpg" alt="Microsoft Store" width="300" height="215" /></a><p class="wp-caption-text">Microsoft Store</p></div>
<p>こんな記事が出てました。そういやMSの直販って無かったんですね。大人の事情で原則希望小売価格での販売になるみたいですが、私のようなMS信者にはいいかも。</p>
<p>それはそうと、記事の中には以下のような一文がありました。</p>
<blockquote><p>2009年中に、日本、フランス、スペイン、オランダでもサービスを開始する予定。</p></blockquote>
<p>あれ？普通に日本語版のような気がするんですが・・・？</p>
<blockquote><p>□直販サイト(英文)<br />
<a href="http://store.microsoft.com/">http://store.microsoft.com/</a></p></blockquote>
<p>記事にある↑のリンクをクリックした時点で <a title="Microsoft Store" href="http://www.microsoftstore.jp/" target="_blank">http://www.microsoftstore.jp/</a> にリダイレクトされました。</p>
<p>記事が間違っているのかMSのサプライズなのかはよくわかりませんが、直販サイトができたということは喜ばしい限りです。</p>


<h3 style="margin-top:5em;">関連記事:</h3><ul><li><a href='http://it.snds.jp/webdesign/785.html' rel='bookmark' title='Microsoft Translator ウィジェット'>Microsoft Translator ウィジェット</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://it.snds.jp/webservice/215.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://it.snds.jp/webservice/215.html" />
	</item>
	</channel>
</rss>

