From 6cf1d4304b81442790be9126e9b4e4ff89955905 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 12 Apr 2013 13:54:50 +0000 Subject: Add txt output for userindex --- mgapeople.conf | 1 + tmpl/userindex.txt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 tmpl/userindex.txt diff --git a/mgapeople.conf b/mgapeople.conf index 1c09027..592df4e 100644 --- a/mgapeople.conf +++ b/mgapeople.conf @@ -5,6 +5,7 @@ groupbase: ou=Group,dc=mageia,dc=org output_dir: /var/www/vhosts/mgapeople.mageia.org output_format: - html + - txt tmpl_dir: /usr/share/mgapeople/tmpl maintdburl: http://pkgsubmit.mageia.org/data/maintdb.txt sitename: people.mageia.org diff --git a/tmpl/userindex.txt b/tmpl/userindex.txt new file mode 100644 index 0000000..54eb705 --- /dev/null +++ b/tmpl/userindex.txt @@ -0,0 +1,3 @@ +[% FOREACH user IN users -%] +[% user.value.uid.0 %]:[% user.value.cn.0 %] +[% END %] -- cgit v1.2.1