adamengst
(Adam C. Engst)
3 مايو 2018، 2:29م
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 إعجابات
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 إعجابًا
LeoMcA
(Leo McArdle)
4 مايو 2018، 10:40ص
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 إعجابات
gde
11 ديسمبر 2021، 11:02ص
7
مرحباً،
أنا أحيي طلب الميزة هذا بسبب المستخدمين في مجتمعي.
إنهم يرغبون في أن يكون معرف القائمة (List-id) به تفاصيل أكثر عند وصول الرسائل من المجموعات.
لقد قمت بتفعيل groups in subject ولكن هذا لا يرضي مستخدمي بالكامل.
هل من الممكن إضافة اسم المجموعة؛ ربما عندما يكون groups in subject صحيحاً؟