Fortune 매크로 플러그인은 GNU fortune프로그램을 이용한 매크로입니다.

- fortune이 설치되어 있어야 한다.
/usr/bin/fortune, /usr/share/games/fortune/
- 이게 맞지 않는다면
plugin/fortune.php
에서 소스를 직접 조정해 주세요.

- 예를 들어
data/fortune
아래에 fortune 데이타를 복사해 넣고$fortune_dir='data/fortune';
세팅을 config.php에 넣으면 됩니다.

data/fortune
아래에 몇가지 fortune 데이타가 기본으로 패키징되어 들어있습니다.
$fortune_dir='data/fortune';
세팅을 config.php에 넣어주세요.
사용예 ¶
[[Fortune]]
(default art)Your fault -- core dumped
[[Fortune(love)]]
"I'd love to go out with you, but I never go out on days that end in `Y.'"
[[Fortune(*)]]
In the east there is a shark which is larger than all other fish. It
changes into a bird whose winds are like clouds filling the sky. When this
bird moves across the land, it brings a message from Corporate Headquarters.
This message it drops into the midst of the programmers, like a seagull
making its mark upon the beach. Then the bird mounts on the wind and, with
the blue sky at its back, returns home.
The novice programmer stares in wonder at the bird, for he understands
it not. The average programmer dreads the coming of the bird, for he fears
its message. The master programmer continues to work at his terminal, for he
does not know that the bird has come and gone.
-- Geoffrey James, "The Tao of Programming"
특징 ¶
Please see also