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) "I'll tell you what I know, then," he decided. "The pin I'm wearing
means I'm a member of the IA. That's Inamorati Anonymous. An inamorato is
somebody in love. That's the worst addiction of all."
"Somebody is about to fall in love," Oedipa said, "you go sit with
them, or something?"
"Right. The whole idea is to get where you don't need it. I was
lucky. I kicked it young. But there are sixty-year-old men, believe it or
not, and women even older, who might wake up in the night screaming."
"You hold meetings, then, like the AA?"
"No, of course not. You get a phone number, an answering service
you can call. Nobody knows anybody else's name; just the number in case
it gets so bad you can't handle it alone. We're isolates, Arnold. Meetings
would destroy the whole point of it."
-- Thomas Pynchon, "The Crying of Lot 49"
[[Fortune(love)]]
Love is like the measles; we all have to go through it.
-- Jerome K. Jerome
[[Fortune(*)]]
The person you rejected yesterday could make you happy, if you say yes.
특징 ¶
Please see also