exportwikiinclude
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exportwikiinclude [2011/08/11 18:34] – donghee | exportwikiinclude [2018/07/18 14:10] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | 일반 웹페이지에서 자바스크립트로 위키페이지 인클루드하기 위한 코드 | + | html페이지에서 자바스크립트로 위키페이지 인클루드하기 위한 코드 |
| ====== 사용방법 ====== | ====== 사용방법 ====== | ||
| Line 7: | Line 7: | ||
| <code html> | <code html> | ||
| <div class=" | <div class=" | ||
| - | <!-- InstanceBeginEditable name=" | + | <script language=" |
| - | Please edit the wiki to contribute any updates or corrections.</ | + | Please edit the wiki to contribute any updates or corrections. |
| </ | </ | ||
| </ | </ | ||
| Line 17: | Line 17: | ||
| doku.php의 명령으로 export_wikiinclude를 추가하기. | doku.php의 명령으로 export_wikiinclude를 추가하기. | ||
| - | === inc/ | + | === inc/ |
| - | <code php> | + | |
| - | if($act == ' | + | |
| - | </ | + | |
| - | + | ||
| - | === inc/ | + | |
| <code php> | <code php> | ||
| - | | + | |
| $headers[' | $headers[' | ||
| $output = p_wiki_xhtml($ID, | $output = p_wiki_xhtml($ID, | ||
| $output = str_replace('"',' | $output = str_replace('"',' | ||
| - | $output = str_replace(DOKU_LF,' | + | $output = str_replace(DOKU_LF,' |
| - | ', | + | $pre .= ' |
| - | $pre .= ' | + | $post .= '"; |
| - | $post .= '"; | + | |
| - | $post .= ' | + | |
| - | $post .= $ID; | + | |
| - | $post .= ' | + | |
| break; | break; | ||
| + | |||
| + | | ||
| </ | </ | ||
exportwikiinclude.1313087688.txt.gz · Last modified: 2018/07/18 14:09 (external edit)