zingle.net
Candle

Recent Posts

Recent Comments

Tags:

Categories:

Archives:

Links

Meta:

Google

나도 이제 tag cloud

February 19th, 2007 by zingle

나도 유행에 맞춰서 이제 Tag Cloud를 써야겠다고 생각한지 어연 몇개월…

귀찮아서 그냥 내버려두다가 카테고리만으로는 먼가 부족함을 느껴서 한번 달아봤다. 일단 기존의 글들에는 카테고리가 달려 있는 관계로 그다지 표는 안나지만…

사용한 플러그인은 category tagging plugin이다. 다른 Ultimate Tag Warrior도 상당히 좋아보였지만, category tagging plugin은 기존의 카테고리를 그대로 사용할 수 있다는 장점이 어필했다.

WP를 아직 2.0.x대를 쓰는 관계로 플러그인의 1.3 버전을 사용했으며, 아래와 같은 코드를 sidebar에 추가했다.

<h2><span class=”news_title”><?php _e(’Tags:’); ?></span></h2>

<?php
                      if (function_exists (’cattag_tagcloud’) ) {
                  echo ‘<ul class=”tagcloud”>’ . cattag_tagcloud(9, 17, 1, ‘NAME_ASC’, ‘9′, ‘<a rel=”tag” href=”%link%” title=”%description%” style=”font-size:%size%pt”>%title%</a>’) . ‘</ul>’;
                      }
                ?>

* parameter 중 exclude는 tag의 string 이름이 아닌 id 번호를 적어줘야 한다. id 번호는 WP의 admin 화면에서 manage->category를 선택해서 찾아 보면 된다.

Posted in Blog | Tagged as , , | 3 Comments »

Wordpress cache issue

March 30th, 2006 by zingle

When I’m posting an article, I usually have trouble to finish it at the first trial.
So I edit something, and always finds that I made another mistake or I have to edit one thing more.

Whenever I tried to edit for the second time,
on my edit screen, I always had the old article, not the one that I just edited.
(say, I added a certain sentence at the first edit, but the edit screen doesn’t show that sentence.)

I had the same problem this morning and tried to fix it.

First, I had to delete cached pages at the cache folder, and
found that I can turn off this cache thing by adding
define('DISABLE_CACHE', true);
to wp-config.php

and it works. (I just checked. :-) )

Posted in Blog | Tagged as | 3 Comments »

트랙백 인코딩 문제 해결!!

February 7th, 2006 by zingle

바람남의 글을 참고하여 트랙백 인코딩 문제를 해결하였다!!

관련 포스팅

일단, cafe24 호스팅에서는 모든 서버에서 iconv가 지원되지 않는다.

바람님의 글에서 언급하신 test.php 파일을 이용해서 간단하게

자신의 서버가 iconv나 mbstring을 지원하는지를 우선 확인하는 것이 바람직하다.

(cafe24에서 호스팅 받지 않더라도, 호스팅 회사에서 iconv나 mbstring을 지원하는 지는 반드시! 확인할 것을 권한다.

한참 해 놓고… 호스팅 회사에서 위 두 함수를 지원하지 않는 다는 사실을 발견하면… 건강에 해롭다.)

나같은 경우는, 그 당시 서버에서 해당 함수들을 지원하지 않아서

iconv를 지원하는 서버로 이전을 요청하였다.

바람님의 글을 따라서 착착 진행한다.

이때는 telnet으로 작업해야 하는데, (아니면 업로드 하신 파일을 다운 받아서 덮어 씌우던가)

그냥 copy & paste하면 작은 따옴표가 정상적으로 들어가지 않는다.

vi 에디터 등에 익숙하지 않으면 나중에 수정하는 것 자체가 고역일 수도 있으니까

그냥 왠만하면 공부하는 셈 치고 그냥 타이핑해 넣는게 속편하다. (본인은 그냥 붙여 넣었다가, 다시 수정하고, 되는 줄 알았는데, 안되어서 다시 수정하고…암튼 고달펐다.)

naver 블로그랑 egloos 블로그를 상대로 모두 테스트한 결과 트랙백 보내기 받기 모두 정상적으로 동작한다.

단! walkaround인 관계로 내가 EUC-KR로 trackback을 보내고 싶을 때에는 주소 앞에 “!”를 붙여줘야한다는 불편함이 뒤따른다.

암튼…해 놓고 나니 뿌듯~~~ 하다.

Posted in Blog | Tagged as | No Comments »

trackback encoding walk around method

February 5th, 2006 by zingle

http://www.windlike.net/blog/236/

wordpress는 기본적으로 UTF-8 으로 인코딩해서 트랙백을 보낸다.

이에 반하여 대부분의 한국어 (블로그) 사이트들은 euc-kr을 사용한다.

이 문제를 해결하기 위한 방법 중, 검색을 통해서 찾은 해결 방법 하나.

이를 사용하기 위해서는 호스팅 회사에서 iconv 혹은 mbstring을 사용할 수 있게 해줘야 한다.

만약 그렇지 않다면 대략 낭패!

Posted in Blog | Tagged as | 2 Comments »

recent posts

February 2nd, 2006 by zingle

plugin for recent posts

http://www.semiologic.com/software/recent-posts/

I had to modify some of it to fit into my theme though.

Posted in Blog | Tagged as | No Comments »

« Previous Entries