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

Adjust layout for This Week in Fluvio newsletter publishing #342

Open
tjtelan opened this issue Jun 17, 2022 · 1 comment
Open

Adjust layout for This Week in Fluvio newsletter publishing #342

tjtelan opened this issue Jun 17, 2022 · 1 comment

Comments

@tjtelan
Copy link
Contributor

tjtelan commented Jun 17, 2022

The goal is to be ready for fully automate the delivery of the newsletter on the weeks we publish.

For now, there are a few manual tasks I've been performing that can be fixed with only layout updates and shortcode.

Current process

  1. Copy markdown from our simple newsletter preamble, but exclude the subscription call-to-action, and the now hiring banner.
  2. Add a horizontal rule
  3. Copy rest of post to bottom of file
  4. Replace any Hugo shortcodes (Luckily, this is usually only replacing internal link refs with external links)
  5. If we are embedding video (so far, only YouTube), rewrite the entire section to be compatible with email, or at least Gmail (See example below)
    • Full title of post, as hyperlink to main YouTube page
    • Hotlink the official YouTube image preview
    • Call to action link to YouTube
  6. Copy all that markdown into Buttondown's UI, send draft to myself to verify render and links, then send to all subscribers

Video markdown rewrite example

This is what took place for This Week in Fluvio 35

Website's video markdown

## New video
[How to power event driven applications with InfinyOn Cloud](https://www.youtube.com/watch?v=o6sVgSXrOXk)
<iframe width="640" height="480" src="https://www.youtube.com/embed/o6sVgSXrOXk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>


Newsletter's video markdown

## New Video

[How to power event driven applications with InfinyOn Cloud](https://www.youtube.com/watch?v=o6sVgSXrOXk) 

[![Click image to view on YouTube](https://img.youtube.com/vi/o6sVgSXrOXk/0.jpg)](https://www.youtube.com/watch?v=o6sVgSXrOXk)

[Link to view on YouTube](https://www.youtube.com/watch?v=o6sVgSXrOXk)
@sehz
Copy link
Contributor

sehz commented Jun 17, 2022

Can we add some styling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants