Closed (fixed)
Project:
Mail Comment
Version:
5.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 May 2008 at 18:09 UTC
Updated:
6 Feb 2010 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
jmiccolis commentedHey Gents,
Instead of adding "RE: Parent title" as the default for when titles aren't altered could we use the normal Drupal behavior of grabbing the first few words from the comment/email and using that as the title?
This would preserve a common formatting for comments posted on the web and though email. (Additionally if comment titles aren't allowed we could respect that too).
Thoughts?
Comment #2
jmiccolis commentedAs a start attached is a small patch that simply generates a title for the comment from the body.
In the future then we can add check here that compares the title with what would have been sent out to determine if it's been customized. We'd need to regenerate that title from the original node and the title token pattern which is used for the kind of notification that it was.
Comment #3
jose reyero commentedThe patch looks good, but for the variable enclosed in t()
Maybe it should be
Anyway, maybe we shouldn't make any assumption on the client's default language and try a regexp with different combinations, like upper and lower case 'Re:', t('Re:'), etc...
However, I'm not the maintainer anymore of this one :-)
Comment #4
Ian Ward commentedSwitch to mailcomment project. Mail2web is now known as "mailcomment" due to a trademark issue with the name mail2web.
Comment #5
Ian Ward commentedThis issue is now replaced by http://drupal.org/node/706588 ... closing this.