adamengst
(Adam C. Engst)
May 3, 2018, 2:29pm
1
One of my readers pointed out that Discourse List-Id headers lack verbal descriptions, which would be helpful (in a small way). The short suggestion is to add descriptions in the form:
List-Id: Sitename | CategoryName <categoryslug.domain.name>
cheers… -Adam
PS: Here’s the message I got, so you can see where the guy is coming from.
Your mailing lists insert the List-Id tag into the mail header, which is nice and expected. However, they insert only the identifier without description. I get
List-ID: <article-comments.talk.tidbits.com >
List-ID: <tidbits-talk.talk.tidbits.com >
List-ID: <site-feedback.talk.tidbits.com >
Other lists include also a verbal description. For example, a few of my actual mailing lists:
List-Id: Macintosh Pascal Mailing List <mac-pascal.lists.sonic.net >
List-Id: How to use LiveCode <use-livecode.lists.runrev.com >
List-Id: MailMate Users <mailmate.lists.freron.com >
List-Id: Discussion for revIgniter <revigniter-livecodejournal.com >
List-ID: Eudora for the Mac <eudora-mac.cartel.listmoms.net >
I can set up my mail program to group the list posts by List-Id identifiers, but descriptions are much easier to see (I mean to click the correct mailing list), hence it would be great if you could have:
List-ID: TidBITS | Article Comments <article-comments.talk.tidbits.com >
List-ID: TidBITS | TidBITS Talk <tidbits-talk.talk.tidbits.com >
List-ID: TidBITS | Site Feedback <site-feedback.talk.tidbits.com >
3 Likes
Looks like a good and easy idea
committed 02:39PM - 03 May 18 UTC
https://meta.discourse.org/t/minor-feature-request-descriptions-in-list-id-heade… rs/86681
12 Likes
LeoMcA
(Leo McArdle)
May 4, 2018, 10:40am
3
A minor suggestion, wouldn’t #{parent_category_name} #{topic.category.name} make more sense here?
@message.header['References'] = [topic_message_id, referenced_post_message_ids].flatten.compact.uniq
end
# https://www.ietf.org/rfc/rfc2919.txt
if topic && topic.category && !topic.category.uncategorized?
list_id = "#{SiteSetting.title} | #{topic.category.name} <#{topic.category.name.downcase.tr(' ', '-')}.#{host}>"
# subcategory case
if !topic.category.parent_category_id.nil?
parent_category_name = Category.find_by(id: topic.category.parent_category_id).name
list_id = "#{SiteSetting.title} | #{topic.category.name} #{parent_category_name} <#{topic.category.name.downcase.tr(' ', '-')}.#{parent_category_name.downcase.tr(' ', '-')}.#{host}>"
end
else
list_id = "#{SiteSetting.title} <#{host}>"
end
# https://www.ietf.org/rfc/rfc3834.txt
@message.header['Precedence'] = 'list'
@message.header['List-ID'] = list_id
if topic
That way emails for (for instance) Development - Mozilla Discourse would be:
Mozilla | Add-ons Development
rather than:
Mozilla | Development Add-ons
4 Likes
gde
December 11, 2021, 11:02am
7
Hello,
I’m reviving this feature request because of users in my community.
They wish to have the List-id have more details when messages comes from groups.
I’ve activated groups in subject but this doesn’t completely satisfies my users.
Is it possible to add the group name; maybe when the groups in subject is true ?