DEV Community

Discussion on: I can't make up my mind about Twitter lately

Collapse
 
scottw profile image
Scott Watermasysk

Kind of a different direction....but I recently added a section of my blog called Shorts.

The goal is to post tweet-sized bits of content (ideas, links to other sites, etc) without having to give all control/content to Twitter.

I like the idea because it allows me to be more active on Twitter (well, to be clear, I just started doing this), without spending as much time on Twitter and helping to ensure the content I find important has a longer shelf life than your common tweet.

I use Jekyll for my blog, so I went the route of creating a separate content feed and then built a custom hook to help ensure the content was formatted properly for twitter.

Collapse
 
victoria profile image
Victoria Drake

Thank you Scott, this is excellent. I had some unformed notions along this line, about finding a venue for micro-blogging with the same concerns you have. It’s what originally took me to Mastodon, though I can’t quite put a finger on why that isn’t the solution for me either. Your idea sounds promising!

I can create a separate RSS feed with Hugo as well. What are you using for the hook that formats your shorts for Twitter?

Collapse
 
scottw profile image
Scott Watermasysk

I generate a separate feed (scottw.com/shortfeed.xml) and use Zapier to send it to Twitter.

The code is very Jekyll/Ruby focused: github.com/scottwater/blog/blob/ma...

  • Title + Content
  • Link_URL (a link to an external source)

If the above is over 280 characters, I try to intelligently truncate it and include a link to my blog post. This gives me the flexibility to write more and then have post finished on my blog.

Thread Thread
 
victoria profile image
Victoria Drake

Thank you Scott! This is inspirational!