# HG changeset patch # User devi # Date 1134917769 -7200 # Node ID e0db0f8bb48281d978e8989a87ededdfe159b9e6 # Parent ff4ab09fd3f1194246626f9b59dc58cf2479a838 Автоматическая генерация имен сущностей для персонализированных методичек diff -r ff4ab09fd3f1 -r e0db0f8bb482 l3scripts --- a/l3scripts Tue Dec 06 23:54:06 2005 +0200 +++ b/l3scripts Sun Dec 18 16:56:09 2005 +0200 @@ -24,6 +24,17 @@ done ###makeout +cat > /tmp/lm.utf8 < +lm-name $firstname +lm-instructor "$instructor" +lm-manager "$manager" +lm-start-date $date +lm-stop-date $stopdate +lm-hostname $host +lm-ipaddress $ipaddress +LIST +cat /tmp/lm.utf8 | iconv -f UTF-8 -t KOI8-R > /tmp/lm.gent common=$course-$date personal=$course-$date-$email mkdir -p $outpath/${common}/{Lablogs,Docs} diff -r ff4ab09fd3f1 -r e0db0f8bb482 lm --- a/lm Tue Dec 06 23:54:06 2005 +0200 +++ b/lm Sun Dec 18 16:56:09 2005 +0200 @@ -281,6 +281,9 @@ center => $XMLClass->{"center"}, course => $XMLClass->{"course"}, date => $XMLClass->{"date"}, + stopdate => $XMLClass->{"stop-date"}, + instructor => $XMLClass->{"instructor"}->{"firstname"}." ".$XMLClass->{"instructor"}->{"surname"}, + manager => $XMLClass->{"manager"}->{"firstname"}." ".$XMLClass->{"manager"}->{"surname"}, coursepath => $XMLCourse->{"path"}, );