<?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/"
	>

<channel>
	<title>hazisarashi.com &#187; Tweetie</title>
	<atom:link href="http://hazisarashi.com/tag/tweetie/feed/" rel="self" type="application/rss+xml" />
	<link>http://hazisarashi.com</link>
	<description>MacなWebデザイン系プログラマのツール紹介などなど</description>
	<lastBuildDate>Sat, 14 Aug 2010 18:54:59 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tweetie・iPhoneアプリでブックマークからタイトル付きTweet文を送る方法</title>
		<link>http://hazisarashi.com/2009-11/351/</link>
		<comments>http://hazisarashi.com/2009-11/351/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 14:57:51 +0000</pubDate>
		<dc:creator>恥さらし</dc:creator>
				<category><![CDATA[Tool]]></category>
		<category><![CDATA[Tweetie]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://hazisarashi.com/?p=351</guid>
		<description><![CDATA[

今更ですが、nicoLiveTweetを制作してる時にあまりブログに記事になってないことに気付いたので、記事にすることにしました。
ブックマークレットの仕組みをご存知無い方向けです。
ブックマークからTweetするとは
Mac(iPhone)のTwitterクライアントは大概ブックマークレット(ブックマークをクリック)を使って、URLなどを含んだTweet文を精製することが可能です。
これらは、アプリケーション固有のプロトコル使用し [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhazisarashi.com%252F2009-11%252F351%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Tweetie%E3%83%BBiPhone%E3%82%A2%E3%83%97%E3%83%AA%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%83%9E%E3%83%BC%E3%82%AF%E3%81%8B%E3%82%89%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E4%BB%98%E3%81%8DTweet%E6%96%87%E3%82%92%E9%80%81%E3%82%8B%E6%96%B9%E6%B3%95%22%20%7D);"></div>
<p>今更ですが、nicoLiveTweetを制作してる時にあまりブログに記事になってないことに気付いたので、記事にすることにしました。<br />
ブックマークレットの仕組みをご存知無い方向けです。</p>
<h3>ブックマークからTweetするとは</h3>
<p>Mac(iPhone)のTwitterクライアントは大概ブックマークレット(ブックマークをクリック)を使って、URLなどを含んだTweet文を精製することが可能です。<br />
これらは、アプリケーション固有のプロトコル使用しており、プロトコルにURLの情報を渡すのはJavaScriptで実現してます。</p>
<p>具体的には、TweetieのブックマークのURLは下記の様になっています。</p>
<pre>javascript:window.location='tweetie:'+window.location</pre>
<p>これは、例えば「http://www.apple.com/」でブックマークをクリックすると、「tweetie:http://www.apple.com/」というアドレスにアクセスするようになってます。要するに、「tweetie:」の後ろの文字列をTweetieに送っていることになります。</p>
<p>URLを表しているのは、「window.location」の部分になりますので、ここに付け足してあげればOKです。</p>
<p>なので、下記のようにしてあげると、タイトル文を含んだTweetが出来ます。</p>
<pre>javascript:window.location='tweetie:'+document.title+' '+window.location</pre>
<p>頭に「Watching :」を付け足したい場合は</p>
<pre>javascript:window.location='tweetie:Watching :'+document.title+' '+window.location</pre>
<p>とすればOKです。<br />
また、ブックマークレットはあくまで「URL」をjavascriptとして解釈しているので、リンクをブックマークバーにドラッグしてあげることで登録可能です。</p>
<h3>ブックマークレットを登録</h3>
<p>Tweetie用のリンクをご用意いたしましたので、ご利用になりたい方は下記のリンクをブックマークバーにドラッグして登録してください。<br />
iPhoneアプリのブックマークレットでタイトルを送りたい方は是非個別に設定してあげてください。</p>
<ul>
<li><a href="javascript:window.location='tweetie:'+document.title+' '+window.location">Tweetie タイトル付き</a></li>
<li><a href="javascript:window.location='tweetie:Watching :'+document.title+' '+window.location">Tweetie タイトル付き、Watching付き</a></li>
</ul>
<p>また、夜フクロウはデフォルトでタイトルも付きます。<br />
<a href="http://sites.google.com/site/yorufukurou/">夜フクロウのブックマークレット登録方法</a><br />
<h3>関連記事 :</h3>
<ul>
<li><a href="http://hazisarashi.com/2009-10/337/" rel="bookmark" title="2009/10/27">nicoLiveTweet 夜フクロウとTweetieに対応！</a></li>
<li><a href="http://hazisarashi.com/2009-11/362/" rel="bookmark" title="2009/11/17">Twitter webの自動差分更新Greasemonkeyスクリプトを書いてみた</a></li>
<li><a href="http://hazisarashi.com/2009-11/375/" rel="bookmark" title="2009/11/21">Twitterの「バルス」祭り風景を動画に撮ってみた</a></li>
<li><a href="http://hazisarashi.com/2010-08/814/" rel="bookmark" title="2010/08/12">Gmail のライトナビ(広告)を消すカスタムCSS Mailplane用</a></li>
<li><a href="http://hazisarashi.com/2009-07/177/" rel="bookmark" title="2009/07/26">外部リンクに自動的に新しいウィンドウリンクを付ける</a></li>
</ul>
<p><!-- Similar Posts took 2.679 ms --></p>

]]></content:encoded>
			<wfw:commentRss>http://hazisarashi.com/2009-11/351/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nicoLiveTweet 夜フクロウとTweetieに対応！</title>
		<link>http://hazisarashi.com/2009-10/337/</link>
		<comments>http://hazisarashi.com/2009-10/337/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:59:39 +0000</pubDate>
		<dc:creator>恥さらし</dc:creator>
				<category><![CDATA[Tool]]></category>
		<category><![CDATA[GreaseKit]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[nicoLiveTweet]]></category>
		<category><![CDATA[Tweetie]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[ニコニコ生放送]]></category>
		<category><![CDATA[ユーザースクリプト]]></category>
		<category><![CDATA[夜フクロウ]]></category>

		<guid isPermaLink="false">http://hazisarashi.com/?p=337</guid>
		<description><![CDATA[

【追記】現在バージョンが新しくなりました。最新版はNicoLiveTweetページよりダウンロード出来ます。
Twitterクライアントで人気なTweetie、夜フクロウのブックマークレットでの投稿機能を使って、NicoLiveTweet出来る様にしました！
今見てる、放送してるニコニコ生放送のをTwitterで簡単にお知らせするユーザースクリプトNicoLiveTweet
これで、ブラウザ側でのログインのしわすれで泣くことも無くな [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhazisarashi.com%252F2009-10%252F337%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fb4kalM%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22nicoLiveTweet%20%E5%A4%9C%E3%83%95%E3%82%AF%E3%83%AD%E3%82%A6%E3%81%A8Tweetie%E3%81%AB%E5%AF%BE%E5%BF%9C%EF%BC%81%22%20%7D);"></div>
<p><strong>【追記】現在バージョンが新しくなりました。最新版は<a href="http://hazisarashi.com/tools/nicolivetweet_twitter_ニコニコ生放送/">NicoLiveTweet</a>ページよりダウンロード出来ます。</strong></p>
<p>Twitterクライアントで人気な<a href="http://www.atebits.com/tweetie-mac/">Tweetie</a>、<a href="http://sites.google.com/site/yorufukurou/">夜フクロウ</a>のブックマークレットでの投稿機能を使って、NicoLiveTweet出来る様にしました！</p>
<p><strong>今見てる、放送してるニコニコ生放送のをTwitterで簡単にお知らせするユーザースクリプト<a href="http://hazisarashi.com/tools/nicolivetweet_twitter_ニコニコ生放送/">NicoLiveTweet</a></strong></p>
<p>これで、ブラウザ側でのログインのしわすれで泣くことも無くなり、アカウントの切り替えも楽！<br />
何よりもアプリケーションの方が軽い！（ここ俺にとって重要！）</p>
<p>通常版のNicoLiveTweetを既にご利用の方は、複数Tweetウィンドウが出て来るようになってしまうかと思います。Greasemonkey or GreaseKitのメニューから通常版を使用停止または、削除して対応してください（あえて共存出来るようにしました）。</p>
<p>もし、他に「このアプリもブックマークレットで投稿出来るよ！対応してよ！」などのご要望（特にWindows）がありましたら、コメントしてください。</p>
<h3 style="font-size: 1.17em;">ダウンロード</h3>
<p><strong>【追記】現在バージョンが新しくなりました。最新版は<a href="http://hazisarashi.com/tools/nicolivetweet_twitter_ニコニコ生放送/">NicoLiveTweet</a>ページよりダウンロード出来ます。</strong></p>
<ul>
<li>ブラウザー版 <a href="http://gist.github.com/raw/172141/cae4479809a912ff62c6400d77018afaea647338/nicoLiveTweet.user.js" target="_blank">インストールはこちら</a>（2009/08/23 現在）</li>
<li>Tweetie版 <a href="http://gist.github.com/raw/219586/579b239d80ed6b5c8332d555e80541746f202312/nicolivetweet-tweetie.user.js" target="_blank">インストールはこちら</a>（2009/10/27 現在）</li>
<li>夜フクロウ版 <a href="http://gist.github.com/raw/219599/47ded14c81890ae19edd188b3d9f8a8948704fc4/nicolivetweet-YoruFukurou.user.js" target="_blank">インストールはこちら</a>（2009/10/27 現在）</li>
</ul>
<p>GitHubで公開中です。一番最初に作成頂いた生卵さんのソースが最新版の場合もあります。ライトナビの「Forks」で確認してください。</p>
<ul>
<li>ブラウザ版 : <a href="http://gist.github.com/172141">gist: 172141</a></li>
<li>Twitter版 : <a href="http://gist.github.com/219586">gist: 219586</a></li>
<li>夜フクロウ版 : <a href="http://gist.github.com/219599">gist: 219599</a></li>
</ul>
<h3>関連記事 :</h3>
<ul>
<li><a href="http://hazisarashi.com/2009-07/21/" rel="bookmark" title="2009/07/06">nicoLiveTweetに削除ボタン追加</a></li>
<li><a href="http://hazisarashi.com/2009-07/31/" rel="bookmark" title="2009/07/07">nicoLiveTweet デザイン変更 &#038; 機能追加</a></li>
<li><a href="http://hazisarashi.com/2009-07/10/" rel="bookmark" title="2009/07/05">ニコ生の放送開始・視聴中をTwitterで簡単にお知らせしよう！</a></li>
<li><a href="http://hazisarashi.com/2009-12/403/" rel="bookmark" title="2009/12/12">二コ生の順番待ちをほぼリアルタイムにカウント！</a></li>
<li><a href="http://hazisarashi.com/2009-11/362/" rel="bookmark" title="2009/11/17">Twitter webの自動差分更新Greasemonkeyスクリプトを書いてみた</a></li>
</ul>
<p><!-- Similar Posts took 2.585 ms --></p>

]]></content:encoded>
			<wfw:commentRss>http://hazisarashi.com/2009-10/337/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
