Fortune 매크로 플러그인은 GNU fortune프로그램을 이용한 매크로입니다.
현재 유닉스만 지원하며 다음을 만족시켜야 합니다.- fortune이 설치되어 있어야 한다.
/usr/bin/fortune, /usr/share/games/fortune/
- 이게 맞지 않는다면
$fortune_dir="/to_my_fortune_dir";라는 식의 설정을config.php에 넣어줍니다.
- 모니위키 1.1.5 이전 버전의 경우에는
plugin/Fortune.php파일을 직접 수정해주어야 합니다.
- 모니위키 1.1.5 이전 버전의 경우에는
사용예 ¶
[[Fortune]] (default art)I have sacrificed time, health, and fortune, in the desire to complete these
Calculating Engines. I have also declined several offers of great personal
advantage to myself. But, notwithstanding the sacrifice of these advantages
for the purpose of maturing an engine of almost intellectual power, and
after expending from my own private fortune a larger sum than the government
of England has spent on that machine, the execution of which it only
commenced, I have received neither an acknowledgement of my labors, not even
the offer of those honors or rewards which are allowed to fall within the
reach of men who devote themselves to purely scientific investigations...
If the work upon which I have bestowed so much time and thought were
a mere triumph over mechanical difficulties, or simply curious, or if the
execution of such engines were of doubtful practicability or utility, some
justification might be found for the course which has been taken; but I
venture to assert that no mathematician who has a reputation to lose will
ever publicly express an opinion that such a machine would be useless if
made, and that no man distinguished as a civil engineer will venture to
declare the construction of such machinery impracticable...
And at a period when the progress of physical science is obstructed
by that exhausting intellectual and manual labor, indispensable for its
advancement, which it is the object of the Analytical Engine to relieve, I
think the application of machinery in aid of the most complicated and abtruse
calculations can no longer be deemed unworthy of the attention of the country.
In fact, there is no reason why mental as well as bodily labor should not
be economized by the aid of machinery.
-- Charles Babbage, "The Life of a Philosopher"
[[Fortune(love)]]Love -- the last of the serious diseases of childhood.
[[Fortune(*)]]"I'd love to go out with you, but I never go out on days that end in `Y.'"
특징 ¶
Please see also
Fortune 파일 직접 설치하기 ¶
fortune 파일을 직접 설치하실 수 있습니다. 예를 들어 data/fortune 디렉토리를 만들어 여기에 fortune 파일을 복사해 넣고,
config.php에 $fortune_dir="data/fortune"; 식으로 디렉토리를 직접 지정해 넣으면 됩니다.









.png)