무버블 타입에서 크리에이티브 커먼스 2.0 사용하기

January 17th, 2005 by 바람

Arvind블로그에서 인용:

In MT, use of the <MTBlogCCLicenseURL> has been hardcoded to the 1.0 licenses, however these have been outdated and v2.0 of the licenses have been released a while ago. So lets hack the files so we can still use the tag.

You’ll need two files, lib/MT/Util.pm and php/lib/cc_lib.php. Find in them the following line

http://creativecommons.org/licenses/$code/1.0/

and replace it with

http://creativecommons.org/licenses/$code/2.0/

Posted by Arvind at October 16, 2004 08:09 PM

위의 문장을 요약하자면 CC License 2.0이 나왔음에도 무버블 타입에선 여전히 1.0을 사용하기 때문에 수정이 필요하다는 것이다. 위에 나온 방법대로 고치면 링크는 2.0으로 바뀌지만 라이센스 마크는 1.0 것을 그대로 사용하게 된다. 라이센스 마크가 2.0으로 보이도록 하기 위해서는 다른곳도 수정을 해주어야 한다. <$MTBlogCCLicenseImage$>가 이미지의 위치를 나타내는데 아래와 같이 수정하자.
lib/MT/Template/Context.pm와 php/lib/function.MTBlogCCLicenseImage에서 아래줄을 찾아서

($cc eq 'pd' ? 'norights' : 'somerights');

아래와 같이 바꾸도록 한다

($cc eq 'pd' ? 'norights' : 'somerights20‘);

One Response to “무버블 타입에서 크리에이티브 커먼스 2.0 사용하기”

  1. SWOG Says:

    Details Details

    Why do the details seem to jump out at me? I discovered that the creative commons license was hardcoded into MovableType 3.17 as version 1.0. The current version is 2.5. I found a hack to change the code here. What’s…

Leave a Reply