Posting from my own microblog: Just feeds, and only titles?

Hi friends,

I’m coming back to Micro.blog after a long time away. I set up my long-form blog to cross-post to micro.blog years ago, and I’d like to experiment with sharing shorter posts here too. I need to re-learn how all this works!

As far as I can tell, the following seems to describe the one way to make new micro.blog posts from one’s own blog:

You configure your micro.blog account with one or more feeds to blogs that you author. When micro.blog sees a new feed entry, it extracts the contents of the entry’s <title> and the <link> elements, and makes a new micro.blog post out of it. The post is simply the text of the title, followed by a hyperlink back to the original post. Micro.blog doesn’t use any other information in the feed entry (e.g. the <content>, in an Atom feed).

Is all the above the gist of how this works? Are there other ways to accomplish this task, assuming technical competence on my part? (Can you tell if that I’m especially curious how to get newlines into my micro.blog posts, when my blogging platform doesn’t really smile on newlines in titles?)

Hey :wave:

For short posts, there should be no title in the feed. The Timeline display rules page has all the details. Here’s an example feed with one short post:

<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Feed for Micro.blog</title>
    <description>Short posts from me to you.</description>
    <link>https://example.com/</link>
    <atom:link href="https://example.com/microblog.xml" rel="self" type="application/rss+xml" />
    <pubDate>Mon, 21 Nov 2022 16:36:46 +0100</pubDate>
    <lastBuildDate>Mon, 21 Nov 2022 16:36:46 +0100</lastBuildDate>
    <item>
      <description>
        &lt;p&gt;Hello, world! 🎉&lt;/p&gt;
      </description>
      <pubDate>Mon, 21 Nov 2022 16:36:16 +0100</pubDate>
      <link>https://example.com/1669033432/</link>
      <guid isPermaLink="true">https://example.com/1669033432/</guid>
    </item>
  </channel>
</rss>
1 Like