-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out mailchimp preview text #34
Comments
This is a step toward issue #34. Currently, only issue 1 of volume 2 has the preview text, but eventually all past issues should have it.
I just realized that 3cfa0dd didn't update this in every spot. I'll fix |
nevermind lol. i just saw 986b40b |
In #37, @jessesquires said:
I don't know if there was a deeper discussion or vote, but I got the impression from @stationaery and @dellsystem 's comments that there was a desire to have the MailChimp "email preview" to be a short pithy sentence, different from the excerpt (which is typically much longer), and also to use that in social card previews (which was done already). |
Speaking for myself, I’m a sucker for clever preview text
…On Sat, May 2, 2020 at 7:06 PM Ana Ulin ***@***.***> wrote:
Right now the preview text is not set to anything in MailChimp:
[image: Screen Shot 2020-05-02 at 7 06 03 PM]
<https://user-images.githubusercontent.com/6729309/80896893-07b63f00-8ca8-11ea-867f-a96fab9bed9e.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACES7PPHQU7AJ7QNTYHB2O3RPTGTVANCNFSM4MXNR7JQ>
.
|
@anaulin Ahh I see. I think I can fix this. @stationaery No problem! Let's stick with the preview text. |
Figured this out. According to these docs:
.mcnPreviewText{display: none !important;}
<!--*|IF:MC_PREVIEW_TEXT|*-->
<!--[if !gte mso 9]><!----><span class="mcnPreviewText" style="display:none; font-size:0px; line-height:0px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; visibility:hidden; mso-hide:all;">*|MC_PREVIEW_TEXT|*</span><!--<![endif]-->
<!--*|END:IF|*--> Seems pretty gross. But 🤷 |
My original thought was to use the RSS summary for the preview. We might still be able to do that if there is a merge tag for that, but I couldn't find one in the docs. (But there are different options when editing the template.) Currently we have: <summary type="html">{{ post.excerpt | escape }}</summary> in feed.xml |
Nice. (And, I mean, HTML email is pretty gross, as is MailChimp HTML, so, I feel like we're committed to the grossness here...) |
Ah, here's what I had seen before: https://mailchimp.com/help/rss-merge-tags/ However, I'm not sure if we can use |
I couldn't find any good documentation about RSS merge tags in the "preview" field. We might need to just test it. |
No description provided.
The text was updated successfully, but these errors were encountered: