The discussion revolves around the desire to automatically strip email prefixes like “Fwd:” and “Re:” when creating new topics from incoming emails in Discourse. downey suggests this would improve readability and reduce manual cleanup. tobiaseigen questions the need for automation, suggesting manual editing is sufficient. lake54 supports automation to reduce admin workload. codinghorror raises technical concerns about regex complexity and localization. jeff_y notes that while users should follow email conventions, Discourse could handle the conversion, citing existing importers that already support this. JonathanShaw expects users to fail at this and believes Discourse should automate it. Lhc_fl proposes configurable settings for administrators to define which prefixes to strip and shares a plugin solution here.
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.
Я думаю, что большинство людей, пересылающих сообщение на форум, следуют правилам электронной почты, которые включают добавление префиксов «Fwd: » и «Re: » для пересылаемых сообщений и ответов. Однако контент форума использует другое соглашение — без этих префиксов. Поэтому, на мой взгляд, конвертацию должен выполнять получатель письма.
Некоторые импортеры Discourse уже поддерживают удаление этих префиксов:
Последнее время у меня возникают с этим проблемы. Может, добавить в настройки сайта такие параметры, чтобы администратор мог указать, какие префиксы нужно удалять?