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)Just how difficult it is to write biography can be reckoned by anybody
who sits down and considers just how many people know the real truth
about his or her love affairs.
-- Rebecca West
[[Fortune(love)]]
Just how difficult it is to write biography can be reckoned by anybody
who sits down and considers just how many people know the real truth
about his or her love affairs.
-- Rebecca West
[[Fortune(*)]]
At least for the people who send me mail about a new language that they're
designing, the general advice is: do it to learn about how to write a
compiler. Don't have any expectations that anyone will use it, unless you hook
up with some sort of organization in a position to push it hard. It's a
lottery, and some can buy a lot of the tickets. There are plenty of beautiful
languages (more beautiful than C) that didn't catch on. But someone does win
the lottery, and doing a language at least teaches you something.
-- Dennis Ritchie (1941-2011), creator of the C programming language and of
UNIX
특징 ¶
Please see also