From: Arnold P. <ap...@ma...> - 2005-09-16 14:59:20
|
At 10:02 AM 9/16/2005, P Gavin LaRose wrote: Hi, This sounds like a good idea and a number of people have asked for something along these lines. Another method of doing this would be to have $mail{feedbackRecipients} be a ref to a user defined procedure which takes as parameters e.g. [CourseName] [SectionNum] [RecitationNum] [User Name] [setNum] [probNum] and outputs a ref to an array of email addresses. If we do this, the procedure should also allow the cc field to be filled in (e.g. send email to a TA with a cc to a prof). Also the procedure could generate a subject line (say with a default subject line as we do now with the addition of [section] [recitation] if the generated subject line is null). The default procedure would do just what we do now except that I would add [section] [recitation] to the subject line. This would be more flexible, but I'm not sure it's worth the trouble --- how many people would make use of it. If we do it, we should provide a few standard examples (e.g. email goes to prof a or b depending on course/section). Just doing what Gavin suggests would satisfy most users. Arnie >Hi all, > >I'd like opinions on the desirability of the following, and, if it's >desirable, suggestions for a better way of doing it. > >Currently the WeBWorK system generates feedback e-mails with the subject line >WeBWorK feedback from [coursename]: [User Name] set [setNum]/prob [probNum] > >We always have some big courses where there are multiple sections of >the course which have different instructors or TAs. It would be >convenient for those courses to have the subject line to be something like > >WeBWorK feedback [CourseName] ([SectionNum]-[RecitationNum]): [User >Name] set [setNum]/prob [probNum] > >so that instructors could filter their incoming WeBWorK feedback >e-mail to isolate those from students in their section(s). > >In the past I've done this by just hacking the code in Feedback.pm >to accomplish this, but it seems it might be better to have a >setting in global.conf or course.conf that allows the customization >of the feedback subject line. e.g., using some sort of format >characters---say, > %c = course name > %u = user name > %s = set number > %p = problem number > %x = section number > %r = recitation number >then the default subject line could be > $mail{subjectLine} = 'WeBWorK feedback from %c: %u set %s/prob %p'; >and in course.conf it could be reset, if desirable, to something else (for me, > $mail{subjectLine} = 'WeBWorK feedback %c (%x-%r): %u set %s/prob %p'; >). > >This would require adding the $mail{subjectLine} value to >global.conf file, and doing some substitutions on that in Feedback.pm. > >Does this seem like a good idea? If so, is there a better way of doing it? > >(The other option to resolve my problem would be to associate >instructors in a course with sections within the course, thereby >allowing e-mail to be directed to them, rather than to all >instructors of the course. Would this be better or worse than the above?) > >Thanks, >Gavin > >-- >P. Gavin LaRose, Ph.D. Program Manager (Instructional Tech.) >Math Dept., University of Michigan >gl...@um... "There's no use in trying," [Alice] >734.764.6454 said. "One Can't believe impossible >http://www.math.lsa.umich.edu/~glarose/ things." "I daresay you haven't had > much practice," said the Queen. > - Lewis Carrol > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >OpenWeBWorK-Devel mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/openwebwork-devel Prof. Arnold K. Pizer Dept. of Mathematics University of Rochester Rochester, NY 14627 (585) 275-7767 |