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)Potahto' Pictures Productions Presents:
SPUD ROGERS OF THE 25TH CENTURY: Story of an Air Force potato that's
left in a rarely used chow hall for over two centuries and wakes up in a world
populated by soybean created imitations under the evil Dick Tater. Thanks to
him, the soy-potatoes learn that being a 'tater is where it's at. Memorable
line, "'Cause I'm just a stud spud!"
FRIDAY THE 13TH DINER SERIES: Crazed potato who was left in a
fryer too long and was charbroiled carelessly returns to wreak havoc on
unsuspecting, would-be teen camp cooks. Scenes include a girl being stuffed
with chives and Fleischman's Margarine and a boy served up on a side dish
with beets and dressing. Definitely not for the squeamish, or those on
diets that are driving them crazy.
FRIDAY THE 13TH DINER II,III,IV,V,VI: Much, much more of the same.
Except with sour cream.
[[Fortune(love)]]
"I'd love to go out with you, but I have to floss my cat."
[[Fortune(*)]]
Adding manpower to a late software project makes it later.
-- F. Brooks, "The Mythical Man-Month"
특징 ¶
Please see also