<?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>8bitodyssey.com &#187; writer</title>
	<atom:link href="http://8bitodyssey.com/archives/tag/writer/feed" rel="self" type="application/rss+xml" />
	<link>http://8bitodyssey.com</link>
	<description>WordPressでつづる、おでのこの道わが旅。</description>
	<lastBuildDate>Sat, 04 Feb 2012 02:26:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/tag/writer/feed" />
		<item>
		<title>Windows Live Writer プラグイン WLOdekoの仕様</title>
		<link>http://8bitodyssey.com/archives/890</link>
		<comments>http://8bitodyssey.com/archives/890#comments</comments>
		<pubDate>Wed, 06 Aug 2008 15:07:23 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wlw]]></category>
		<category><![CDATA[writer]]></category>
		<category><![CDATA[ライブ]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/890</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p><a href="http://8bitodyssey.com/archives/872">Re:[TB] WP2.5に入れるプラグイン10選 </a>でちょこっと書いたWindows Live Writer用プラグイン。</p> <blockquote> <p>Flickrのコードをコピペすると、Highslide用コードに変換してWindows Live Writerに挿入してくれる…なんて需要まったく無視の自分用プラグインが誕生するかもしれません。</p></blockquote> <p>なんと<a href="http://another.maple4ever.net/" target="_blank">hiromasa</a>さんが作ってくれちゃいました！その名もWLOdeko！（アイコンだけおで製です：）</p> <blockquote> <p><a href="http://another.maple4ever.net/archives/392/" target="_blank">Windows Live Writer プラグイン WlOdeko リリース(?)</a>  <p>プラグインリクエスターは、おなじみおでげのおでこさん。 Flickr の HTML ソースを入力すると、いい感じに highslide が動くように HTML を変換して挿入します。</p></blockquote> <p></p><span id="more-890"></span> <p>上記のエントリでも若干触れられていますが、hiromasaさんとやり取りをして詰めたプラグインの仕様（と使い方？）についてふれてみます。</p> <p>挿入から「おでこの挿入」を選ぶと、ウィンドウがポップアップします。この「おでこの挿入」を選ぶ表示モードは、WEBレイアウトモードでも、HTMLコードモードでもどちらでも大丈夫です（どちらのモードにしていてもうまい感じに処理してくれます）。</p> <p>ウィンドウにペーストするコードはFlickrのYour Photostreamから個別の写真を開いて、ALL SIZESを選んだ先に表示されるコードです。</p> <p><a class="highslide" onclick="return hs.expand(this)" href="http://farm4.static.flickr.com/3029/2738005021_72456f8e34_b.jpg"><img id="thumbca4fe8e755fe1e0a58f64c6c6c5d6718" title="Click to enlarge" height="334" alt="Flickr Code" src="http://farm4.static.flickr.com/3029/2738005021_72456f8e34.jpg" width="500"></a></p> <div class="highslide-caption" id="caption-for-thumbca4fe8e755fe1e0a58f64c6c6c5d6718"><a title="go 2 flickr" href="http://www.flickr.com/photos/odysseygate/2738005021/" target="_blank">Flickr Code</a></div> <p></p> <p>たとえば、</p> <blockquote> <p>&lt;a href="<a href="http://www.flickr.com/photos/odysseygate/2604691606/&quot;">http://www.flickr.com/photos/odysseygate/2604691606/"</a> title="チッピングカムデンを眺めて 6 by ulysses_powers, on Flickr"&gt;&lt;img src="<a href="http://farm4.static.flickr.com/3171/2604691606_98cd7949b6_b.jpg&quot;">http://farm4.static.flickr.com/3171/2604691606_98cd7949b6_b.jpg"</a> width="1024" height="685" alt="チッピングカムデンを眺めて 6" /&gt;&lt;/a&gt;</p></blockquote> <p>こんな感じ。</p> <p>これをウィンドウに貼り付けてOKを押すと、コードがhighslide用に整形されます（下記参照）。</p> <blockquote> <p>&lt;p&gt;&lt;a class="highslide" onclick="return hs.expand(this)" href="<a href="http://farm4.static.flickr.com/3171/2604691606_98cd7949b6_b.jpg&quot;">http://farm4.static.flickr.com/3171/2604691606_98cd7949b6_b.jpg"</a>&gt;&lt;img id="thumb9e64bd7b93fb59f850e0a0f9a85c3342" title="Click to enlarge" height="334" alt="チッピングカムデンを眺めて 6" src="<a href="http://farm4.static.flickr.com/3171/2604691606_98cd7949b6.jpg&quot;">http://farm4.static.flickr.com/3171/2604691606_98cd7949b6.jpg"</a> width="500"&gt;&lt;/a&gt;&lt;/p&gt;<br>&lt;div class="highslide-caption" id="caption-for-thumb9e64bd7b93fb59f850e0a0f9a85c3342"&gt;&lt;a title="go 2 flickr" href="<a href="http://www.flickr.com/photos/odysseygate/2604691606/&quot;">http://www.flickr.com/photos/odysseygate/2604691606/"</a> target="_blank"&gt;チッピングカムデンを眺めて 6&lt;/a&gt;&lt;/div&gt;<br>&lt;p&gt;&lt;/p&gt;</p></blockquote> <p>上記のソースを見ると分かるように、エントリーにはMiddleサイズの画像を表示し、クリックするとLargeサイズの画像がhighslideエフェクトで表示されます。</p> <p>Middleサイズの画像サイズは500 * 344に固定されており、このサイズと違う場合や、縦撮りした写真の場合は適宜修正する必要があります。</p> <p>highslideエフェクトが機能するためには、imgタグのid:thumb***とdivのid:caption-for-thumb***の***が合致している必要があります。この***はFlickrのURLからユニークなハッシュが自動生成的に挿入されます。すてき。</p> <p>imgタグのaltとキャプションとして表示される文字列は「by アカウント名, on Flickr」を除去した画像タイトルが挿入されます。</p> <p>最後の&lt;p&gt;&lt;/p&gt;は次の文字入力がしやすいように入れてあります。このまま「おでこの挿入」を連続して続けてもよし、文字を入力してもよしです。</p> <p>激しくおで仕様のプラグインですが、このサイトと同じような形でhighslideを活用されている場合には便利なのではないでしょうか。</p> <p>hiromasaさん、ありがとう！</p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/890/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/890" />
	</item>
	</channel>
</rss>

