
<?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>BlueⓘBlog &#187; 프로그래밍</title>
	<atom:link href="http://www.blueiblog.com/ko/archives/category/%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blueiblog.com/ko</link>
	<description>Blueⓘ의 인터넷 아지트</description>
	<lastBuildDate>Mon, 19 Jul 2010 05:42:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Socket 클래스를 이용한 POST 전송 방법</title>
		<link>http://www.blueiblog.com/ko/archives/2576</link>
		<comments>http://www.blueiblog.com/ko/archives/2576#comments</comments>
		<pubDate>Tue, 08 Jun 2010 01:37:49 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[POST]]></category>
		<category><![CDATA[Socket]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2576</guid>
		<description><![CDATA[Java » net » Sockets 참조 : URL 클래스를 이용한 POST 전송 방법 java.net의 Socket 클래스를 이용하여 POST를 전송하는 예제입니다. JAVA에서의 POST 전송방법은 Socket을 이용한 방법 이외에 URL을 이용하여 POST 전송도 가능 합니다. try &#123; // Construct data String data = URLEncoder.encode&#40;&#34;key1&#34;, &#34;UTF-8&#34;&#41; + &#34;=&#34; + URLEncoder.encode&#40;&#34;value1&#34;, &#34;UTF-8&#34;&#41;; data += &#34;&#38;&#34; + URLEncoder.encode&#40;&#34;key2&#34;, &#34;UTF-8&#34;&#41; + [...]]]></description>
			<content:encoded><![CDATA[<p>Java » net » Sockets</p>
<p>참조 : <a href="http://www.blueiblog.com/ko/archives/2567">URL 클래스를 이용한 POST 전송 방법</a></p>
<p>java.net의 Socket 클래스를 이용하여 POST를 전송하는 예제입니다. JAVA에서의 POST 전송방법은 Socket을 이용한 방법 이외에 URL을 이용하여 POST 전송도 가능 합니다.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// Construct data</span>
    <span style="color: #003399;">String</span> data <span style="color: #339933;">=</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;key1&quot;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;value1&quot;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    data <span style="color: #339933;">+=</span> <span style="color: #0000ff;">&quot;&amp;&quot;</span> <span style="color: #339933;">+</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;key2&quot;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;value2&quot;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Create a socket to the host</span>
    <span style="color: #003399;">String</span> hostname <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;hostname.com&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">int</span> port <span style="color: #339933;">=</span> <span style="color: #cc66cc;">80</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">InetAddress</span> addr <span style="color: #339933;">=</span> <span style="color: #003399;">InetAddress</span>.<span style="color: #006633;">getByName</span><span style="color: #009900;">&#40;</span>hostname<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">Socket</span> socket <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Socket</span><span style="color: #009900;">&#40;</span>addr, port<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Send header</span>
    <span style="color: #003399;">String</span> path <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/servlet/SomeServlet&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">BufferedWriter</span> wr <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedWriter</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">OutputStreamWriter</span><span style="color: #009900;">&#40;</span>socket.<span style="color: #006633;">getOutputStream</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>, <span style="color: #0000ff;">&quot;UTF8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;POST &quot;</span><span style="color: #339933;">+</span>path<span style="color: #339933;">+</span><span style="color: #0000ff;">&quot; HTTP/1.0<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Length: &quot;</span><span style="color: #339933;">+</span>data.<span style="color: #006633;">length</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Type: application/x-www-form-urlencoded<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Send data</span>
    wr.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Get response</span>
    <span style="color: #003399;">BufferedReader</span> rd <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedReader</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">InputStreamReader</span><span style="color: #009900;">&#40;</span>socket.<span style="color: #006633;">getInputStream</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">String</span> line<span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>line <span style="color: #339933;">=</span> rd.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">// Process line...</span>
    <span style="color: #009900;">&#125;</span>
    wr.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    rd.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Exception</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=7410304" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2576/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>URL 클래스를 이용한 POST 전송 방법</title>
		<link>http://www.blueiblog.com/ko/archives/2567</link>
		<comments>http://www.blueiblog.com/ko/archives/2567#comments</comments>
		<pubDate>Tue, 08 Jun 2010 01:33:29 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[POST]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2567</guid>
		<description><![CDATA[java » net » URLs 참조 : Socket 클래스를 이용한 POST 전송 방법 java.net의 URL클래스를 이용하여 POST를 전송하는 예제입니다. JAVA에서의 POST 전송방법은 URL을 이용한 방법 이외에 Socket을 이용하여 POST 전송도 가능 합니다. try &#123; // Construct data String data = URLEncoder.encode&#40;&#60;span class=&#34;exd_v&#34;&#62;&#34;key1&#34;&#60;/span&#62;, &#34;UTF-8&#34;&#41; + &#34;=&#34; + URLEncoder.encode&#40;&#60;span class=&#34;exd_v&#34;&#62;&#34;value1&#34;&#60;/span&#62;, &#34;UTF-8&#34;&#41;; data += &#34;&#38;amp;&#34; + URLEncoder.encode&#40;&#60;span class=&#34;exd_v&#34;&#62;&#34;key2&#34;&#60;/span&#62;, [...]]]></description>
			<content:encoded><![CDATA[<p>java » net » URLs</p>
<p>참조 : <a href="http://www.blueiblog.com/ko/archives/2576">Socket 클래스를 이용한 POST 전송 방법</a></p>
<p>java.net의 URL클래스를 이용하여 POST를 전송하는 예제입니다. JAVA에서의 POST 전송방법은 URL을 이용한 방법 이외에  Socket을 이용하여 POST 전송도 가능 합니다.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// Construct data</span>
    <span style="color: #003399;">String</span> data <span style="color: #339933;">=</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>span <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;exd_v&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">&quot;key1&quot;</span><span style="color: #339933;">&lt;/</span>span<span style="color: #339933;">&gt;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>span <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;exd_v&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">&quot;value1&quot;</span><span style="color: #339933;">&lt;/</span>span<span style="color: #339933;">&gt;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    data <span style="color: #339933;">+=</span> <span style="color: #0000ff;">&quot;&amp;amp;&quot;</span> <span style="color: #339933;">+</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>span <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;exd_v&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">&quot;key2&quot;</span><span style="color: #339933;">&lt;/</span>span<span style="color: #339933;">&gt;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #003399;">URLEncoder</span>.<span style="color: #006633;">encode</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>span <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;exd_v&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">&quot;value2&quot;</span><span style="color: #339933;">&lt;/</span>span<span style="color: #339933;">&gt;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Send data</span>
    <span style="color: #003399;">URL</span> url <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">URL</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>span <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;exd_v&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">&quot;http://hostname:80/cgi&quot;</span><span style="color: #339933;">&lt;/</span>span<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">URLConnection</span> conn <span style="color: #339933;">=</span> url.<span style="color: #006633;">openConnection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    conn.<span style="color: #006633;">setDoOutput</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">OutputStreamWriter</span> wr <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">OutputStreamWriter</span><span style="color: #009900;">&#40;</span>conn.<span style="color: #006633;">getOutputStream</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">write</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    wr.<span style="color: #006633;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Get the response</span>
    <span style="color: #003399;">BufferedReader</span> rd <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedReader</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">InputStreamReader</span><span style="color: #009900;">&#40;</span>conn.<span style="color: #006633;">getInputStream</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">String</span> line<span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>line <span style="color: #339933;">=</span> rd.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">// Process line...</span>
    <span style="color: #009900;">&#125;</span>
    wr.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    rd.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
<span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Exception</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=7408938" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2567/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>bit.ly Short URL API – jQuery로 Shorten 메소드 이용해보기</title>
		<link>http://www.blueiblog.com/ko/archives/2546</link>
		<comments>http://www.blueiblog.com/ko/archives/2546#comments</comments>
		<pubDate>Mon, 07 Jun 2010 02:55:35 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Open API]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[bit.ly]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2546</guid>
		<description><![CDATA[PHP – bit.ly Short URL API API Key 획득 및 API 목록 Shorten 메소드 설명 PHP로 Shorten 메소드 이용해보기 jQuery로 Shorten 메소드 이용해보기 이번에는 jQuery를 이용 한 bit.ly API 코딩 실전으로 들어가겠습니다. 기본적으로 jQuery(JavaScript)를 이용한 외부 서버 접속은 보안상의 이슈로 처리 되지 않습니다만, JSON의 경우는 JavaScript로도 보안상의 문제 없이 외부 서버의 JSON을 처리 할 수 [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: 0 0 10px 20px; background: #fff;">
<fieldset>
<legend>PHP – bit.ly Short URL API</legend>
<ol style="margin: 0; padding: 0 35px 0 20px;">
<li><a href="http://www.blueiblog.com/ko/archives/1976">API Key 획득 및 API 목록</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/1986">Shorten 메소드 설명</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2029">PHP로 Shorten 메소드 이용해보기</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2546">jQuery로 Shorten 메소드 이용해보기</a></li>
</ol>
</fieldset>
</div>
<p>이번에는 jQuery를 이용 한 bit.ly API 코딩 실전으로 들어가겠습니다. </p>
<p>기본적으로 jQuery(JavaScript)를 이용한 외부 서버 접속은 보안상의 이슈로 처리 되지 않습니다만, JSON의 경우는 JavaScript로도 보안상의 문제 없이 외부 서버의 JSON을 처리 할 수 있습니다. bit.ly의 API는 JSON을 지원하기때문에 우리는 jQuery AJAX의 JSON을 이용하여 동적으로 Shorten URL을 서비스 할 수 있습니다.</p>
<h2>jQuery로 Shorten메소드 호출</h2>
<p>앞서 3장에서 다룬 내용대로 &#8220;http://www.blueiblog.com/ko/archives/1976&#8243;을 줄일때 우리는 &#8220;http://api.bit.ly/shorten?version=2.0.1&#038;longUrl=http://www.blueiblog.com/ko/archives/1976&#038;login=xxxx&#038;apiKey=xxxxxxxxxxxx&#8221;와 같이 Shorten URL을 요청했습니다. </p>
<p>그럼 3장과 같은 내용의 함수를 jQuery로 바꾸어보도록 하겠습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/**
 * License by Blueⓘ
 *
 * @param String longURL 짧게 변경할 긴 문자열의 URL
 * @return String 짧게 변환된 URL
 */</span>
<span style="color: #003366; font-weight: bold;">function</span> getShortURL<span style="color: #009900;">&#40;</span>longURL<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> ret<span style="color: #339933;">;</span>
	$.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span>
		<span style="color: #3366CC;">&quot;http://api.bit.ly/shorten?version=2.0.1&amp;longUrl=&quot;</span><span style="color: #339933;">+</span>longURL<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&amp;login=xxxx&amp;apiKey=xxxxxxxxxxxx&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			ret <span style="color: #339933;">=</span> data.<span style="color: #660066;">results</span><span style="color: #009900;">&#91;</span>url<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">shortUrl</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">return</span> ret<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>getShortURL<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;http://test.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// OUTPUT : http://bit.ly/9ICmwA</span></pre></div></div>

<p>이렇게 바뀔 수 있겠네요.. 위 코드는 테스트 없이 그냥 즉석에서 소스를 jQuery용으로 변경 한 것입니다. 테스트 없이 코드를 올려서 죄송합니다 ㅠ.ㅠ 혹 문제가 없을거라고 믿으나 있다면 댓글로 노티 부탁드리겠습니다.</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=7389289" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2546/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IE6에서 투명 테두리 주는 방법 (Transparent borders for IE 6)</title>
		<link>http://www.blueiblog.com/ko/archives/2496</link>
		<comments>http://www.blueiblog.com/ko/archives/2496#comments</comments>
		<pubDate>Tue, 25 May 2010 02:16:41 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[border-color]]></category>
		<category><![CDATA[transparent]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2496</guid>
		<description><![CDATA[CSS에서 border-color에 투명을 주는 방법은 &#8220;border-color: transparent&#8221;를 주면 됩니다. 하지만 IE 6는 transparent가 먹질 않습니다. 그래서 꽁수가 필요합니다. 어떻게 IE 6에 투명 테두리를 주는지 예를 통해 보도록 하겠습니다. Box 1 Box 2 &#60;div style=&#34;border: 3px solid blue; background-color: red; width: 100px; height: 100px;&#34;&#62;Box 1&#60;/div&#62; &#60;div style=&#34;border: 3px solid transparent; background-color: red; width: 100px; height: 100px;&#34;&#62;Box [...]]]></description>
			<content:encoded><![CDATA[<p>CSS에서 border-color에 투명을 주는 방법은 &#8220;border-color: transparent&#8221;를 주면 됩니다. 하지만 IE 6는 transparent가 먹질 않습니다. 그래서 꽁수가 필요합니다. 어떻게 IE 6에 투명 테두리를 주는지 예를 통해 보도록 하겠습니다.</p>
<div style="display: inline-block; float: left; border: 3px solid blue; background-color: red; width: 100px; height: 100px;">Box 1</div>
<div style="margin-left: 10px; margin-bottom: 10px; display: inline-block; float: left;  border: 3px solid transparent; background-color: red; width: 100px; height: 100px;">Box 2</div>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;border: 3px solid blue; background-color: red; width: 100px; height: 100px;&quot;</span>&gt;</span>Box 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;border: 3px solid transparent; background-color: red; width: 100px; height: 100px;&quot;</span>&gt;</span>Box 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>위 에제는 기본적으로 투명 테두리를 주는 방법을 보여주고 있습니다. BOX 1은 파란색 테두리를 가지고 있지만 BOX 2는 테두리가 투명으로 처리되어 배경색인 빨간색만 보입니다. 하지만 IE 6에서는 투명 테두리 효과가 먹히질 않습니다.</p>
<p>이걸 아래와 같이 처리하면 투명 테두리 효과를 IE6에서도 줄 수 있습니다.</p>
<div style="margin-bottom: 10px; display: inline-block; border: 3px solid blue; border-color: blue; filter:chroma(color=blue); background-color: red; width: 100px; height: 100px;">Box 3</div>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;margin-bottom: 10px; display: inline-block; border: 3px solid blue; border-color: blue; filter:chroma(color=blue); background-color: red; width: 100px; height: 100px;&quot;</span>&gt;</span>Box 3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>다른 브라우저에서는 테두리가 보이지만 IE 6에서는 테두리가 먹질 않습니다.</p>
<p>그럼 다른 브라우저에서는 transparent를 먹히고 IE 6에서는 filter로 투명 테두리 효과를 줄 수 있을까요?</p>
<style>
.box { display: inline-block; margin-bottom: 10px; border: 3px solid transparent; background-color: red; width: 100px; height: 100px; }
*html .box { border-color: blue; filter:chroma(color=blue);  }
</style>
<div class="box">Box 4</div>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
.box { display: inline-block; margin-bottom: 10px; border: 3px solid transparent; background-color: red; width: 100px; height: 100px; }
*html .box { border-color: blue; filter:chroma(color=blue);  }
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;box&quot;</span>&gt;</span>Box 4<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>위와 같이 *html이라는 CSS 핵을 사용하여 IE 6에서만 따로 CSS를 적용하여 어느 브라우저에서든 제대로 된 투명 테두리 효과를 줄 수 있습니다.</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=7178367" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2496/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>차세대 SNS, TOG를 소개합니다.</title>
		<link>http://www.blueiblog.com/ko/archives/2485</link>
		<comments>http://www.blueiblog.com/ko/archives/2485#comments</comments>
		<pubDate>Wed, 19 May 2010 04:46:11 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[개발 일지]]></category>
		<category><![CDATA[SNS]]></category>
		<category><![CDATA[TOG]]></category>
		<category><![CDATA[토그]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2485</guid>
		<description><![CDATA[지난 2년간 심혈을 기울여 기획하고 개발한 토그가 지난 2월 클로즈베타를 실시한 이후 약 3개월만에 공개 오픈베타를 2010년 5월 19일 부터 진행합니다. 마이크로블로그 서비스부터 실시간 의사 소통을 모토로 한 파고라, SNS에서 SMS, MMS, 보이스메세지, 전화통화까지 가능한 원스탑 편리 서비스, 그리고 나의 친구들의 위치 및 주변의 친구들을 확인 할 수 있는 광장 서비스. 토그미 : 마이크로 블로그 [...]]]></description>
			<content:encoded><![CDATA[<p>지난 2년간 심혈을 기울여 기획하고 개발한 <a href="http://tog.kr/?utm_source=BLUEIBLOG&#038;utm_medium=LINK&#038;utm_campaign=BLOGPOST" target="_blank">토그</a>가 지난 2월 클로즈베타를 실시한 이후 약 3개월만에 공개 오픈베타를 2010년 5월 19일 부터 진행합니다.</p>
<p><a href="http://tog.kr/?utm_source=BLUEIBLOG&#038;utm_medium=LINK&#038;utm_campaign=BLOGPOST" target="_blank"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/05/2010-05-19_132754-720x717.gif" alt="" title="2010-05-19_132754" width="720" height="717" class="alignnone size-large wp-image-2488" /></a></p>
<p>마이크로블로그 서비스부터 실시간 의사 소통을 모토로 한 파고라, SNS에서 SMS, MMS, 보이스메세지, 전화통화까지 가능한 원스탑 편리 서비스, 그리고 나의 친구들의 위치 및 주변의 친구들을 확인 할 수 있는 광장 서비스.</p>
<ul>
<li><strong>토그미</strong> : 마이크로 블로그 서비스인 토그미는 여러분의 일상을 아주 간단하게 적고 친구들과 공유 할 수 있습니다. 또한 개인이 소장하고 있는 컴퓨터 내 사진뿐만 아니라 플리커 피카사의 사진, 유튜브 네이버등에 올라와 있는 동영상도 링크 주소만 입력함으로서 쉽게 친구들과 공유 가능합니다. 한국형 서비스 답게 미디어 모아보기로 친구들의 사진을 보는 재미도 느껴보세요.</li>
<li><strong>파고라</strong> : 실시간 의사 소통을 모토로하는 파고라는 친구들과 동시에 일반 의견을 공유 할 수 있으며, 사진 및 동영상을 올려 동시에 같이 봄으로서 동영상에 관한 의견도 쉽게 나눌수 있습니다. 내가 올린 동영상은 파고라에 접속한 친구에게 동시에 플레이 되니 원격회의를 해야하는 회사원들에게도 유용한 서비스군요. 또한 과거 파고라의 로그를 살펴볼수 있어 과거에 어떠한 이야기를 했는지도 확인 가능합니다. 파고라는 이런 모든걸 가능하게 해주는 실시간 마이크로 카페입니다.</li>
<li><strong>우체통</strong> : 우체통에서는 친구들에게 SMS, MMS는 물론 보이스 메세지, 음성통화를 시도 할 수 있습니다. 또한 토그미 파고라등에서도 친구의 전화번호를 모르더라도 안전하게 토그만의 보이스 서비스로 연락을 할 수 있습니다. 토그를 하다보면 멋진 이성에게 전화 연락이 올지도 모릅니다.</li>
<li><strong>광장</strong> : 토그에 있어서 광장은 전세계 입니다. 전세계의 토그 친구들이 어떠한 이야기를 어디서 이야기 하는지 궁금하지 않으신가요? 토그 광장에서는 실시간으로 토그 친구들의 이야기를 들어 볼 수 있습니다. 또한 여러분의 멋진 이야기로 여러분의 지역에 관심을 가진 토그 유저들의 관광이 폭발적으로 늘지도&#8230; 여러분은 토그에서 여러분 지역 홍보대사가 될 수 있습니다. 또한 새로운 친구들과 토그팅을 통해 만남을 약속 할 수도 새로운 만남을 만들 수 있습니다.</li>
</ul>
<p>트위터나 싸이월드같은 서비스에 질려 있는 많은 분들 <a href="http://tog.kr" target="_blank">토그</a>하세욤~~</p>
<p>공식 사이트 주소 : <a href="http://tog.kr/?utm_source=BLUEIBLOG&#038;utm_medium=LINK&#038;utm_campaign=BLOGPOST" target="_blank">http://tog.kr</a></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=7097996" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2485/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>문자열 자르기 없이 HTML만으로 긴 문자열 표기하기</title>
		<link>http://www.blueiblog.com/ko/archives/2425</link>
		<comments>http://www.blueiblog.com/ko/archives/2425#comments</comments>
		<pubDate>Tue, 04 May 2010 01:37:44 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[문자열자르기]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2425</guid>
		<description><![CDATA[게시판의 제목, 혹은 메인 페이지에서 내용을 뿌려줄 때.. 글은 긴데.. 표시 할 영역은 항상 한정되어 있습니다. 이런경우 보통은 문자열 자르기를 통해 해당 영역을 넘어서지 않을정도만 표기하는 방법을 사용합니다. 하지만 한글 영문의 특성, 그리고 폰트마다 제각각의 특성이 있어 그 영역을 딱 맞추긴 쉽지 않습니다. 이럴 경우 HTML 엘리먼트의 overflow: hidden으로 위 문제를 해결 할 수 있습니다. [...]]]></description>
			<content:encoded><![CDATA[<p>게시판의 제목, 혹은 메인 페이지에서 내용을 뿌려줄 때.. 글은 긴데.. 표시 할 영역은 항상 한정되어 있습니다. 이런경우 보통은 문자열 자르기를 통해 해당 영역을 넘어서지 않을정도만 표기하는 방법을 사용합니다.</p>
<p>하지만 한글 영문의 특성, 그리고 폰트마다 제각각의 특성이 있어 그 영역을 딱 맞추긴 쉽지 않습니다. 이럴 경우 HTML 엘리먼트의 overflow: hidden으로 위 문제를 해결 할 수 있습니다. 코드에서 따로 문자열 자르기를 할 필요 없이 말입니다.</p>
<p>아래는 개발자가 사용자가 입력한 글의 길이를 예상 못해서 발생된 경우이며, 그 밑의 예는 개발자가 사용자의 글 길이를 일일히 예측 할 필요가 없는 예입니다. <span style="text-decoration: underline;">(여기서 우리는 400px의 한줄 영역만 표시할려고 했다고 가정합니다.)</span></p>
<div style="border: 1px solid red; width: 400px; height: 20px; line-height: 20px; margin: 10px; ">
안녕하세요. 게시판이나 혹은 레이아웃상 어느정도 긴 글이 나올지를 모르는 경우 우리는 문자열 자르기를 합니다. 하지만 문자열 자르기의 경우 영문/한글 및 폰트의 설정에 따라 표시되는 영역이 다 다르기에 정확히 여기서 보이는 빨간 박스안에 표시하기란 무리가 있습니다. 이럴땐&#8230; 바로 이렇게 사용 해 보세요.
</div>
<div style="border: 1px solid red; width: 400px; height: 20px; line-height: 20px; margin: 100px 10px 10px 10px; overflow: hidden; white-space: nowrap;">
안녕하세요. 게시판이나 혹은 레이아웃상 어느정도 긴 글이 나올지를 모르는 경우 우리는 문자열 자르기를 합니다. 하지만 문자열 자르기의 경우 영문/한글 및 폰트의 설정에 따라 표시되는 영역이 다 다르기에 정확히 여기서 보이는 빨간 박스안에 표시하기란 무리가 있습니다. 이럴땐&#8230; 바로 이렇게 사용 해 보세요.
</div>
<p>위 예에서 보듯이 첫번째 예의 경우는 첫줄을 벗어나 밑으로 여러줄 표시되고 말았습니다. CSS의 display값에 따라 다르겠지만 겹쳐 보이던지 아니면 레이아웃이 밑으로 내려가 깨질것입니다. 하지만 두번째의 경우는 같은 내용의 글을 포함하고 있지만 빨간 박스 안에 표시되는 내용만 보여주고 있습니다.</p>
<p>어떤 차이가 있을까요? 소스를 살펴보겠습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;border: 1px solid red; width: 400px; height: 20px; line-height: 20px; margin: 10px; &quot;</span>&gt;</span>
안녕하세요. 게시판이나 혹은 레이아웃상 어느정도 긴 글이 나올지를 모르는 경우 우리는 문자열 자르기를 합니다. 하지만 문자열 자르기의 경우 영문/한글 및 폰트의 설정에 따라 표시되는 영역이 다 다르기에 정확히 여기서 보이는 빨간 박스안에 표시하기란 무리가 있습니다. 이럴땐... 바로 이렇게 사용 해 보세요.
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;border: 1px solid red; width: 400px; height: 20px; line-height: 20px; margin: 100px 10px 10px 10px; overflow: hidden; white-space: nowrap;&quot;</span>&gt;</span>
안녕하세요. 게시판이나 혹은 레이아웃상 어느정도 긴 글이 나올지를 모르는 경우 우리는 문자열 자르기를 합니다. 하지만 문자열 자르기의 경우 영문/한글 및 폰트의 설정에 따라 표시되는 영역이 다 다르기에 정확히 여기서 보이는 빨간 박스안에 표시하기란 무리가 있습니다. 이럴땐... 바로 이렇게 사용 해 보세요.
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>위 두 소스의 내용(DIV엘리먼트 안에 포함된 텍스트)는 같지만 CSS에 약간의 창가 있습니다.</p>
<p>바로 이것~~</p>
<p><strong>overflow: hidden; white-space: nowrap;</strong></p>
<p>이게 위처럼 전혀 다른 결과를 보여줍니다. 또한 아래처럼 개발한다고 한다면 여러분이 가지고 있는 문자열 자르기 함수는 앞으로 영영 삭제될지도.. ^^</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=6877174" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2425/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>다음 뷰(Daum View) 송고 워드프레스 플러그인 공개~</title>
		<link>http://www.blueiblog.com/ko/archives/2261</link>
		<comments>http://www.blueiblog.com/ko/archives/2261#comments</comments>
		<pubDate>Thu, 22 Apr 2010 04:54:37 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[개발 일지]]></category>
		<category><![CDATA[다음뷰]]></category>
		<category><![CDATA[워드프레스]]></category>
		<category><![CDATA[플러그인]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2261</guid>
		<description><![CDATA[플러그인 소개 및 다운로드 워드프레스에서 다음뷰로 자동 송고 및 포스팅 하단에 추천 버튼을 삽입하여 주는 플러그인을 개발 공개합니다. 매번 다음뷰로 들어가서 송고하는게 번거로워서 개발해보았습니다. 워드프레스 유저들에게 많은 도움이 되길 바랍니다. 추후 워드프레스 플러그인 사이트에 업로드 할 예정이며 기다리기 힘드실까봐 그전에 미리 다운로드 URL을 걸어봅니다. (플러그인 사이트에 업데이트 후 본 사이트의 다운로드 경로는 삭제될 예정입니다.) 다운로드 [...]]]></description>
			<content:encoded><![CDATA[<h3 style="border-bottom: 1px solid #bcbcbc;">플러그인 소개 및 다운로드</h3>
<p>워드프레스에서 다음뷰로 자동 송고 및 포스팅 하단에 추천 버튼을 삽입하여 주는 플러그인을 개발 공개합니다. 매번 다음뷰로 들어가서 송고하는게 번거로워서 개발해보았습니다. 워드프레스 유저들에게 많은 도움이 되길 바랍니다.</p>
<p><del datetime="2010-04-25T13:35:56+00:00">추후 워드프레스 플러그인 사이트에 업로드 할 예정이며 기다리기 힘드실까봐 그전에 미리 다운로드 URL을 걸어봅니다. (플러그인 사이트에 업데이트 후 본 사이트의 다운로드 경로는 삭제될 예정입니다.)</p>
<p>다운로드 : <img alt="zip" title="zip" class="download-icon" src="http://www.blueiblog.com/ko/wp-content/plugins/download-monitor/img/filetype_icons/document-zipper.png" /> <a href="http://www.blueiblog.com/ko/download/blueDaumView.zip">http://www.blueiblog.com/ko/download/blueDaumView.zip (다운로드 횟수 : 74)</a></del></p>
<fieldset>
<legend>2010년 4월 25일 10시 38분 추가된 내용</legend>
<p>워드프레스 플러그인 레포짓 생성이 완료되어 다운로드는 워드프레스 플러그인 사이트로 이전합니다.</p>
<p>blueDaumView 플러그인 페이지 : <a href="http://wordpress.org/extend/plugins/bluedaumview/" target="_blank">http://wordpress.org/extend/plugins/bluedaumview/</a><br />
</fieldset>
<h3 style="border-bottom: 1px solid #bcbcbc;">플러그인 자동 설치</h3>
<p>플러그인을 다운로드 받아 설치하는 방법이 어려우신 분들은 플러그인 자동 설치를 이용하실 수 있습니다. 플러그인 자동 설치는 아래와 같은 스텝에 의해 진행하시면 됩니다.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install1.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install1-720x539.gif" alt="" title="blueDaumView_install1" width="720" height="539" class="alignnone size-large wp-image-2318" /></a></p>
<p>플러그인 메뉴의 플러그인 추가하기를 클릭합니다. 영문버젼에서는 Plugin메뉴의 두번째(영문명은 모르겟네욤 ㅠ.ㅠ)를 선택합니다. 순서는 같으니까요. 그다음 &#8220;blueDaumView&#8221;를 검색참에 입력한후 검색 버튼을 클릭합니다.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install2.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install2-720x539.gif" alt="" title="blueDaumView_install2" width="720" height="539" class="alignnone size-large wp-image-2319" /></a></p>
<p>검색 버튼을 클릭하고 나면 위 그림처럼 플러그인이 검색되어 나옵니다. 오른쪽의 &#8220;설치&#8221;를 클릭합니다.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install3.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install3-720x539.gif" alt="" title="blueDaumView_install3" width="720" height="539" class="alignnone size-large wp-image-2320" /></a></p>
<p>설치를 클릭하고 나면 플러그인 정보가 위 그림처럼 나옵니다. &#8220;지금 설치하기&#8221;를 클릭하세요.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install4.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/blueDaumView_install4-720x539.gif" alt="" title="blueDaumView_install4" width="720" height="539" class="alignnone size-large wp-image-2321" /></a></p>
<p>마지막으로 설치 할 블로그의 FTP주소와 계정 암호를 입력한후 &#8220;처리하기&#8221;를 클릭합니다. 여기까지 마치시면 워드레스는 자동으로 blueDaumView를 설치합니다.</p>
<h3 style="border-bottom: 1px solid #bcbcbc;">스크린샷</h3>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/2010-04-22_135304.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/2010-04-22_135304-720x432.gif" alt="" title="blueDaumView 설정 페이지" width="720" height="432" class="aligncenter size-large wp-image-2266" /></a></p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/2010-04-22_135049.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/2010-04-22_135049-720x432.gif" alt="" title="blueDaumView 글쓰기 페이지" width="720" height="432" class="aligncenter size-large wp-image-2262" /></a></p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/2010-04-22_135231.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/04/2010-04-22_135231-720x432.gif" alt="" title="blueDaumView 포스팅 하단 추천 버튼" width="720" height="432" class="aligncenter size-large wp-image-2265" /></a></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=6707690" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2261/feed</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>[JavaScript] 문자열을 숫자로 변환(Converting Strings to Numbers)</title>
		<link>http://www.blueiblog.com/ko/archives/2128</link>
		<comments>http://www.blueiblog.com/ko/archives/2128#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:40:53 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Convertor]]></category>
		<category><![CDATA[변환]]></category>
		<category><![CDATA[자바스크립트]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2128</guid>
		<description><![CDATA[자바스크립트는 형 지정형 언어가 아니기에 스크립트가 자동으로 상황에 맞게 형을 지정해주게 됩니다. 이에 숫자를 저장한 변수지만 문자열로 인식 계산전에 형을 변환해주어야 할 필요성이 있습니다. 아래는 자바스크립트에서 Float 그리고 Int로 형으로 형 변환을 하는 예제 입니다. parseFloat syntax: parseFloat(&#8216;string&#8217;) parseFloat&#40;'1.45kg'&#41; // 1.45 parseFloat&#40;'77.3'&#41; // 77.3 parseFloat&#40;'077.3'&#41; // 77.3 parseFloat&#40;'0x77.3'&#41; // 0 parseFloat&#40;'.3'&#41; // 0.3 parseFloat&#40;'0.1e6'&#41; // [...]]]></description>
			<content:encoded><![CDATA[<p>자바스크립트는 형 지정형 언어가 아니기에 스크립트가 자동으로 상황에 맞게 형을 지정해주게 됩니다. 이에 숫자를 저장한 변수지만 문자열로 인식 계산전에 형을 변환해주어야 할 필요성이 있습니다.</p>
<p>아래는 자바스크립트에서 Float 그리고 Int로 형으로 형 변환을 하는 예제 입니다.</p>
<p><strong>parseFloat syntax<strong>:   parseFloat(&#8216;string&#8217;)</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">parseFloat<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'1.45kg'</span><span style="color: #009900;">&#41;</span>  <span style="color: #006600; font-style: italic;">// 1.45</span>
parseFloat<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'77.3'</span><span style="color: #009900;">&#41;</span>    <span style="color: #006600; font-style: italic;">// 77.3</span>
parseFloat<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'077.3'</span><span style="color: #009900;">&#41;</span>   <span style="color: #006600; font-style: italic;">// 77.3</span>
parseFloat<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'0x77.3'</span><span style="color: #009900;">&#41;</span>  <span style="color: #006600; font-style: italic;">// 0</span>
parseFloat<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.3'</span><span style="color: #009900;">&#41;</span>      <span style="color: #006600; font-style: italic;">// 0.3</span>
parseFloat<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'0.1e6'</span><span style="color: #009900;">&#41;</span>   <span style="color: #006600; font-style: italic;">// 100000</span></pre></div></div>

<p><strong>parseInt syntax</strong>:   parseInt( &#8216;string&#8217; [, base] )</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'123.45'</span><span style="color: #009900;">&#41;</span>  <span style="color: #006600; font-style: italic;">// 123</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'77'</span><span style="color: #009900;">&#41;</span>      <span style="color: #006600; font-style: italic;">// 77</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'077'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span>  <span style="color: #006600; font-style: italic;">// 77</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'77'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">8</span><span style="color: #009900;">&#41;</span>    <span style="color: #006600; font-style: italic;">// 63  (= 7 + 7*8)</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'077'</span><span style="color: #009900;">&#41;</span>     <span style="color: #006600; font-style: italic;">// 63  (= 7 + 7*8)</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'77'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">16</span><span style="color: #009900;">&#41;</span>   <span style="color: #006600; font-style: italic;">// 119 (= 7 + 7*16)</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'0x77'</span><span style="color: #009900;">&#41;</span>    <span style="color: #006600; font-style: italic;">// 119 (= 7 + 7*16)</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'099'</span><span style="color: #009900;">&#41;</span>     <span style="color: #006600; font-style: italic;">// 0 (9 is not an octal digit)</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'99'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">8</span><span style="color: #009900;">&#41;</span>    <span style="color: #006600; font-style: italic;">// 0 or NaN, depending on the platform</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'0.1e6'</span><span style="color: #009900;">&#41;</span>   <span style="color: #006600; font-style: italic;">// 0</span>
parseInt<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ZZ'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">36</span><span style="color: #009900;">&#41;</span>   <span style="color: #006600; font-style: italic;">// 1295 (= 35 + 35*36)</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2128/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5 &#8211; AUDIO 태그 브라우저별 음원 지원 현황</title>
		<link>http://www.blueiblog.com/ko/archives/2112</link>
		<comments>http://www.blueiblog.com/ko/archives/2112#comments</comments>
		<pubDate>Wed, 03 Mar 2010 08:35:03 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[AUDIO]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[지원음원형식]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2112</guid>
		<description><![CDATA[HTML 5에서 새롭게 추가되는 AUDIO 태그에 대해서 알아보던 중 브라우저별 음원 지원 현황이 틀리다는것을 알게되었습니다. Firefox에서는 MP3음원을 지원하지 않고, Safari 브라우저에서는 OGG형식의 음원을 지원하지 않습니다. 또, Chrome은 WAV형식의 음원을, Opera 브라우저는 OGG와 MP3형식의 음원을 지원하지 않는군요. 뭔가 통일되는 구석이 없습니다&#8230; 아래표는 브라우저 버젼별로 AUDIO태그에 지원되는 음원 형식입니다. 추후 변동사항이 있으면 업데이트 하도록 하겠습니다. 아래 소스는 [...]]]></description>
			<content:encoded><![CDATA[<p>HTML 5에서 새롭게 추가되는 AUDIO 태그에 대해서 알아보던 중 브라우저별 음원 지원 현황이 틀리다는것을 알게되었습니다.</p>
<p>Firefox에서는 MP3음원을 지원하지 않고, Safari 브라우저에서는 OGG형식의 음원을 지원하지 않습니다. 또, Chrome은 WAV형식의 음원을, Opera 브라우저는 OGG와 MP3형식의 음원을 지원하지 않는군요. 뭔가 통일되는 구석이 없습니다&#8230;</p>
<p>아래표는 브라우저 버젼별로 AUDIO태그에 지원되는 음원 형식입니다. 추후 변동사항이 있으면 업데이트 하도록 하겠습니다.</p>
<p><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/03/audiotag.gif" alt="" title="audiotag" width="506" height="117" class="aligncenter size-full wp-image-2114" /></p>
<p>아래 소스는 오디오 플레이 서비스 時, 오디오 TAG를 먼저 사용하고 AUDIO태그를 지원하지 않을 경우 OBJECT나 EMBED 태그를 사용하여 플레이 서비스를 하는 방법입니다.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;audio controls autobuffer&gt;</span>
	 <span style="color: #808080; font-style: italic;">&lt;!--// s: OGG --&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;strong&quot;</span>&gt;</span>
	 	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;&lt;source <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1234.ogg&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
	 <span style="color: #808080; font-style: italic;">&lt;!--// e: OGG --&gt;</span>	 
&nbsp;
	 <span style="color: #808080; font-style: italic;">&lt;!--// s: MP3 --&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;strong&quot;</span>&gt;</span>
	 	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;&lt;source <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1234.mp3&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
	 <span style="color: #808080; font-style: italic;">&lt;!--// e: MP3 --&gt;</span>
&nbsp;
	 <span style="color: #808080; font-style: italic;">&lt;!--// s: WAV --&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;strong&quot;</span>&gt;</span>
	 	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;&lt;source <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1234.wav&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
	 <span style="color: #808080; font-style: italic;">&lt;!--// e: MP3 --&gt;</span>	 
&nbsp;
	 <span style="color: #808080; font-style: italic;">&lt;!--// s: EMBEDDED PLAYER --&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;strong&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;&lt;EMBED <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1234.wav&quot;</span> autostart<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> loop<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> volume<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>
	 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
	 <span style="color: #808080; font-style: italic;">&lt;!--// e: EMBEDDED PLAYER --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>audio&gt;</span></pre></div></div>

<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=6028744" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2112/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>플래시 위에 레이어가 플래시에 가리는 현상 해결법</title>
		<link>http://www.blueiblog.com/ko/archives/2098</link>
		<comments>http://www.blueiblog.com/ko/archives/2098#comments</comments>
		<pubDate>Thu, 18 Feb 2010 02:29:19 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[transparent]]></category>
		<category><![CDATA[wmode]]></category>
		<category><![CDATA[레이어]]></category>
		<category><![CDATA[플래시]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2098</guid>
		<description><![CDATA[플래시 위에 레이어를 띄울 경우 레이어가 플래시에 가리는 현상이 발생합니다. 아래 캡쳐화면은 자바스크립트 Alert을 레이어로 처리한 경우에 플래시에 Alert레이어가 가린 경우입니다. 이런 경우 플래시에 wmode파라미터를 주고 transparent값을 주게 되면 플래시가 레이어를 가리는 현상이 사라지게 됩니다. 플래시의 경우 OBJECT 엘리먼트와 비 IE계열을 위한 EMBED 엘리먼트 두곳에 wmode를 설정 해 주셔야 합니다. &#60;object classid....&#62; &#60;param name=&#34;wmode&#34; value=&#34;transparent&#34;&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>플래시 위에 레이어를 띄울 경우 레이어가 플래시에 가리는 현상이 발생합니다. </p>
<p>아래 캡쳐화면은 자바스크립트 Alert을 레이어로 처리한 경우에 플래시에 Alert레이어가 가린 경우입니다.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-18_111501.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-18_111501.gif" alt="" title="2010-02-18_111501" width="499" height="293" class="aligncenter size-full wp-image-2100" /></a></p>
<p>이런 경우 플래시에 wmode파라미터를 주고 transparent값을 주게 되면 플래시가 레이어를 가리는 현상이 사라지게 됩니다.<br />
플래시의 경우 OBJECT 엘리먼트와 비 IE계열을 위한 EMBED 엘리먼트 두곳에 wmode를 설정 해 주셔야 합니다.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">object</span> <span style="color: #000066;">classid</span>....&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wmode&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;transparent&quot;</span>&gt;</span>
	...
	...
	<span style="color: #009900;">&lt;embed ... wmode<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;transparent&quot;</span> ... <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">object</span>&gt;</span></pre></div></div>

<p>아래는 완성된 플래시 삽입 코드 입니다. 위의 wmode를 아래와 같이 플래시 코드중 원하시는곳에 삽입 해 주시면 됩니다.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">object</span> <span style="color: #000066;">classid</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">codebase</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ie_chart&quot;</span> <span style="color: #000066;">align</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;middle&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wmode&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;transparent&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowScriptAccess&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sameDomain&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;movie&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;movie.php&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;quality&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;high&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bgcolor&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#FFFFFF&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;embed <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/open-flash-chart.swf?data=movie.php&quot;</span> quality<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;high&quot;</span> <span style="color: #000066;">bgcolor</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#FFFFFF&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100%&quot;</span> </span>
<span style="color: #009900;">		<span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;chart&quot;</span> <span style="color: #000066;">align</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;middle&quot;</span> allowScriptAccess<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sameDomain&quot;</span> </span>
<span style="color: #009900;">		<span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> wmode<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;transparent&quot;</span></span>
<span style="color: #009900;">		pluginspage<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.macromedia.com/go/getflashplayer&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;chart&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">object</span>&gt;</span></pre></div></div>

<p>이렇게 하면 위 캡쳐화면에서 레이어가 플래시에 가리던 현상이 아래 캡쳐화면처럼 레이어가 플래시 위에서도 이쁘게 잘 보이는 것을 확인하실 수 있습니다.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-18_112835.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-18_112835.gif" alt="" title="2010-02-18_112835" width="495" height="288" class="aligncenter size-full wp-image-2109" /></a></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5870574" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2098/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>bit.ly Short URL API – PHP로 Shorten 메소드 이용해보기</title>
		<link>http://www.blueiblog.com/ko/archives/2029</link>
		<comments>http://www.blueiblog.com/ko/archives/2029#comments</comments>
		<pubDate>Sun, 07 Feb 2010 07:37:35 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[Open API]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[bit.ly]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2029</guid>
		<description><![CDATA[PHP – bit.ly Short URL API API Key 획득 및 API 목록 Shorten 메소드 설명 PHP로 Shorten 메소드 이용해보기 jQuery로 Shorten 메소드 이용해보기 그럼 앞의 두 강좌를 기본으로 PHP를 이용한 bit.ly API 코딩하기 실전으로 들어가도록 하겠습니다. 이 API 코딩법만 익히게 되면 다른 bit.ly API를 이용하는것도 어렵지 않으니 집중하고 내용을 이해 하도록 노력해 주세요. P.S. 그리고 [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: 0 0 10px 20px; background: #fff;">
<fieldset>
<legend>PHP – bit.ly Short URL API</legend>
<ol style="margin: 0; padding: 0 35px 0 20px;">
<li><a href="http://www.blueiblog.com/ko/archives/1976">API Key 획득 및 API 목록</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/1986">Shorten 메소드 설명</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2029">PHP로 Shorten 메소드 이용해보기</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2546">jQuery로 Shorten 메소드 이용해보기</a></li>
</ol>
</fieldset>
</div>
<p>그럼 앞의 두 강좌를 기본으로 PHP를 이용한 bit.ly API 코딩하기 실전으로 들어가도록 하겠습니다. 이 API 코딩법만 익히게 되면 다른 bit.ly API를 이용하는것도 어렵지 않으니 집중하고 내용을 이해 하도록 노력해 주세요.</p>
<p><strong>P.S. 그리고 댓글좀 써주세요 ㅡㅡ; 댓글 없는 포스팅을 보게되면 강좌를 연재할 의욕이 꺽인답니다. ^^</strong></p>
<h2>PHP로 Shorten메소드 호출</h2>
<p>이제 어떠한 방식으로 데이터를 주고받는지 알게 되었다면 PHP를 이용하여 bit.ly의 API를 이용하여 짧은 URL을 얻어오는 방법을 설명 하겠습니다. 이번 강의에서 사용될 PHP의 함수는 아래와 같습니다.</p>
<ol>
<li><strong><a href="http://kr.php.net/manual/kr/function.file-get-contents.php" target="_blank">file_get_contents</a></strong> : 로컬내 파일 또는 원격지의 파일 내용을 문자열로 가져오는 함수</li>
<li><strong><a href="http://kr.php.net/manual/kr/function.json-decode.php" target="_blank">json_decode</a></strong> : JSON으로 만들어진 문자열을 JSON 객체로 변환 해주는 함수</li>
</ol>
<p>위 두 함수는 모두 PHP 코어의 일부분으로 따로 설치 하실 필요는 없습니다. 다만 PHP 버젼에 따라 작동되지 않을 수 있습니다.</p>
<p>그럼 간단하게 긴URL을 bit.ly에 던져서 짧은URL을 얻어 출력하는 내용으로 코딩 해보도록 하겠습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://api.bit.ly/shorten?version=2.0.1&amp;longUrl=http://www.blueiblog.com/ko/archives/1976&amp;login=xxxx&amp;apiKey=xxxxxxxxxxxx&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">json_decode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$surl</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">shortCNAMEUrl</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$surl</span><span style="color: #339933;">;</span></pre></div></div>

<p>그럼 이번에는 함수를 만들어서 언제든 빼 쓸 수 있도록 해보겠습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * License by Blueⓘ
 *
 * @param String longURL 짧게 변경할 긴 문자열의 URL
 * @return String 짧게 변환된 URL
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> getShortURL<span style="color: #009900;">&#40;</span><span style="color: #000088;">$longURL</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://api.bit.ly/shorten?version=2.0.1&amp;longUrl=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$longURL</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;login=xxxx&amp;apiKey=xxxxxxxxxxxx&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">json_decode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$surl</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">shortCNAMEUrl</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$surl</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> getShortURL<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://test.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// OUTPUT : http://bit.ly/9ICmwA</span></pre></div></div>

<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5742339" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2029/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>블로그 어드민툴의 카드이용현황 업데이트~~~</title>
		<link>http://www.blueiblog.com/ko/archives/2022</link>
		<comments>http://www.blueiblog.com/ko/archives/2022#comments</comments>
		<pubDate>Sat, 06 Feb 2010 14:13:36 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[개발 일지]]></category>
		<category><![CDATA[대쉬보드]]></category>
		<category><![CDATA[워드프레스]]></category>
		<category><![CDATA[카드사용현황]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/2022</guid>
		<description><![CDATA[카드를 쓰면 항상 내가 얼마 썼는지 모르겠고, 결제일만 되면 서글퍼지는 현실에서 벗어나기 위해~~ 작년(2009년) 5월쯤 블로그 어드민 페이지에 &#8220;카드 사용 현황 대쉬보드 알리미&#8220;이라는 기능을 추가했었습니다. 그 업그레이드 판으로 그래프로 6개월간의 카드 사용내역을 나, 와이프, 그리고 합계를 한셋으로 하여 그래프로 보여주는 기능을 완성시켰습니다. 역시 사람은 그래프로 보여야 보기 더 쉽군요 ^^. 프로그래머라서 가능한게 많아서 참 좋습니다 [...]]]></description>
			<content:encoded><![CDATA[<p>카드를 쓰면 항상 내가 얼마 썼는지 모르겠고, 결제일만 되면 서글퍼지는 현실에서 벗어나기 위해~~ 작년(2009년) 5월쯤 블로그 어드민 페이지에 &#8220;<a href="http://www.blueiblog.com/ko/archives/443">카드 사용 현황 대쉬보드 알리미</a>&#8220;이라는 기능을 추가했었습니다. </p>
<p>그 업그레이드 판으로 그래프로 6개월간의 카드 사용내역을 나, 와이프, 그리고 합계를 한셋으로 하여 그래프로 보여주는 기능을 완성시켰습니다. 역시 사람은 그래프로 보여야 보기 더 쉽군요 ^^. 프로그래머라서 가능한게 많아서 참 좋습니다 ^^</p>
<p>아래는 인증샷입니다 ^^</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-06_201109.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-06_201109.gif" alt="" title="2010-02-06_201109" width="687" height="258" class="aligncenter size-full wp-image-2023" /></a></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5736492" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/2022/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bit.ly Short URL API – Shorten 메소드 설명</title>
		<link>http://www.blueiblog.com/ko/archives/1986</link>
		<comments>http://www.blueiblog.com/ko/archives/1986#comments</comments>
		<pubDate>Sat, 06 Feb 2010 02:41:49 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[Open API]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[bit.ly]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1986</guid>
		<description><![CDATA[PHP – bit.ly Short URL API API Key 획득 및 API 목록 Shorten 메소드 설명 PHP로 Shorten 메소드 이용해보기 jQuery로 Shorten 메소드 이용해보기 이번에는 앞서 설명했던 내용을 토대로 shorten메소드에 대해서 알아보도록 하겠습니다. shorten메소드는 bit.ly의 API중 우리가 가장 많이 사용하게 될 메소드입니다. shorten메소드는 http://www.blueiblog.com/ko/archives/1976 와 같은 긴 주소를 http://bit.ly/b4ihSW 와 같이 짧게 줄여주는 역활을 합니다. 그럼 [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: 0 0 10px 20px; background: #fff;">
<fieldset>
<legend>PHP – bit.ly Short URL API</legend>
<ol style="margin: 0; padding: 0 35px 0 20px;">
<li><a href="http://www.blueiblog.com/ko/archives/1976">API Key 획득 및 API 목록</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/1986">Shorten 메소드 설명</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2029">PHP로 Shorten 메소드 이용해보기</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2546">jQuery로 Shorten 메소드 이용해보기</a></li>
</ol>
</fieldset>
</div>
<p>이번에는 앞서 설명했던 내용을 토대로 shorten메소드에 대해서 알아보도록 하겠습니다. shorten메소드는 bit.ly의 API중 우리가 가장 많이 사용하게 될 메소드입니다. shorten메소드는 http://www.blueiblog.com/ko/archives/1976 와 같은 긴 주소를 http://bit.ly/b4ihSW 와 같이 짧게 줄여주는 역활을 합니다.</p>
<p>그럼 shorten메소드의 사용법에 대해서 알아보도록 하겠습니다.</p>
<h2>Shorten Method 요청 및 결과</h2>
<p>Shorten메소드는 아래와 같은 파라미터를 입력해야 사용 할 수 있습니다. 입력해야 할 파라미터와 그 설명은 아래와 같습니다.</p>
<fieldset>
<legend>Parameter</legend>
<ul style="margin-top: 0; margin-bottom: 0;">
<li><strong>version</strong> : API 버젼을 입력하는 기본 파라미터(모든 함수 동일)</li>
<li><strong>login</strong> : API를 이용할 아이디(모든 함수 동일)</li>
<li><strong>apiKey</strong> : API를 이용할 Key(모든 함수 동일)</li>
<li><strong>format</strong> : xml과 json중 선택 가능, format파라미터를 입력하지 않으면 JSON으로 반환</li>
<li><strong style="color:blue;">longUrl</strong> : 짧은 URL로 변경할 원래 URL</li>
</ul>
</fieldset>
<p>그럼 위 메소드를 어떻게 사용하는지 알아보도록 하겠습니다. 우선 http://www.blueiblog.com/ko/archives/1976 주소를 짧게 변경하고 싶다면 아래와 같이 shorten메소드를 호출 해 보겠습니다. 브라우저의 주소 입력 창에 아래와 같이 입력해보세요. <span style="text-decoration: underline;">(아래 이미지를 클릭하시면 원본 사이즈로 보실 수 있습니다.)</span></p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-06_112346.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-06_112346-720x35.gif" alt="" title="2010-02-06_112346" width="720" height="35" class="aligncenter size-large wp-image-1994" /></a></p>

<div class="wp_syntax"><div class="code"><pre class="url" style="font-family:monospace;">http://api.bit.ly/shorten?version=2.0.1&amp;longUrl=http://www.blueiblog.com/ko/archives/1976&amp;login=xxxx&amp;apiKey=xxxxxxxxxxxx</pre></div></div>

<p>이와 같이 브라우져에 데이터를 요청하게 되면 다음과 같은 결과를 얻을 수 있습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="json" style="font-family:monospace;">{
    &quot;errorCode&quot;: 0, 
    &quot;errorMessage&quot;: &quot;&quot;, 
    &quot;results&quot;: {
        &quot;http://www.blueiblog.com/ko/archives/1976&quot;: {
            &quot;hash&quot;: &quot;b4ihSW&quot;, 
            &quot;shortCNAMEUrl&quot;: &quot;http://bit.ly/9pTARb&quot;, 
            &quot;shortKeywordUrl&quot;: &quot;&quot;, 
            &quot;shortUrl&quot;: &quot;http://bit.ly/9pTARb&quot;, 
            &quot;userHash&quot;: &quot;9pTARb&quot;
        }
    }, 
    &quot;statusCode&quot;: &quot;OK&quot;
}</pre></div></div>

<p>위 결과 처럼 Shorten메소드의 호출 결과는 JSON데이터로 반환 됩니다. format파라미터를 xml로 입력하면 xml로 결과를 반환 받을 수 있습니다. 아래는 xml로 반환 받은 경우의 결과 데이터 입니다.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bitly<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;errorCode<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/errorCode<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;errorMessage</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;results<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nodeKeyVal<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;shortKeywordUrl</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;hash<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>b4ihSW<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/hash<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;userHash<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>9pTARb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/userHash<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nodeKey<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>http://www.blueiblog.com/ko/archives/1976<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/nodeKey<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;shortUrl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>http://bit.ly/9pTARb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/shortUrl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;shortCNAMEUrl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>http://bit.ly/9pTARb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/shortCNAMEUrl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/nodeKeyVal<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/results<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;statusCode<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>OK<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/statusCode<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bitly<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>위 결과 처럼 xml로도 데이터를 반환 받을 수 있습니다. 하지만 우리는 기본포맷인 json으로 받은 데이터를 이용하여 프로그램을 작성 할 것입니다.</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5731093" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1986/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>bit.ly Short URL API &#8211; API Key 획득 및 API 목록</title>
		<link>http://www.blueiblog.com/ko/archives/1976</link>
		<comments>http://www.blueiblog.com/ko/archives/1976#comments</comments>
		<pubDate>Fri, 05 Feb 2010 07:56:41 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[Open API]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[bit.ly]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1976</guid>
		<description><![CDATA[PHP – bit.ly Short URL API API Key 획득 및 API 목록 Shorten 메소드 설명 PHP로 Shorten 메소드 이용해보기 jQuery로 Shorten 메소드 이용해보기 마이크로 블로깅으로 인해 숏URL 서비스가 인기를 얻는 세상이 왔습니다. 옛날 같으면 쓰지도 않던 기능인데 말이죠 ^^ 저 역시 블로그 글을 출판하게 되면 자동으로 트위터에 포스트의 제목과 URL을 추가하여 출판하고 있습니다. 하지만 역시 [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin: 0 0 10px 20px; background: #fff;">
<fieldset>
<legend>PHP – bit.ly Short URL API</legend>
<ol style="margin: 0; padding: 0 35px 0 20px;">
<li><a href="http://www.blueiblog.com/ko/archives/1976">API Key 획득 및 API 목록</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/1986">Shorten 메소드 설명</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2029">PHP로 Shorten 메소드 이용해보기</a></li>
<li><a href="http://www.blueiblog.com/ko/archives/2546">jQuery로 Shorten 메소드 이용해보기</a></li>
</ol>
</fieldset>
</div>
<p>마이크로 블로깅으로 인해 숏URL 서비스가 인기를 얻는 세상이 왔습니다. 옛날 같으면 쓰지도 않던 기능인데 말이죠 ^^</p>
<p>저 역시 블로그 글을 출판하게 되면 자동으로 트위터에 포스트의 제목과 URL을 추가하여 출판하고 있습니다. 하지만 역시 블로그의 주소는 길기에&#8230; 어쩔수 없이 Short URL기능을 이용해야 합니다. 그래서 <a href="http://bit.ly" target="_blank">bit.ly</a>의 Short URL API에 대해 알아 보았습니다.</p>
<p>그럼 PHP를 이용하여 <a href="http://bit.ly" target="_blank">bit.ly</a>의 Short URL을 가져오는 방법에 대해서 알아보도록 하겠습니다.</p>
<h2>bit.ly의 API Key 얻기</h2>
<p>여느 API와 마찬가지로 API를 이용하기 위해서는 API Key를 얻어야 합니다. 우선 <a href="http://bit.ly" target="_blank">http://bit.ly</a>의 홈페이지로 이동 한 후 회원가입을 합니다. 회원 가입후 어카운트 정보를 확인하면 아래와 같이 API Key가 보여집니다. (제 API Key 보안을 위해 ^^; 해당 부분은 모자이크 처리 했습니다.)</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-05_164433.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-05_164433-720x340.gif" alt="" title="2010-02-05_164433" width="720" height="340" class="aligncenter size-large wp-image-1978" /></a></p>
<p>물론 이렇게 얻은 API Key가 유출되었다면 우측의 Reset키를 누르시면 새로운 API Key를 발급 받으실수 있습니다.</p>
<h2>bit.ly API 목록</h2>
<p><a href="http://bit.ly" target="_blank">bit.ly</a>는 다른 OPEN API에 비해 API의 종류가 매우 간단합니다. 우선 API 리스트는 아래와 같습니다.</p>
<ol>
<li><strong>shorten</strong> : 우리가 제일 필요로 하는 API로 URL을 bit.ly의 짧은 URL로 바꾸어주는 API입니다.</li>
<li><strong>expand</strong> : bit.ly/xxxxx 형식으로 되어 있는 Short URL을 원래의 URL로 바꾸어주는 API입니다.</li>
<li><strong>info</strong> : bit.ly의 Short URL에 해당하는 정보를 보여주는 API입니다.</li>
<li><strong>stats</strong> : bit.ly Short URL의 트래픽 및 레퍼러 정보를 보여주는 API입니다.</li>
<li><strong>errors</strong> : bit.ly에서 사용되는 ERROR CODE를 보여주는 API입니다.</li>
</ol>
<p>P.S. bit.ly의 API 문서 페이지는 <a href="http://code.google.com/p/bitly-api/wiki/ApiDocumentation" target="_blank">http://code.google.com/p/bitly-api/wiki/ApiDocumentation</a> 입니다.</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5723626" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1976/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>jQuery 1.4 공식 릴리즈 소식</title>
		<link>http://www.blueiblog.com/ko/archives/1968</link>
		<comments>http://www.blueiblog.com/ko/archives/1968#comments</comments>
		<pubDate>Thu, 04 Feb 2010 05:52:11 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1968</guid>
		<description><![CDATA[jQuery 1.4가 공식 릴리즈 되었습니다. 2010년 1월 14일이니 좀 됐군요&#8230; 1.4버젼이 공식 릴리즈 되면서 jQuery API 페이지의 변화가 보이는군요&#8230;(jQuery 1.4가 릴리즈 되었는데 홈페이지의 변화 부터 봅니다 ㅡㅡ;) 그동안 좀 보기 어려웠다고 할만한 API페이지가 조금 더 보기 쉽게 변화 되었습니다. 워낙 다른 API에 비해 메뉴얼이 어려워서 진입장벽이 있다고 생각하는 jQuery이기때문에 API 페이지에 신경쓴건 좋았다고 평하고 싶습니다. [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery 1.4가 공식 릴리즈 되었습니다. 2010년 1월 14일이니 좀 됐군요&#8230;</p>
<p>1.4버젼이 공식 릴리즈 되면서 jQuery API 페이지의 변화가 보이는군요&#8230;(jQuery 1.4가 릴리즈 되었는데 홈페이지의 변화 부터 봅니다 ㅡㅡ;) 그동안 좀 보기 어려웠다고 할만한 API페이지가 조금 더 보기 쉽게 변화 되었습니다. 워낙 다른 API에 비해 메뉴얼이 어려워서 진입장벽이 있다고 생각하는 jQuery이기때문에 API 페이지에 신경쓴건 좋았다고 평하고 싶습니다.</p>
<h2>jQuery 1.4 Release Note</h2>
<p>우선 jQuery 1.4에서 변화된 내용을 살펴보면&#8230;</p>
<ol>
<li>좀 더 쉬운 setter 함수</li>
<li>.css()와 .attr()의 성능 향상</li>
<li>빠른 element 생성</li>
<li>기타 등등</li>
</ol>
<p>입니다&#8230; 뭐 워낙 많아서&#8230; 번역하기 힘듭니다 ^^ <a href="http://jquery14.com/day-01/jquery-14" target="_blank">http://jquery14.com/day-01/jquery-14</a> 에 접속하시면 직접 보실 수 있습니다. 게을러서 죄송합니다 ㅠ.ㅠ</p>
<p>뭐 <strong>전체적으로 성능이 무척 향상 되었고 괜찮은 기능좀 넣었다</strong> 라고 보시면 될거 같습니다.</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5708130" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1968/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>크롬 및 사파리에서 textarea 리사이징 막기</title>
		<link>http://www.blueiblog.com/ko/archives/1937</link>
		<comments>http://www.blueiblog.com/ko/archives/1937#comments</comments>
		<pubDate>Wed, 03 Feb 2010 02:18:52 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[TEXTAREA 리사이징]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1937</guid>
		<description><![CDATA[크롬 및 사파리에서 아래 그림과 같이 textarea를 사용자가 임의로 변경할수 있도록 되어 있습니다. 이를 막는 CSS는 다음과 같습니다. textarea &#123; resize: none; &#125; 위 CSS는 전체 textarea의 리사이징을 막는 CSS이며 foo라는 이름을 가진 TEXTAREA만 막기 위해선 아래와 같이 사용 하시면 됩니다. textarea&#91;name=foo&#93; &#123; resize: none; &#125; 크롬과 사파리에서의 문제점은 위와 같이 막을 수 있으나 CSS [...]]]></description>
			<content:encoded><![CDATA[<p>크롬 및 사파리에서 아래 그림과 같이 textarea를 사용자가 임의로 변경할수 있도록 되어 있습니다. </p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/webkit-textarea-resizable.png"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/webkit-textarea-resizable.png" alt="" title="webkit-textarea-resizable" width="369" height="81" class="aligncenter size-full wp-image-1939" /></a></p>
<p>이를 막는 CSS는 다음과 같습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">textarea <span style="color: #00AA00;">&#123;</span>
    resize<span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>위 CSS는 전체 textarea의 리사이징을 막는 CSS이며 foo라는 이름을 가진 TEXTAREA만 막기 위해선 아래와 같이 사용 하시면 됩니다.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">textarea<span style="color: #00AA00;">&#91;</span>name<span style="color: #00AA00;">=</span>foo<span style="color: #00AA00;">&#93;</span> <span style="color: #00AA00;">&#123;</span>
    resize<span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>크롬과 사파리에서의 문제점은 위와 같이 막을 수 있으나 <a href="http://jigsaw.w3.org/css-validator/" target="_blank">CSS 2 Validation을 체크</a>하게 되면 아래와 같은 에러가 발생 합니다.</p>
<p><strong>Property resize doesn&#8217;t exist in CSS level 2.1 but exists in [css3] : none</strong></p>
<p>즉 현재 많이 사용되고 있는 CSS 2에서는 지원되지 않는 프로퍼티이며 CSS 3부터는 지원한다는 이야기 입니다. 현재 위 프로퍼티는 Webkit 엔진을 가진 브라우저에서만 사용 가능 하나 Validation 체크 결과가 중요하지 않다면 위 예제처럼 사용하셔도 무방하겠군요.</p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5690095" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1937/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>블로그 포스트 트위터 출판 기능 추가~~</title>
		<link>http://www.blueiblog.com/ko/archives/1903</link>
		<comments>http://www.blueiblog.com/ko/archives/1903#comments</comments>
		<pubDate>Mon, 01 Feb 2010 06:07:16 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[개발 일지]]></category>
		<category><![CDATA[트위터]]></category>
		<category><![CDATA[포스팅]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1903</guid>
		<description><![CDATA[블로그 포스트를 트위터에 출판해주는 기능을 추가해보았습니다. 아래 그림처럼 블로그를 출판하면 자동적으로 트위터에 포스팅 되죠 ^^. 블로그 펌링크가 길기에.. bit.ly를 통해 숏링크를 받아서 처리합니다. 혹 숏링크에 오류가 생길경우는 그대로 블로그 펌 링크를 올리기도 합니다. 혹 워드프레스 쓰시는분중 필요한분은 말씀하세요 ^^ 이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^]]></description>
			<content:encoded><![CDATA[<p>블로그 포스트를 트위터에 출판해주는 기능을 추가해보았습니다.</p>
<p>아래 그림처럼 블로그를 출판하면 자동적으로 트위터에 포스팅 되죠 ^^. 블로그 펌링크가 길기에.. bit.ly를 통해 숏링크를 받아서 처리합니다. 혹 숏링크에 오류가 생길경우는 그대로 블로그 펌 링크를 올리기도 합니다.</p>
<p>혹 워드프레스 쓰시는분중 필요한분은 말씀하세요 ^^</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-01_150737.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/02/2010-02-01_150737.gif" alt="" title="2010-02-01_150737" width="537" height="121" class="aligncenter size-full wp-image-1905" /></a></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5664703" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1903/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>검색 부분 리뉴얼~~~</title>
		<link>http://www.blueiblog.com/ko/archives/1646</link>
		<comments>http://www.blueiblog.com/ko/archives/1646#comments</comments>
		<pubDate>Wed, 20 Jan 2010 07:53:41 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[개발 일지]]></category>
		<category><![CDATA[리뉴얼]]></category>
		<category><![CDATA[워드프레스]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1646</guid>
		<description><![CDATA[워드프레스 2.9로 업그레이드 하면서 검색부분이 이쁘지 않길래.. 리뉴얼을 강행 했습니다. 새로 만들어진 검색창&#8230;. 예쁜가요??? ^^ IE7에서만 조금 어긋나는 느낌이 있는데.. IE6, IE8, FF등의 브라우져에서는 깔끔하게 보이는군요. 이넘의 크로스 브라우징 정말 때려죽이고 싶습니다. :&#8217;( 아래는 인증 샷입니다. 이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^]]></description>
			<content:encoded><![CDATA[<p>워드프레스 2.9로 업그레이드 하면서 검색부분이 이쁘지 않길래.. 리뉴얼을 강행 했습니다.</p>
<p>새로 만들어진 검색창&#8230;. 예쁜가요??? ^^ IE7에서만 조금 어긋나는 느낌이 있는데.. IE6, IE8, FF등의 브라우져에서는 깔끔하게 보이는군요. 이넘의 크로스 브라우징 정말 때려죽이고 싶습니다. :&#8217;(</p>
<p>아래는 인증 샷입니다.</p>
<p><a href="http://www.blueiblog.com/ko/wp-content/uploads/2010/01/search_renewal.gif"><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/01/search_renewal.gif" alt="" title="search_renewal" width="713" height="504" class="aligncenter size-full wp-image-1648" /></a></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5535988" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1646/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>삼각함수(sin, cos, tan) 정리</title>
		<link>http://www.blueiblog.com/ko/archives/1622</link>
		<comments>http://www.blueiblog.com/ko/archives/1622#comments</comments>
		<pubDate>Tue, 19 Jan 2010 04:57:51 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[프로그래밍]]></category>
		<category><![CDATA[cos]]></category>
		<category><![CDATA[sin]]></category>
		<category><![CDATA[tan]]></category>
		<category><![CDATA[삼각함수]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1622</guid>
		<description><![CDATA[학교 다닐때에는 그렇게 공부하기 싫던 수학이 생활에 어떻게 쓰이는지 안다면 얼마나 재미 있고 쉽게 익힐수 있을까? 학교 졸업하자마자 머리에서 지워버렸던 삼각함수를 다시 공부해야 할 계기가 생겨서.. 찾아보습니다. 평소에 생활에 어떻게 써먹는지를 배웠더라면 아직도 기억하고 있었을텐데&#8230; 그렇지 않았기에 처음부터 새로 공부해야 하는 어려움. 삼각함수를 모두 다 알게 된건 아니지만 내가 필요로 하는 부분에 대해서 정리하고 코딩을 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>학교 다닐때에는 그렇게 공부하기 싫던 수학이 생활에 어떻게 쓰이는지 안다면 얼마나 재미 있고 쉽게 익힐수 있을까? </strong></p>
<p>학교 졸업하자마자 머리에서 지워버렸던 삼각함수를 다시 공부해야 할 계기가 생겨서.. 찾아보습니다. 평소에 생활에 어떻게 써먹는지를 배웠더라면 아직도 기억하고 있었을텐데&#8230; 그렇지 않았기에 처음부터 새로 공부해야 하는 어려움.</p>
<p>삼각함수를 모두 다 알게 된건 아니지만 내가 필요로 하는 부분에 대해서 정리하고 코딩을 완료 했습니다. 아래 노트는 인증샷 ^^<br />
이름하여 평소에 공부하자~~~</p>
<p><img src="http://www.blueiblog.com/ko/wp-content/uploads/2010/01/tan-cos-sin-720x1176.gif" alt="" title="tan-cos-sin" width="720" height="1176" class="aligncenter size-large wp-image-1625" /></p>
<div style="margin: 10px 0 10px 0; border: 3px solid #6FA7D1; display: inline-block; width: 720px;">
<p style="padding: 0 0 0 20px; margin: 0; line-height: 30px; border-bottom: 1px solid #6FA7D1; background: #CBDEED; font-weight: bold;">이 글이 도움이 않되셨더라도 왼쪽 아래에 있는 손 모양의 추천을 눌러주세요...^^</p>
<ul style="list-style-type: none; margin: 0;; padding: 0;">
<li style="width: 100px; float: left; padding-left: 30px; padding-top: 5px; margin: 5px 0;">
<embed src="http://api.v.daum.net/static/recombox3.swf?nid=5501856" quality="high" bgcolor="#ffffff" width="67" height="80" type="application/x-shockwave-flash"></embed>
</li><li style="height: 100px; overflow: hidden; padding: 20px 0 0 0; text-align: center; margin-bottom: -20px;">
<script type='text/javascript'><!--
google_ad_client = 'pub-1866412074966530';
/* 468x60, 작성됨 09. 10. 29 */
google_ad_slot = '9943142053';
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</li>
</ul></textarea>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1622/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>클립보드 복사 스크립트</title>
		<link>http://www.blueiblog.com/ko/archives/1493</link>
		<comments>http://www.blueiblog.com/ko/archives/1493#comments</comments>
		<pubDate>Thu, 19 Nov 2009 02:58:14 +0000</pubDate>
		<dc:creator>Blueⓘ</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[clipboard]]></category>
		<category><![CDATA[클립보드]]></category>

		<guid isPermaLink="false">http://www.blueiblog.com/ko/archives/1493</guid>
		<description><![CDATA[예전에 썼던 포스팅중 분실되었던 클립보드 복사 스립트의 내용을 다시 올려봅니다. 트랙백 클릭시 자동으로 클립보드 복사해주는 스크립트 만들려다가 보니 Firefox에서는 제대로 작동을 하지 않아 만들어 봤습니다. Flash의 Clipboard를 이용하여 클립보드에 저장하는 방법입니다. IE+Firefox둘다 잘 작동됩니다. 오페라에서는 작동 않되는거 같군요.. swf파일은 다음 링크에서 다운로드 받으시면 됩니다. http://www.jeffothy.com/weblog/uploads/clipboard.php [copy_clipboard.js] 1 2 3 4 5 6 7 8 9 [...]]]></description>
			<content:encoded><![CDATA[<p>예전에 썼던 포스팅중 분실되었던 클립보드 복사 스립트의 내용을 다시 올려봅니다.</p>
<hr style="border: 1px solid #CBDEED;">
<p>트랙백 클릭시 자동으로 클립보드 복사해주는 스크립트 만들려다가 보니 Firefox에서는 제대로 작동을 하지 않아 만들어 봤습니다.</p>
<p>Flash의 Clipboard를 이용하여 클립보드에 저장하는 방법입니다. IE+Firefox둘다 잘 작동됩니다. 오페라에서는 작동 않되는거 같군요..</p>
<p>swf파일은 다음 링크에서 다운로드 받으시면 됩니다.<br />
<a href="http://www.jeffothy.com/weblog/uploads/clipboard.php" target="_blank">http://www.jeffothy.com/weblog/uploads/clipboard.php</a></p>
<p>[copy_clipboard.js]</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> copyClipboard<span style="color: #009900;">&#40;</span>inElement<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>inElement.<span style="color: #660066;">createTextRange</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> range <span style="color: #339933;">=</span> inElement.<span style="color: #660066;">createTextRange</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>range <span style="color: #339933;">&amp;&amp;</span> BodyLoaded<span style="color: #339933;">==</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span>
            range.<span style="color: #660066;">execCommand</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Copy'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066; font-weight: bold;">else</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> flashcopier <span style="color: #339933;">=</span> <span style="color: #3366CC;">'flashcopier'</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>flashcopier<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> divholder <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            divholder.<span style="color: #660066;">id</span> <span style="color: #339933;">=</span> flashcopier<span style="color: #339933;">;</span>
            document.<span style="color: #660066;">body</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>divholder<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>                                                                                                                                   
        <span style="color: #009900;">&#125;</span>
        document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>flashcopier<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> divinfo <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;embed src=&quot;_clipboard.swf&quot; FlashVars=&quot;clipboard='</span><span style="color: #339933;">+</span>encodeURIComponent<span style="color: #009900;">&#40;</span>inElement.<span style="color: #660066;">innerHTML</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; width=&quot;0&quot; height=&quot;0&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;'</span><span style="color: #339933;">;</span>
        document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>flashcopier<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> divinfo<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'클립보드에 복사되었습니다.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>[example.html]</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Flash를 이용한 클립보드 복사 예제<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/javascript'</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'copy_clipboard.js'</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;myurl&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;copyClipboard(document.getElementById('myurl'));&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;cursor: pointer;&quot;</span>&gt;</span>http://www.blueiblog.com<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span> - URL을 클릭하시면 클립보드에 복사됩니다.
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.blueiblog.com/ko/archives/1493/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
