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)Why I Can't Go Out With You:
I'd LOVE to, but...
-- I have to answer all of my "occupant" letters.
-- None of my socks match.
-- I'm having all my plants neutered.
-- I changed the lock on my door and now I can't get out.
-- My yucca plant is feeling yucky.
-- I'm touring China with a wok band.
-- My chocolate-appreciation class meets that night.
-- I'm running off to Yugoslavia with a foreign-exchange student
named Basil Metabolism.
-- There are important world issues that need worrying about.
-- I'm going to count the bristles in my toothbrush.
-- I prefer to remain an enigma.
-- I think you want the OTHER Peggy/Cathy/Mike/whomever.
-- I feel a song coming on.
[[Fortune(love)]]
We don't believe in rheumatism and true love until after the first attack.
-- Marie Ebner von Eschenbach
[[Fortune(*)]]
If you want to get rich from writing, write the sort of thing that's
read by persons who move their lips when the're reading to themselves.
-- Don Marquis
특징 ¶
Please see also