can [QUOTE] blocks be trimmed from emailed message previews?
LQ Suggestions & FeedbackDo you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
can [QUOTE] blocks be trimmed from emailed message previews?
Message previews are very useful when they preview enough of the new post to let you know whether or not to click the link.
The LQ Spy message previews are great at this because they trim [QUOTE] blocks. The preview begins at the new content. For example, here's a great LQ Spy message preview:
Code:
New Post glupa4e Today 14:00 Slackware 15 64 - doublecmd fails to install Slackware
installing libqtpas fixed the issue for me (140 views, 5 replies)
But email notifications of new posts include [QUOTE] blocks in the preview, and because those generally come first, that is all you see. It makes 90% of previews unhelpful. For example, here is the unhelpful message preview for the same post used in the first example:
Code:
Dear metaed,
glupa4e has just replied to a thread you have subscribed to entitled - [SOLVED] Slackware 15 64 - doublecmd fails to install - in the Slackware forum of LinuxQuestions.org.
Here is the message that has just been posted:
***************
---Quote (Originally by metaed)---
Are you looking for https://slackbuilds.org/repository/1...ies/libqtpas/?
"This package provides the libq
***************
[QUOTE=metaed;6474578]Message previews are very useful when they preview enough of the new post to let you know whether or not to click the link.
The LQ Spy message previews are great at this because they trim [QUOTE] blocks. The preview begins at the new content. For example, here's a great LQ Spy message preview:
Code:
New Post glupa4e Today 14:00 Slackware 15 64 - doublecmd fails to install Slackware
installing libqtpas fixed the issue for me (140 views, 5 replies)
But email notifications of new posts include
Quote:
blocks in the preview, and because those generally come first, that is all you see. It makes 90% of previews unhelpful. For example, here is the unhelpful message preview for the same post used in the first example:
Code:
Dear metaed,
glupa4e has just replied to a thread you have subscribed to entitled - [SOLVED] Slackware 15 64 - doublecmd fails to install - in the Slackware forum of LinuxQuestions.org.
Here is the message that has just been posted:
***************
---Quote (Originally by metaed)---
Are you looking for https://slackbuilds.org/repository/1...ies/libqtpas/?
"This package provides the libq
***************
If that can be done it will be because it is supported by your email client or reader. Whatever renders the email for viewing has control here, so that is what you must leverage.
Note that there is no IEEE standard for how to include or render quotes, so different tools may do it differently. This makes it a non-trivial problem for the team maintaining the email clients and most simply do not address this as an issue.
If that can be done it will be because it is supported by your email client or reader.
...is nonsense.
Metaed is not asking for anything that can be solved by their email client, they are asking for the content of LQ-generated email to use the same functionality as used by the previews on the LQ Spy page.
It is entirely possible doing so is a trivial case of changing a single function call in one file - though it might also be more involved; only someone with access to the LQ source code can say for sure.
Aside: Note how, rather than quote an entire message, I trimmed the above quote to a small relevant part, (and with slightly different wording I could have omitted it entirely without any loss of clarity). Also, after posting, I will spend a second to glance at my post and see if for any reason it might benefit from editing... (spoiler: it did)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.