إضافة علامات عبر البريد الإلكتروني

I’ve had a request for the ability to add tags to topics when posting by email. This could work by adding a line as follows starting with tags: and then a comma separated list.

tags: tag1, tag2, tag3 

I can see potential for difficulty, e.g. because there is no autocomplete people won’t know tags that are already being used and create duplicates, but I also think it can be quite powerful and help people to indicate organization they’d like without having to log in - and in my community many people just want to stay in their email.

4 إعجابات

Hi!

We (@mcwumbly and I) would really benefit from a feature like this also. Was anything ever implemented that enables tagging topics that are created via email?

Thanks!

3 إعجابات

Nope, nothing was implemented regarding tag creations via incoming emails.

Is this pr-welcome material?

It’s quite risky. How do you know what tags exist? What happens if you typo a tag? What happens when a tag is specified that doesn’t exist?

Just ignore all that? No feedback?

إعجابَين (2)

I’m with you, Jeff. My opinion has changed since posting this request back in the day. Let’s keep it simple, and let the moderators garden and fix tags etc. If people want to indicate in their message where it should go that’s fine too.

إعجاب واحد (1)

Here are some thoughts to address the risks that you identified:

The feature should respect that tags site settings, including “minimum trust level to create tags” If that is higher than the user’s trust level, then the tag would just get dropped if it doesn’t exist (which could be due to a typo).

If the user’s trust level allows them to create tags, then the new tag would be created (which could be a misspelling).

Yes, the chance of these errors is higher without immediate feedback, but on the other hand, this is a pretty “advanced” feature anyway, so I wouldn’t expect a huge onslaught of tagging mayhem were it to be added.

It’s a pain in the behind to implement properly (allowing for localization and some leniency with format), a feature that is impossible to discover and dealing with edge cases is hard.

That said, I don’t see why not allow the community to send through a well specified PR, cause it is kind of important for mailing list parity.

7 إعجابات

I have a different suggestion for adding tags by email:

email@forum.com is used for Uncategorized
accessibility@forum.com is also used for Uncategorized but adds the tag Accessibility in Discourse

Has anyone considered this?

إعجاب واحد (1)

Many systems (incl. gmail) allow addresses to have the format user+tag@domain.com, routed to user@domain.com.

أعتقد أن Discourse تستخدم بالفعل هذه الميزة لتوجيه البريد حسب الفئة.

أنا حقًا أحب هذه الفكرة! إنها تستخدم نفس سير العمل للفئات والمجموعات، لذا فهي ليست شيئًا جديدًا تمامًا للمستخدمين لتعلمه.

إعجاب واحد (1)

شكرًا، طريقة أخرى يمكنني رؤية هذا يعمل بها:

email+tagname@forum.com بافتراض أن العلامة متاحة لمجموعة everyone.

هل هناك تحديث بشأنه؟

هل يمكننا إرسال بريد إلى مواضيع مع علامات مدعومة؟

إعجاب واحد (1)

الإجابة المختصرة هي: لا.

تم تقديم العديد من المقترحات من الاقتراح الأصلي “إضافة سطر يبدأ بـ tags: متبوعًا بقائمة مفصولة بفواصل من العلامات” لاستخدام x+tag@forum.example. على الرغم من أنني أحب الاقتراح الأول، نظرًا لأن الاقتراح الثاني مقيد بالتعطل في تكوينات البريد الإلكتروني للمجموعات والفئات الحالية، إلا أنني أتفهم أيضًا صعوبة التعامل مع أخطاء العلامات.

إعجاب واحد (1)

ماذا عن استخدام سطر الموضوع؟

Subject: How to add tags via email ;email,api,webhook

كل ما هو يمين الفاصلة المنقوطة هو ملف CSV للعلامات.

سيبدو الأمر غريباً جداً في صندوق الوارد.

سيكون هذا هشًا للغاية ولن يتطابق بالتأكيد مع العديد من الإعدادات حيث يتم استخدام علامة “+” لمطابقة المجموعات أو الفئات.

يبدو أن الاقتراح الأصلي من @tobiaseigen هو الأكثر تنوعًا.

يمكن التغلب على القيود عن طريق تقسيم القائمة والاحتفاظ فقط بالأسماء الأولى المذكورة.

يجب أن يكون هناك بعض الاتفاق (أو المواصفات) على تجاهل الاستخدامات اللاحقة لـ ^tags: (أي تفضيل العلامات في بداية رسائل البريد الإلكتروني، وتجاهل الاقتباسات، لأولئك منا الذين يفضلون الاقتباس على الرد). ولكن بخلاف ذلك، يبدو الاقتراح قويًا من وجهة نظري.

إعجابَين (2)