summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial
diff options
context:
space:
mode:
authorfukachan <fukachan>2006-03-20 09:31:34 +0000
committerfukachan <fukachan>2006-03-20 09:31:34 +0000
commitee06332ac474ce11f83d0b20f8fba7bd923f74f2 (patch)
tree4ebb5059a26ced8379bd729e880f99ea38d596f0 /fml/doc/ja/tutorial
parent030f923ab8a9e2b07e842a7b3de363691a2192b8 (diff)
downloadfml8-ee06332ac474ce11f83d0b20f8fba7bd923f74f2.tar.gz
fml8-ee06332ac474ce11f83d0b20f8fba7bd923f74f2.tar.bz2
fml8-ee06332ac474ce11f83d0b20f8fba7bd923f74f2.zip
add subject tag like [YYYYMMDD] string.
Diffstat (limited to 'fml/doc/ja/tutorial')
-rw-r--r--fml/doc/ja/tutorial/customize/recipes.header.sgml30
1 files changed, 29 insertions, 1 deletions
diff --git a/fml/doc/ja/tutorial/customize/recipes.header.sgml b/fml/doc/ja/tutorial/customize/recipes.header.sgml
index 035dfa51..0a62d36b 100644
--- a/fml/doc/ja/tutorial/customize/recipes.header.sgml
+++ b/fml/doc/ja/tutorial/customize/recipes.header.sgml
@@ -1,5 +1,5 @@
<!--
- $FML: recipes.header.sgml,v 1.4 2006/01/14 06:04:48 fukachan Exp $
+ $FML: recipes.header.sgml,v 1.5 2006/01/19 03:59:51 fukachan Exp $
-->
<qandaset>
@@ -123,6 +123,34 @@ article_subject_tag = [\L$ml_name\E:%05d]
<question>
<para>
+Subject に [日付] というタグをつけたい。
+</para>
+</question>
+
+<answer>
+<para>
+YYYYMMDD (20060101) のような日付をつけたいなら、以下のようにして下さい。
+<screen>
+$distribute_verify_request_start_hook = q{
+
+ use POSIX;
+ my $yyyymmdd = strftime("[%Y%m%d]", localtime);
+ $config->set('article_subject_tag', $yyyymmdd);
+
+};
+</screen>
+なお strftime(3) を使うところを編集すればフォーマットはいろいろかえる
+ことができます。
+</para>
+</answer>
+
+</qandaentry>
+
+
+<qandaentry>
+
+<question>
+<para>
いつでも Reply-To: を投稿用アドレスに強制する。
</para>
</question>