downey
(Michael Downey)
2014 年10 月 16 日 21:01
1
As a user, I want to be able to forward an email message to Discourse to start a discussion, without having the topic include all the “FW:”, “Fwd:”, “RE:”, etc. cluttering up the topic line, so that it’s easier to read what the topic is without the useless email junk.
Saw this today when someone forwarded a message to start a discussion about a document he received. There was about 15 characters of junk that I ended up stripping out of the topic title.
3 个赞
Why not just edit the subject line before posting? Or go back later to clean up the post?
lake54
(James Milligan)
2014 年10 月 18 日 17:36
3
It’s something that could be done by Discourse automatically and reduce an admin’s workload (and keep things nice and tidy from the off)
Can you propose a regex here? This might be tricky with nested fwd: re: etc and how many variants? Also needs localization does it not?
jeff_y
2020 年12 月 11 日 21:39
6
我认为大多数将消息转发到论坛的人会遵循电子邮件惯例,即在转发和回复前添加“Fwd: ”和“Re: ”前缀。然而,论坛内容采用另一种惯例,不包含这些前缀。因此,我认为电子邮件接收方应负责进行转换。
一些 Discourse 导入器已经支持移除这些前缀:
# Remove prefixes like [FOO] or (BAR) from topic titles and replace them with tags.
# You can map one or more case-insensitive prefixes to the same tag in Discourse.
# "Tag name in Discourse": "foo"
# "Tag name in Discourse": ["foo", "bar"]
# You can use an empty tag name to remove prefixes without creating a tag in Discourse.
tags:
# "off-topic": "ot"
# announcement: ["ann", "announce", "announcement"]
# "": ["foo", "bar"]
# These prefixes will be removed from the beginning of topic titles. You can use regular expessions.
# Prefixes are case-insensitive. You can add additional prefixes (e.g. localized prefixes from
# https://en.wikipedia.org/wiki/List_of_email_subject_abbreviations#Abbreviations_in_other_languages).
remove_subject_prefixes:
- "Re: "
- "Fwd?: "
3 个赞
我确实会预料到用户无法做到这一点,而我原本也期望 Discourse 能自动完成此事。
2 个赞
Lhc_fl
(Linca)
2023 年9 月 29 日 14:29
10
我最近在这方面遇到了一些麻烦。也许可以在 sitesettings 中添加一些类似这样的设置,允许管理员设置要删除哪些前缀?
1 个赞
Lhc_fl
(Linca)
2023 年10 月 31 日 08:29
11
1 个赞