<?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>Who Cares! &#187; Web Note</title>
	<atom:link href="http://nonull.com/category/web-note/feed/" rel="self" type="application/rss+xml" />
	<link>http://nonull.com</link>
	<description>중얼중얼궁시렁</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:03:01 +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>이제야 편히~</title>
		<link>http://nonull.com/2008/03/18/163/</link>
		<comments>http://nonull.com/2008/03/18/163/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 17:34:17 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2008/03/18/163/</guid>
		<description><![CDATA[
어느 부분 해결이 안된 건 있지만 이젠 FTP와도 빠이빠이할 수 있겠다. 며칠간 위키를 만지다가 시간이 다 갔다. 내일부턴 일찍 잠들 수 있겠다. 컴퓨터는 너무 고단해.. 퓨퓨.. 생활 패턴이 기록될 위키 페이지를 만들었다. 구글 스프레드시트와 연동하여 유동적으로 아주 편리하게 관리할 수 있게 되었다. 혹시 몰라 플러그인 설명 페이지도 기록해뒀으니 PmWiki를 쓰는 분들은 참고 바람~.
]]></description>
			<content:encoded><![CDATA[<p>어느 부분 해결이 안된 건 있지만 이젠 FTP와도 빠이빠이할 수 있겠다. 며칠간 위키를 만지다가 시간이 다 갔다. 내일부턴 일찍 잠들 수 있겠다. 컴퓨터는 너무 고단해.. 퓨퓨.. </p>
<p><a href="http://wiki.nonull.com/LifeTable/LifeTable" title="http://wiki.nonull.com/LifeTable/LifeTable">생활 패턴이 기록될 위키 페이지</a>를 만들었다. 구글 스프레드시트와 연동하여 유동적으로 아주 편리하게 관리할 수 있게 되었다. 혹시 몰라 <a href="http://wiki.nonull.com/Plugin/GoogleSheetEmbed" title="http://wiki.nonull.com/Plugin/GoogleSheetEmbed">플러그인 설명 페이지</a>도 기록해뒀으니 PmWiki를 쓰는 분들은 참고 바람~.</p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2008/03/18/163/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>리뉴얼</title>
		<link>http://nonull.com/2008/03/01/154/</link>
		<comments>http://nonull.com/2008/03/01/154/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 08:47:36 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2008/03/01/154/</guid>
		<description><![CDATA[
2006년 8월부터 2008년 2월까지 햇수로 3년 쓴 테마를 오늘로 바이바이.. 하기는 아쉬워; 위키 테마로 그냥 남겨두고 이곳만 단장했다. 사실 틀은 변함없이 스타일시트만 바꾼 거라 위키도 덧씌우면 끝나는데...(리뉴얼이 아닌 리디자인으로 해야 옳지?!) 지난 테마가 너무도 애착이 가기에 기존대로 남겨뒀다. 또한 디자인 감각없는 나는 공개 테마를 수정해서 쓴다. 지난 Uncategorized라는 블로그 제목을 쓰기에는 테마 사이즈가 약간 트러져 [...]
]]></description>
			<content:encoded><![CDATA[<p>2006년 8월부터 2008년 2월까지 <a href="http://nonull.com/wp-content/uploads/skin/history/080301-thumb.png" rel="lightbox" title="썸네일 이미지">햇수로 3년 쓴 테마</a>를 오늘로 바이바이.. 하기는 아쉬워; <a href="/pmwiki/" title="나의 위키">위키</a> 테마로 그냥 남겨두고 이곳만 단장했다. 사실 틀은 변함없이 스타일시트만 바꾼 거라 위키도 덧씌우면 끝나는데...(리뉴얼이 아닌 리디자인으로 해야 옳지?!) 지난 테마가 너무도 애착이 가기에 기존대로 남겨뒀다. 또한 디자인 감각없는 나는 공개 테마를 수정해서 쓴다. 지난 <em>Uncategorized</em>라는 블로그 제목을 쓰기에는 테마 사이즈가 약간 트러져 '<strong>Who Cares!</strong>'로 고쳤다. </p>
<p>틀은 수정하지 않고 CSS파일만 수정한다면, 쓰임새에 따라 세분화된 css 파일들을 관리하기에 <a href="http://codex.wordpress.org/Function_Reference/get_theme_data" title="워드프레스 코덱 참조">Get theme data</a> 함수와 같이 사용하면 유용. 특히 위키와 같이 연동한다면 더더욱 유용.</p>
<p>css파일만 관리하는 상위 폴더를 따로 만든다.<br />
그 아래 테마이름별로 폴더를 만들어 필요한 스타일 파일들을 그 안에 저장한다.<br />
그리고 예제와 같이 응용한다.</p>
<pre><code>&lt;?php $theme_data = get_theme_data(TEMPLATEPATH . '/style.css');
	echo 'link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;' . trailingslashit(get_settings('siteurl')) . 'css/'.$theme_data['Title'].'/blog.css&quot;'; ?&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2008/03/01/154/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>메일 청소 기록</title>
		<link>http://nonull.com/2008/02/27/153/</link>
		<comments>http://nonull.com/2008/02/27/153/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 04:53:21 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2008/02/27/153/</guid>
		<description><![CDATA[
가입해 둔 사이트만큼 광고 메일이 쌓이고 정신이 없어 정리하면서 지메일을 찬찬히 살펴봤다. 어디서 보니까 지메일 보안상 문제를 발견했다고 하는데 그러나 저러나 지메일만큼 쓰기 편한 메일이 없군. 외부메일이나 필터로 걸러낸 특정 메일이 수신될 때 새 메일로 등록되지 않고 보관함으로 곧장 저장되도록 하는 기능이 예쁘다. 하루에도 몇 번씩 쓸데없는 메일왔다고 갱신되는 알리미를 보지 않아도 되겠다. 또 각각 [...]
]]></description>
			<content:encoded><![CDATA[<p>가입해 둔 사이트만큼 광고 메일이 쌓이고 정신이 없어 정리하면서 지메일을 찬찬히 살펴봤다. 어디서 보니까 지메일 보안상 문제를 발견했다고 하는데 그러나 저러나 지메일만큼 쓰기 편한 메일이 없군. 외부메일이나 필터로 걸러낸 특정 메일이 수신될 때 새 메일로 등록되지 않고 보관함으로 곧장 저장되도록 하는 기능이 예쁘다. 하루에도 몇 번씩 쓸데없는 메일왔다고 갱신되는 알리미를 보지 않아도 되겠다. 또 각각 다른 계정을 등록해서 지메일이 아닌 메일주소가 발신인이 되도록 하는 기능이 있더라고. 이게 꼭 필요했는데. 최고최고. 필터, 라벨 등 몇 가지 연동하니 이젠 4개 메일을 모두 지메일 안에서 관리할 수 있게 되었다. ^^</p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2008/02/27/153/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#039;나루&#039; 트랙백 이벤트 참여합니다. ;)</title>
		<link>http://nonull.com/2007/05/07/93/</link>
		<comments>http://nonull.com/2007/05/07/93/#comments</comments>
		<pubDate>Mon, 07 May 2007 03:28:21 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2007/05/07/93/</guid>
		<description><![CDATA[
케잌이 상품인 '나루' 오픈 기념 트랙백 이벤트네요. 몇 주동안 케잌에 버닝하다 질린 줄 알았는데, 며칠 전 파리 바게뜨 '레어 치즈 케잌'을 맛 보고서는 다시 케잌 심취 중입니다. 전에 언급한 적 있는 자존심 내세우던 홍대 근처 모 카페의 레어 치즈 케잌보다 훨 입에 붙더군요. 엊그제도 친구들 따라 스테이크 뜯으면서 '역시 도무지 맛을 모르겠다'만 되내이며 몇 점 [...]
]]></description>
			<content:encoded><![CDATA[<p>케잌이 상품인 <a href="http://blog.naaroo.com/36">'나루' 오픈 기념 트랙백 이벤트</a>네요. 몇 주동안 케잌에 버닝하다 질린 줄 알았는데, 며칠 전 파리 바게뜨 '레어 치즈 케잌'을 맛 보고서는 다시 케잌 심취 중입니다. <a href="http://nonull.com/2007/03/23/72/" title="2007.3.23 글루텐 중독증">전에 언급한 적 있는</a> 자존심 내세우던 홍대 근처 모 카페의 레어 치즈 케잌보다 훨 입에 붙더군요. 엊그제도 친구들 따라 스테이크 뜯으면서 '역시 도무지 맛을 모르겠다'만 되내이며 몇 점 먹지 않던 저인데 입은 확실히 '저급'일지도.;; </p>
<p>지금껏 블로그 운영하며 있는 듯 없는 듯 고요하게 지냈는데 <strong>케잌</strong>이라고 하여;; 일단 참여해 봅니다.  </p>
<blockquote>
<p>나루(naaroo)는...</p>
<p>하나, 2007년 5월 15일에 선보이는 나루는 RSS를 기반으로 하는 (블로그) 전문 검색 서비스입니다. </p>
<p>둘, 나루는 시시각각 변하는 사람들의 (관심도attention)를 검색 결과에 반영합니다. </p>
<p>셋, 나루는 블로그에 담긴 사람들의 다양한 생각과 의견을 찾아주고 이어주는 (생각) 검색 서비스입니다.</p>
</blockquote>
<p>요즘 검색할 때 hanrss 검색 자주 이용하는데 나루 검색도 꽤 쓸만 하겠어요..;)</p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2007/05/07/93/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>워드프레스 2.1로 업그레이드</title>
		<link>http://nonull.com/2007/01/24/58/</link>
		<comments>http://nonull.com/2007/01/24/58/#comments</comments>
		<pubDate>Wed, 24 Jan 2007 11:15:22 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2007/01/24/58/</guid>
		<description><![CDATA[
Loser님의 후기를 읽고 덜컥 겁냈으나, DB백업 시켜두고, 플러그인 비활성화 시켜두고 2.1 파일들 덮어씌우고 플러그인 활성화시키고, 퍼머링크 부분 다시 업데이트 시키고 했더니 플러그인 몇개 호환 안되는 거 빼고는 문제 없어요. 물론 호환 안되던 플러그인들은 2.1에 맞게 다 업데이트되어 있더군요. 더 빨라진 것 같기도 하고, 자동 저장 매끄럽게 되고 (티스토리는 아주 껄끄럽던데요. 사용할 때마다 버벅대는 것이 좀 [...]
]]></description>
			<content:encoded><![CDATA[<p><a href="http://loser.miniwini.com/wp/archives/1457" title="http://loser.miniwini.com/wp/archives/1457">Loser님의 후기</a>를 읽고 덜컥 겁냈으나, DB백업 시켜두고, 플러그인 비활성화 시켜두고 2.1 파일들 덮어씌우고 플러그인 활성화시키고, 퍼머링크 부분 다시 업데이트 시키고 했더니 플러그인 몇개 호환 안되는 거 빼고는 문제 없어요. 물론 호환 안되던 플러그인들은 2.1에 맞게 다 업데이트되어 있더군요. </p>
<p>더 빨라진 것 같기도 하고, 자동 저장 매끄럽게 되고 (티스토리는 아주 껄끄럽던데요. 사용할 때마다 버벅대는 것이 좀 그랬어요.), 뭣보다 플러그인 사용 없이 import, export 둘 다 되는 것이 제일 만족스러워요. 참고로 2.0.4에서 계속 업그레이드 안 했다가 2.1로 바로 업그레이드 시킨 거에요. </p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2007/01/24/58/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP 토글...</title>
		<link>http://nonull.com/2006/09/07/23/</link>
		<comments>http://nonull.com/2006/09/07/23/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 07:02:53 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>
		<category><![CDATA[위키 자료]]></category>

		<guid isPermaLink="false">http://nonull.com/2006/09/07/23/</guid>
		<description><![CDATA[
아무도 이런 플러그인 만들지 않지만 저는 내내 바라던 것이라 그냥 스스로 만들었습니다. (낑낑대면서) 자바스크립트를 이용한 토글을 예전엔 신기해서 좋아했는데 '자바스크립트'를 사용한다는 점에서 좀 그렇기도 하고, 눈에는 보이지 않더라도 이미 웹사이트 안에는 내용물들이 이미 로딩되므로 그런 것도 그렇고..... 한 번 문서 불러올 때 다 불러온 후 스타일 시트로 숨기고 자바스크립트로 불러오는 것이 나을까, 아니면 첫 페이지에는 [...]
]]></description>
			<content:encoded><![CDATA[<p>아무도 이런 플러그인 만들지 않지만 저는 내내 바라던 것이라 그냥 스스로 만들었습니다. (낑낑대면서) </p>
<p>자바스크립트를 이용한 토글을 예전엔 신기해서 좋아했는데 '자바스크립트'를 사용한다는 점에서 좀 그렇기도 하고, 눈에는 보이지 않더라도 이미 웹사이트 안에는 내용물들이 이미 로딩되므로 그런 것도 그렇고..... 한 번 문서 불러올 때 다 불러온 후 스타일 시트로 숨기고 자바스크립트로 불러오는 것이 나을까, 아니면 첫 페이지에는 숨길 내용은 숨기고, 링크를 추가해서 안 가져온 내용물을 다시 불러들이는 것이 나을까. 나는 모르겠습니다. 아무튼 내가 사용하려고 만들었는데 혹시나 사용할 분은 쓰시어요. 좀 더 좋은 구현 방법이 있다면 알려주시길 바랍니다. </p>
<p><strong>덧1.</strong> 코드 수정했습니다. 아마도 이게 더 결과를 적용하는데 부하가 적을 것입니다. 다운받으신 분은 교체해주시길 바랍니다.</p>
<p><strong>덧2.</strong> Ajax 효과 추가했습니다. 이거 하나 하는 거 너무 힘들군요. ㅜ_ㅜ; 그래도 코드가 좀 괜찮은 건지는 알 수 없습니다.; 자바스크립트 기능을 꺼도 기능할 수 있도록 접근성에 신경썼습니다.  </p>
<p><span id="more-23"></span></p>
<h3 id='toc1-23'>1.  다운로드</h3>
<ol>
<li><del>본인 완전 초짜로, 코드가 조악합니다. -_-; 개선 방법을 공부하는 중입니다.</del> 개선했습니다. ;)
<ul>
<li>블로그의 문법 적용마다 결과가 다를 수 있습니다. (Markdown, wiki, textile, bbcode, 등등등)</li>
<li>Ajax 효과를 준 플러그인을 사용할 때는 <a title='' class='urllink' href='http://nonull.com/wp-content/plugins/u.php?14' rel='nofollow'>Show and Hide Ajax 효과 플러그인 최근 것</a> 을 다운받고, 압축을 풀면 나오는 <strong>showhide</strong> 폴더 자체를 플러그인 폴더에 업로드하여 <strong>wp-content/plugins/showhide/파일들</strong> 이런 상태가 되도록 합니다. 그리고 플러그인을 활성화 시키면 됩니다.</li>
</ul>
</li>
<li><a title='' class='urllink' href='http://nonull.com/wp-content/plugins/u.php?14' rel='nofollow'>Show and Hide Ajax 효과 플러그인 0.2.1</a>
<ul>
<li><strong>Updated</strong> Sunday, September 10, 2006 22:40 -- 4.61 KB </li>
</ul>
</li>
<li><a title='' class='urllink' href='http://nonull.com/wp-content/plugins/u.php?15' rel='nofollow'>Show and Hide 플러그인 0.2</a>
<ul>
<li><a title='' class='urllink' href='http://nonull.com/source.php?file=nonull_showhide02.php&amp;ln' rel='nofollow'>Show and Hide 플러그인 0.2 소스</a></li>
<li><strong>Updated</strong> Sunday, September 10, 2006 10:28 -- 1.44 KB </li>
</ul>
</li>
</ol>
<h3 id='toc2-23'>2.  사용법 </h3>
<ul>
<li>기본 <br /><strong> ==== Showlinktext | Hidelinktext | Text ====  </strong> </li>
<li>귀찮으면 <br /><strong> ==== Showlinktext || Text ====  </strong>  <br /><strong> ====| Hidelinktext | Text ====  </strong> </li>
<li>너무 귀찮으면 <br /><strong> ====|| Text ====  </strong> </li>
</ul>
<h4 id='toc3-23'>2.1  기본 링크 문구</h4>
<ul>
<li>Show linktext : More #id</li>
<li>Hide linktext : Close #id
<ul>
<li>Show linktext 문구가 있을 경우에는 <strong>Close : Showlinktext #id</strong></li>
</ul>
</li>
</ul>
<h3 id='toc4-23'>3.  예제 </h3>
<ul>
<li><a title='' class='urllink' href='http://nonull.com/text-board/' rel='nofollow'>토글 예제 페이지</a></li>
<li>적용 안되는 블로그도 있을 수 있음. -- 내가 사용하려고 만들었기에 별로 고민하지 않았음</li>
</ul>
<h4 id='toc5-23'>3.1  CSS 예제</h4>
<div class='sourceblock'>
<div class='sourceblocklink'>[<a href='http://wiki.nonull.com/Plugin/ShowAndHide?action=sourceblock&amp;ref=1' type='text/plain' title='Source View'>Get Code #1</a>]</div>
<div class='sourceblocktext'>
<div class="css" style="font-family: monospace;">div<span class="re1">.show</span> <span class="br0">&#123;</span> <br />&nbsp;<span class="coMULTI">/* 숨겨진 텍스트 박스 */</span><br /><span class="br0">&#125;</span><br />a<span class="re1">.show</span> <span class="br0">&#123;</span><br />&nbsp;<span class="coMULTI">/* 보이게 하는 링크 텍스트 문구 */</span><br /><span class="br0">&#125;</span><br />a<span class="re1">.hide</span> <span class="br0">&#123;</span><br />&nbsp;<span class="coMULTI">/* 숨기게 하는 링크 텍스트 문구 */</span> <br /><span class="br0">&#125;</span><br />a<span class="re1">.allshow</span> <span class="br0">&#123;</span><br />&nbsp;<span class="coMULTI">/* 모두 보이게 하는 링크 텍스트 문구 */</span> <br /><span class="br0">&#125;</span><br />a<span class="re1">.allhide</span> <span class="br0">&#123;</span><br />&nbsp;<span class="coMULTI">/* 모두 숨기게 하는 링크 텍스트 문구 */</span> <br /><span class="br0">&#125;</span><br />a<span class="re1">.show</span> span, a<span class="re1">.hide</span> span, a<span class="re1">.allshow</span> span, a<span class="re1">.allhide</span> span <span class="br0">&#123;</span><br />&nbsp;<span class="coMULTI">/* 링크를 구별하는 ID 번호 문구 */</span><br />display<span class="re2">:none</span>; <span class="coMULTI">/* 보이지 않게 */</span><br /><span class="br0">&#125;</span><br /><span class="coMULTI">/* 예외 */</span><br />a<span class="re1">.show</span> em, a<span class="re1">.hide</span> em, a<span class="re1">.allshow</span> em, a<span class="re1">.allhide</span> em <span class="br0">&#123;</span><br />&nbsp;<span class="coMULTI">/* Ajax 효과를 준 플러그인 사용할 때<br />링크를 구별하는 ID 번호 문구 */</span><br />display<span class="re2">:none</span>; <span class="coMULTI">/* 보이지 않게 */</span><br /><span class="br0">&#125;</span></div>
</div>
</div>
<h3 id='toc6-23'>4.  설명</h3>
<ol>
<li>피드에는 showlinktext 문구와 함께 전문이 모두 보여진다.</li>
<li>숨겨진 텍스트가 3곳 이상 존재할 때는 모두 보여주기 링크가 보이도록 해놓았다.</li>
<li>자바스크립트를 쓰지 않고, 페이지를 로드해야 한다. (ajax 구현은 예외)
<ol>
<li>그래서 첫 페이지에는 간단하게 보여질 내용만 로드된다.</li>
<li>만든 이가 (단지) 자바스크립트를 이용한 토글을 별로 좋아하지 않는다&hellip;^^;</li>
</ol>
</li>
</ol>
<h3 id='toc7-23'>5.  업데이트 로그</h3>
<ul>
<li>자바스크립트 파일 하나 줄임.</li>
<li>주석 정리 못 함.. -- 어떻게 코딩한 건가 헷갈리네;</li>
<li>Ajax 효과 구현</li>
<li>링크 글씨에 블록 태그 올 수 없도록 str_replace(&quot;\r\n&quot;,&quot;,$hidelink) 처리함.</li>
</ul>
<h3 id='toc8-23'>6.  잡담</h3>
<ul>
<li><del>preg_replace_callback 으로 구현하고 싶었지만, 도저히 <strong>$i</strong>에서 막혀서 태터툴즈 방법으로 함.</del> 구현함~!</li>
<li>자바스크립트를 쓰고 싶지 않았음</li>
<li><del> 뭐 Ajax를 이용하면 괜찮을 것 같지만 문제는 나는 Ajax를 아예 모름. </del> 결국 함.</li>
<li>리퍼러와 현재 주소 정보를 이용&hellip; -- 엉성하다.</li>
</ul>
<div class="categories">
<p><strong title="wiki categories">Categories</strong> : <a title='Category.WordPress' class='wikilink' href='http://wiki.nonull.com/Category/WordPress'>WordPress</a></p>
</div>
<p class="gfdl">&copy; GET PMWIKI Plug-in made by <a href="http://kebie.linuxstudy.pe.kr/blog.html" title="http://kebie.linuxstudy.pe.kr/blog.html">kebie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2006/09/07/23/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>88 에서 19</title>
		<link>http://nonull.com/2006/09/04/20/</link>
		<comments>http://nonull.com/2006/09/04/20/#comments</comments>
		<pubDate>Mon, 04 Sep 2006 11:32:42 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2006/09/04/20/</guid>
		<description><![CDATA[
도무지 이해할 수 없는 인덱스에서 40쿼리, 코멘트가 10개 넘으면 90에 가까운 쿼리.... 혹시 스킨 문제일까 싶어서 다른 스킨으로 테스트해도 똑같은 쿼리. 그러면 스킨 문제가 아니라 플러그인 문제일텐데. 도대체 뭐가 그렇게 잡아 먹는 것일까. 문제는 mediawiki 문법 플러그인과 whisper 플러그인. DB 엄청나게 잡아먹는다. whisper는 아직 기능이 제대로 되지 않아서 사용하다 말았지만, mediawiki는 버리고 싶지 않아! 그러나 [...]
]]></description>
			<content:encoded><![CDATA[<p>도무지 이해할 수 없는 인덱스에서 40쿼리, 코멘트가 10개 넘으면 90에 가까운 쿼리.... 혹시 스킨 문제일까 싶어서 다른 스킨으로 테스트해도 똑같은 쿼리. 그러면 스킨 문제가 아니라 플러그인 문제일텐데. 도대체 뭐가 그렇게 잡아 먹는 것일까. 문제는 <a href="http://zechs.dyndns.org/wordpress/?page_id=126" title="http://zechs.dyndns.org/wordpress/?page_id=126">mediawiki 문법 플러그인</a>과 whisper 플러그인. DB 엄청나게 잡아먹는다. whisper는 아직 기능이 제대로 되지 않아서 사용하다 말았지만, mediawiki는 버리고 싶지 않아! 그러나 문제는 의외로 간단하게 해결함. DB 건드리는 부분을 <code>/* 주석 */</code> 처리(혹은 삭제)하면 오케이. 왜 DB를 건드리도록 했는지 모르겠지만 이렇게 기능하지 않도록 해두면 DB 절대 안 잡아 먹는다. 대신, 간단한 <a href="http://nonull.com/source.php?file=example.php" title="http://nonull.com/source.php?file=example.php">핵</a>으로 플러그인을 수정해야 함. (핵에 있는 함수는 기존 함수이므로 찾아서 고친다.)</p>
<p><span id="more-20"></span></p>
<pre><code>function wpwiki($content) {
/*  
  global $wpdb;
  
  $hash_str = &quot;&quot;;
  $res = $wpdb-&gt;get_row(&quot;SELECT ID, post_title FROM $wpdb-&gt;posts WHERE post_content = '&quot;.addslashes($content).&quot;'&quot;);
  if ($res) { // a post
    $hash_str = &quot;_&quot;.$res-&gt;ID.&quot;_&quot;.$res-&gt;post_title;
  }
  else { // a comment
    $comment_id = $wpdb-&gt;get_var(&quot;SELECT comment_ID FROM $wpdb-&gt;comments WHERE comment_content = '&quot;.addslashes($content).&quot;'&quot;);
    $hash_str = &quot;_&quot;.$comment_ID.&quot;_&quot;.$content;
  }
  $id_prefix = '_'.md5($hash_str).'_';
*/
  //$wpwiki = new WikiText($id_prefix); 
  $wpwiki = new WikiText();
  $ret = $wpwiki-&gt;transform(&quot;n&quot;.$content.&quot;n&quot;);

  return $ret;
}</code></pre>
<p>혹시라도 활성화시킨 플러그인의 코드를 테마에 삽입할 때에 <code>&lt;?php 함수A(); ?&gt;</code>라고 쓴다. 그런데  </p>
<pre><code>&lt;?php if (function_exists('함수A')) { 
	함수A(); 
} ?&gt; </code></pre>
<p>라고 해주면 나중에 혹시라도 생길 수 있는 에러에 대비할 수 있다. 물론 <strong>함수A</strong> 가 있으면 <strong>함수A</strong> 를 실행하라는 뜻이다. 예를 들어, 코멘트를 수정할 수 있게 해주는 <a href="http://code.jalenack.com/archives/edit-comments/" title="http://code.jalenack.com/archives/edit-comments/">Edit comment 플러그인</a>를 쓰면서 코멘트 루프 안에 코멘트 Edit 링크를 삽입하면 기존에 쓰고 있던 관리자용 Edit 링크를 쓰지 않아도 된다. 그럼 플러그인과 함께 사용하는 Edit 링크 표시는 <code>&lt;?php jal_edit_comment_link('Edit',' | ','',' | Editing now');  ?&gt;</code> 이런 식이다. 이걸 다음처럼 바꿔주면, 플러그인을 사용할 때와 하지 않을 때 호환이 되겠다.</p>
<pre><code>&lt;?php if (function_exists('jal_edit_comment_link')) {
	jal_edit_comment_link('Edit',' | ','',' | Editing now'); 
} else { // 플러그인을 사용하지 않을 때는 기존의 링크 함수 사용
	edit_comment_link('(Edit)', ' | ', ''); 
} ?&gt;</code></pre>
<p>이걸 왜 말하고 있느냐면, 플러그인 다 닫고 뭐가 디비를 90번이나 건드리는지 검사해볼 때 이렇게 하니까 좋더라고. (물론 개발자님들은 상식이겠지만.)</p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2006/09/04/20/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Jump To 플러그인</title>
		<link>http://nonull.com/2006/09/02/3/</link>
		<comments>http://nonull.com/2006/09/02/3/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 11:12:14 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>
		<category><![CDATA[위키 자료]]></category>

		<guid isPermaLink="false">http://nonull.com/2006/09/02/3/</guid>
		<description><![CDATA[
Page Jump Jump-To 플러그인 설명 (now reading) 인용문구들 아무거나 ! - 별 내용 없음 Page Jump 플러그인 수정하여 배포합니다. 뭐 내용은 보시는대로.. ^^; 혹시 있을 질문은 이곳 코멘트로 받습니다. 어려운 PHP 코드 수정에 대한 요청은 받기 힘듭니다. 제가 전문 코더가 아니라서. 흑; 원본 (John Godley)이 작동하지 않아서 수정하고, 코드도 좀 새롭게 하고, 이 기능 저 [...]
]]></description>
			<content:encoded><![CDATA[
	<fieldset class="pagelink">
		<legend>Page Jump</legend>
		<ol>
			<li><a href="http://nonull.com/2006/09/02/3/1" title="page 1">Jump-To 플러그인 설명 </a> <span>(now reading)</span></li>
			<li><a href="http://nonull.com/2006/09/02/3/2" title="page 2">인용문구들</a></li>
			<li><a href="http://nonull.com/2006/09/02/3/3" title="page 3">아무거나 ! - 별 내용 없음</a></li>
		</ol>
	</fieldset><ul>
<li>Page Jump 플러그인 수정하여 배포합니다. 뭐 내용은 보시는대로.. ^^;</li>
<li>혹시 있을 질문은 이곳 코멘트로 받습니다.</li>
<li>어려운 PHP 코드 수정에 대한 요청은 받기 힘듭니다. 제가 전문 코더가 아니라서. 흑;</li>
<li><a href="http://www.urbangiraffe.com/plugins/jumpto" title="http://www.urbangiraffe.com/plugins/jumpto">원본 (John Godley)</a>이 작동하지 않아서 수정하고, 코드도 좀 새롭게 하고, 이 기능 저 기능 집어 넣었습니다. --  리스트 형태, 셀렉트 박스 형태 등등 / 피드에서는 리스트 형태로 보임</li>
</ul>
<p><span id="more-3"></span></p>
<p><strong>Language</strong> : <span class='Korean'>[ <a title='Korean' class='wikilink' href='http://wiki.nonull.com/Plugin/JumpTo?userlang=Korean'>Korean</a> ]</span> <span class='English'>[ <a title='English' class='wikilink' href='http://wiki.nonull.com/Plugin/JumpTo?userlang=English'>English</a> ]</span> </p>
<h3 id='toc1-3'>1.  다운로드</h3>
<ol>
<li><a title='' class='urllink' href='http://nonull.com/wp-content/plugins/u.php?12' rel='nofollow'>JumpTo 플러그인 0.2</a>
<ul>
<li><a title='' class='urllink' href='http://nonull.com/source.php?file=jumpto0.2.php&amp;ln' rel='nofollow'>JumpTo 플러그인 0.2 소스</a></li>
<li><strong>Updated</strong> Tuesday, September 5, 2006 0:02 -- 3.89 KB </li>
</ul>
</li>
</ol>
<h3 id='toc2-3'>2.  질문 (Help)</h3>
<ul>
<li><a title='' class='urllink' href='http://nonull.com/contact/' rel='nofollow'>이메일 보내는 페이지</a></li>
</ul>
<h3 id='toc3-3'>3.  설명</h3>
<ul>
<li>워드프레스에서 글을 쓸 때, <code>&lt;!--nextpage--&gt;</code> 라고 쓰면 페이지가 나뉜다. 그리고 페이지 링크가 생긴다. ( 참고: <a title='http://codex.wordpress.org/Template_Tags/link_pages' class='urllink' href='http://codex.wordpress.org/Template_Tags/link_pages' rel='nofollow'>Link Pages</a> )
<ul>
<li>만약 리치 에디터가 아니라, 플레인 에디터로 쓰고 있는데  <code>page</code> 버튼이 없다면, <strong>wp-includes/js/quicktags.js</strong> 에서  다음을 찾아 주석을 벗겨주면 된다.
<div class='codeblock'>
<p class='noncode'><em>코드가 생략되었습니다.</em> [<a href='http://wiki.nonull.com/Plugin/JumpTo?action=sourceblock&amp;ref=1' type='text/plain' title='Source View'>Get Code #1<span>-3</span></a>], [<a href='http://wiki.nonull.com/Plugin/JumpTo' title='원본글 - (Plugin/JumpTo)'>원본글<span> - Plugin/JumpTo</span></a>]</p>
</div>
</li>
</ul>
</li>
<li>그런데 페이지 링크에 제목을 붙여서 셀렉트 박스(혹은 링크 리스트)로 나타나게 할 수 있다. 커스텀 필드를 이용해서&hellip;!</li>
</ul>
<h3 id='toc4-3'>4.  사용 방법</h3>
<ol>
<li><a title='' class='urllink' href='http://nonull.com/wp-content/plugins/u.php?12' rel='nofollow'>JumpTo 플러그인</a> 을 다운받아서 활성화 시킨다. (원본 -- <a title='http://www.urbangiraffe.com/plugins/jumpto' class='urllink' href='http://www.urbangiraffe.com/plugins/jumpto' rel='nofollow'>John Godley</a> 하지만 실행이 되지 않아서 고쳤다.)</li>
<li>글을 쓸 때 Custom Fields 부분에서 <strong>Key</strong>란에는 <strong>jumpto</strong> 라고 쓰고, <strong>Value</strong>란에는 페이지 제목을 적는다. 1줄이 1페이지의 주소. ( <a title='커스텀 필드란을 적는 방법' class='urllink' href='http://img291.imageshack.us/img291/9619/jumptojj6.png' rel='nofollow'>예제 이미지</a> : add a neww custom field 밑의 란에 새로 작성하면 위에 저장된 값들이 나타난다.</li>
</ol>
<h3 id='toc5-3'>5.  파라미터 </h3>
<ul>
<li> 모두 옵션 페이지에서 처리할 수 있도록 수정하였습니다.</li>
</ul>
<div class='tags'>
<p><strong title='wiki tags'>Tags</strong> : <a href="/Tags/Customize" title="wiki tag : Customize"><span>[</span>Customize<span>]</span></a>, <a href="/Tags/Form" title="wiki tag : Form"><span>[</span>Form<span>]</span></a></p>
</div>
<div class="categories">
<p><strong title="wiki categories">Categories</strong> : <a title='Category.WordPress' class='wikilink' href='http://wiki.nonull.com/Category/WordPress'>WordPress</a></p>
</div>
<p class="gfdl">&copy; GET PMWIKI Plug-in made by <a href="http://kebie.linuxstudy.pe.kr/blog.html" title="http://kebie.linuxstudy.pe.kr/blog.html">kebie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2006/09/02/3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>피드 관리</title>
		<link>http://nonull.com/2006/08/26/17/</link>
		<comments>http://nonull.com/2006/08/26/17/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 07:53:55 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>

		<guid isPermaLink="false">http://nonull.com/2006/08/26/17/</guid>
		<description><![CDATA[
피드 주소를 피드 버너를 이용한 주소로 리다이렉트 시킨다. -- 본래의 피드 주소가 바뀌었을 때 일일이 홍보하지 않아도 되고 트래픽 쪽에도 부담이 덜되고.... enclosure link를 보여주는 피드 리더를 사용한다. (보통 리더기 내에서 enclosure또는 첨부 파일로 표기된다.) 워드프레스의 경우 글쓰는 화면에 커스텀 필드를 추가하는 부분이 있어서 거기서 key란에는 enclosure라고 쓰고, value란에는 첨부할 파일 주소를 입력한다. 혹은 파일의 [...]
]]></description>
			<content:encoded><![CDATA[<ol>
<li>피드 주소를 피드 버너를 이용한 주소로 리다이렉트 시킨다. -- 본래의 피드 주소가 바뀌었을 때 일일이 홍보하지 않아도 되고 트래픽 쪽에도 부담이 덜되고....</li>
<li><a href="http://img182.imageshack.us/img182/3120/mediafeedmanagelg6.png" title="enclosure link 적용된 hanrss의 예제 이미지">enclosure link를 보여주는 피드 리더</a>를 사용한다. (보통 리더기 내에서 <strong>enclosure</strong>또는 <strong>첨부 파일</strong>로 표기된다.)</li>
<li>워드프레스의 경우 글쓰는 화면에 커스텀 필드를 추가하는 부분이 있어서 거기서 <strong>key</strong>란에는 <strong>enclosure</strong>라고 쓰고, <strong>value</strong>란에는 <strong>첨부할 파일 주소</strong>를 입력한다. 혹은 파일의 주소를 enclosure로 저절로 연결해주면서 미디어를 삽입해주는 플러그인을 쓰면 일일이 커스텀 필드를 작성할 필요가 없다. (예제 플러그 인 : <a href="http://www.mightyseek.com/podpress/" title="http://www.mightyseek.com/podpress/">PodPress</a>, <a href="http://www.15framespersecond.com/enclosureflex/" title="http://www.15framespersecond.com/enclosureflex/">Enclosure Flex</a>, 혹은 피드 버너의 SmartCast 설정)</li>
<li>피드를 내보낼 때는 리더기로 읽어들일 수 없는 자바스크립트나 용량이 많이 나가는 미디어 파일이 직접 임베드되지 않도록 <a href="http://wiki.nonull.com/Plugin/FeedFilter" title="http://wiki.nonull.com/Plugin/FeedFilter">필터처리</a>한다. 대신 enclosure에 해당 링크를 입력한다. 그렇게 함으로써 피드를 읽는 독자로서는 자신이 원하면 링크를 클릭해서 파일을 읽어들일 수 있다. 독자가 원하든, 원하지 않든 무거운 파일이 로딩되는 것은 트래픽 낭비에 독자로서도 거부감이 들 수 있다. 내가 구독하는 어떤 그림 블로그는 물론 그림 블로그라고 해도 한 번 글을 쓸 때마다 그림을 10장도 넘게 삽입한다. 썸네일 절대 없고...;; 리더로 읽는 것도, 블로그에 방문하는 것도 조금 많이 괴롭다. -_-;;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2006/08/26/17/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>새 창, 혹은 새 탭에서 사이트를 보고 싶다.</title>
		<link>http://nonull.com/2006/08/24/16/</link>
		<comments>http://nonull.com/2006/08/24/16/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 19:44:34 +0000</pubDate>
		<dc:creator>she</dc:creator>
				<category><![CDATA[Web Note]]></category>
		<category><![CDATA[위키 자료]]></category>
		<category><![CDATA[현기증]]></category>

		<guid isPermaLink="false">http://nonull.com/2006/08/24/16/</guid>
		<description><![CDATA[
익스플로러에서 새 창으로 사이트를 열 때는 마우스 우측 버튼을 눌러서 새 창에서 열기로 사이트를 열어본다. 같은 사이트 내에서라도 어느 특정 페이지는 남겨두고 다른 페이지들을 보고 싶을 때가 많아 자주 그렇게 한다. 그러나 이런 기본적인 웹서핑 방식이 통할 때가 그렇게 많은 것이 아니다. 극히 소수라고 하겠다. 사이트가 마우스 오른쪽 클릭을 막아놓은 것이 방해 요소인가? 그런 것도 [...]
]]></description>
			<content:encoded><![CDATA[<p>익스플로러에서 새 창으로 사이트를 열 때는 마우스 우측 버튼을 눌러서 새 창에서 열기로 사이트를 열어본다. 같은 사이트 내에서라도 어느 특정 페이지는 남겨두고 다른 페이지들을 보고 싶을 때가 많아 자주 그렇게 한다. 그러나 이런 기본적인 웹서핑 방식이 통할 때가 그렇게 많은 것이 아니다. 극히 소수라고 하겠다.</p>
<p>사이트가 마우스 오른쪽 클릭을 막아놓은 것이 방해 요소인가? 그런 것도 있지만 절대 다수는 자바스크립트로 링크를 걸어놓았을 때다. 다음처럼 </p>
<ul>
<li><code>onclick="window.location.href='링크 주소'" </code> </li>
<li><code>a href="javascript:함수();"</code></li>
</ul>
<p>이는 파이어폭스등의 브라우저로 웹서핑을 할 때도 문제가 된다. 특정 링크는 새 탭으로 보고 싶은데 볼 수 없다. 이런 경우 링크된 페이지의 주소도 알 수 없다. 물론 일부러 소스를 열어본다면 알 수 있겠지만 그런 수고를 할 바에야 안 가고 만다. </p>
<p>프로그래머든 디자이너든 왜 그렇게 자바스크립트를 좋아하는지 모르겠다. 여기저기 어느 사이트나 그렇다. 일부 준수한 소수의 블로그를 빼면&hellip;.</p>
<p>나는 새 창, 혹은 새 탭에서 사이트를 보고 싶다. 이것이 특이한가?</p>
<p class="gfdl">&copy; GET PMWIKI Plug-in made by <a href="http://kebie.linuxstudy.pe.kr/blog.html" title="http://kebie.linuxstudy.pe.kr/blog.html">kebie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nonull.com/2006/08/24/16/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
