diff options
Diffstat (limited to 'fml/doc/en/tutorial/usage/post.sgml')
| -rw-r--r-- | fml/doc/en/tutorial/usage/post.sgml | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/fml/doc/en/tutorial/usage/post.sgml b/fml/doc/en/tutorial/usage/post.sgml new file mode 100644 index 00000000..70d544f7 --- /dev/null +++ b/fml/doc/en/tutorial/usage/post.sgml @@ -0,0 +1,100 @@ +<!-- + $FML$ + $jaFML: post.sgml,v 1.7 2003/04/15 14:51:46 fukachan Exp $ +--> + +<sect1 id="usage.post"> + <title> + post article + </title> + +<para> +Send the mail to elena@fml.org. +MTA (on e.g. ahodori.fml.org) receives the mail and +finally kicks off +/usr/local/libexec/fml/distribute command. +</para> + +<para> +distribute recieves the message from STDIN, +rewrites the header, save it in spool and +pass it back to MTA. +</para> + + +<sect2> + <title> + process of distribution + </title> + +<para> +add a tag to sufbject, update the article number. +<screen> +Example: + +Subject: [elena:00100] teddy bear is cute. +</screen> +(no tag by default). +</para> + +<para> +save article (as a text file). +</para> + +<para> +create a HTML version of the article under ~fml/public_html/ directory. +</para> + +<para> +update database on thread. +</para> + +</sect2> + + +<sect2> + <title> + variables to control the article. + </title> + +<warning> +<para> +not yet written. +</para> +</warning> + +</sect2> + + +<sect2> + <title> + boot sequence + </title> + +<para> +<link linkend="bootloader"> +fml boot loader +</link> +boots off in this way. +</para> + + +<para> +libexec/loader reads etc/fml/main.cf firstly. +Suppose $fml_vesrion is defined as current-20010501 in main.cf. +&fml8; resolves $fml_version from it and determines the library path +as /usr/local/lib/fml/current-20010501/. +&fml8; loads perl modules under it. +</para> + +<para> +&fml8; sets up @INC properly, fml loader loads FML::Process::Switch +module and check $0. fml knowns the role from $0. In this case of +distribute, fml loads FML::Process::Distribute module and processes +distribution. +</para> + +</sect2> + + +</sect1> |
