Translations of this page?:

페이지 내보내기

위키 페이지 하나는 URL에 적절한 “do”인자를 추가함으로써 다른 포맷들로 내보내기가 가능합니다. 다음의 내보내기 옵션들이 가능합니다:

역시, do인자를 X-DOKUWIKI-DO라 불리우는 HTTP 헤더로 기술할 수 있습니다. 이것은 웹사이트 스파이더와 함께 static dump를 생성하는데 유용합니다.

다른 포맷으로 내보내기를 하려면 내보내기 토론페이지를 참고합니다.

단지 목차를 내보내기 할수 있는 다른 방법이 있나요? for the 뉴스 플레쉬 사이트(www.brooklynroadrunners.org)를 위해서 전체 뉴스를 참조하는 목록 기능이 있어야 합니다. 이미 개발된 것이 있다면 공개해도 될 것 같은데요. – Geert

여러 페이지들을 HTML로 내보내기

여러 페이지들이나 전체 네임스페이스를 내보내기하려면 Pavel Shevaev이 작성한 스크립트 offline-doku를 참고하면 됩니다.

운없게도 offline-doku는 플러그인 내용을 제대로 처리하지 못합니다. 누가 해결 방법을 알고 있나요?
Pavel's 스크립트는 php >4.3이상이 요구됩니다. 업그레이드하지 않고 해결하려면 46줄 근처를 수정하면 됩니다.
from
$tokens = $parser->parse(file_get_contents($file));
to
$fp = fopen($file, "rb");
$buffer = fread($fp, filesize($file));
fclose($fp);
$tokens = $parser->parse($buffer);

Pavuk을 사용하여 모든 페이지를 내보내기하는 예제:

pavuk -dont_leave_site -noRobots -index_name "index.html" -httpad "+X_DOKUWIKI_DO: export_xhtml" -cookie_file cookies.txt -cookie_send -skip_rpattern "(.*\?do=(diff|revisions|backlink|index|export_.*))|feed\.php.*" -tr_chr_chr "?&*:" _ -post_update -fnrules F "*" "%h/%d/%b%E" http://wiki.splitbrain.org

간단히 명령 마지막에 있는 URL만 수정하면 됩니다. 이 명령은 cookie파일을 사용하여 ACL 제한을 처리합니다. 웹 브라우저 프로필에서 “cookies.txt”파일을 복사하여 스크립트가 웹 브라우저 로그인한 것처럼 알 수 있도록 합니다.

→ 자세한 내용은 웹사이트 내보내기를 참고합니다.

번역

english version: dokuwiki-2006-11-06.

Add your email here if you created translated or modified whole or part of this page.

  • jk Lee - real mail domain is gmail, not zoo.com for spam filtering 2007-2-7 created
 
wiki/ko/export.txt · Last modified: 2007/02/07 10:00 by 218.232.193.57
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate