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) The FIELD GUIDE to NORTH AMERICAN MALES
SPECIES: Cranial Males
SUBSPECIES: The Hacker (homo computatis)
Courtship & Mating:
Due to extreme deprivation, HOMO COMPUTATIS maintains a near perpetual
state of sexual readiness. Courtship behavior alternates between
awkward shyness and abrupt advances. When he finally mates, he
chooses a female engineer with an unblinking stare, a tight mouth, and
a complete collection of Campbell's soup-can recipes.
Track:
Trash cans full of pale green and white perforated paper and old
copies of the Allen-Bradley catalog.
Comments:
Extremely fond of bad puns and jokes that need long explanations.
[[Fortune(love)]]
"I'd love to go out with you, but I'm having all my plants neutered."
[[Fortune(*)]]
Notes for a ballet, "The Spell": ... Suddenly Sigmund hears the flutter of
wings, and a group of wild swans flies across the moon ... Sigmund is
astounded to see that their leader is part swan and part woman --
unfortunately, divided lengthwise. She enchants Sigmund, who is careful
not to make any poultry jokes.
-- Woody Allen
특징 ¶
Please see also