Perl 스크립트로 무버블 타입에 (Movable Type) 글 올리기

| 0 Comments

무버블 타입은 외부와의 연동을 위해 XML-RPC 인터페이스를 제공한다. 이 인터페이스를 이용해 플리커에서나 라이브 라이터 등에서 무버블 타입으로 글을 올릴 수 있다. 이런 체험을 통해 무버블 타입 대쉬 보드가 아닌 외부에서 글을 어떻게 올릴 수 있는 지에 대해서 대략 감은 잡고 있었다.

지난 주말에 Perl 스크립트를 이용해 무버블 타입 블로그로 글을 올리는 시도를 해 보았다. 무버블 타입에 설치된 XML-RPC 서버를 이용하는 것이었는데, 결과는 성공적이었다. 설치 디렉토리 안의 XMLRPCServer.pm 소스를 좀 분석하고 관련 글을 참고해서 스크립트를 작성 했다. Frontier-RPC 모듈을 이용했기 때문에 스크립트 작성은 무난했다. 작성한 스크립트를 이용해 내 컴퓨터에서 블로그로 글을 올리는데 성공했다.

간단한 코드이기 때문에 바로 감이 올 것이다. 아이디와 암호만 넣으면 된다. 급조해서 만들었다. 시간 날 때 같은 위치에 변경된 코드를 계속 올릴 계획이다.

Leave a comment

Recent Entries

Jump to another Movable Type; very easy with version 5.12!
Transition to Movable Type 5.0x was a little burdensome to do this and that. Today's transition was just on…
The first term Chinese class review (Mandarin)
Three months beginner's class finished last Friday. Regardless of fluency or literacy, one of the greatest achievement from this term…
No more daunting long URLs!
Two forwarders easy to remember as well as simple to type, now, go public to access photos at flickr.com and…
  Dull Smile by newflower.

accepted here

Locations of visitors to this page