Docs contents

Micropub

Publishedt can post each new item in your feed to your own site through Micropub. Each one is posted as a note or an article, with its images.

Connect a site

Your site needs a Micropub endpoint and IndieAuth, and it has to advertise both on its home page or in its headers. That's where Publishedt looks for them.

  1. In Publishedt, go to Destinations, then Connect a destination, and choose Micropub.
  2. Enter your site's address under Your site, such as https://example.com, and choose Continue with your site.
  3. Your site prompts you to sign in and approve Publishedt. Publishedt only requests permission to create posts and upload media, never to change or delete them.
  4. You'll return to the destination's page with the site connected. Choose Send a test post to check that it works.

If it worked, Publishedt shows Test post sent, and its View it link opens the post on your site. Activity lists it as Test post with the status Posted, and the destination shows as Working. If it didn't work, the message gives the reason, in the same words Activity uses.

The test post is a real, public post on your site, and your site may share it with your followers, so delete it once you've seen it.

The address you sign in as has to belong to the address you entered. If your site signs you in as a different address, nothing gets connected, and Publishedt shows "That site signed in as a different address than the one you entered."

You can connect each site once per workspace. If your site offers a way to renew the sign-in, Publishedt uses it, so you don't have to sign in again.

Next, route a feed to it, then use its template to decide what goes in each note.

Connect with a token

If your site gives out tokens for apps, sometimes called app tokens or access tokens, you can skip the sign-in. Your site still needs a Micropub endpoint advertised on its home page or in its headers, but it doesn't need IndieAuth.

  1. On your site, create a token for Publishedt and copy it.
  2. In Publishedt, choose Micropub, then Use a token instead.
  3. Enter your site's address under Your site, paste the token under Token, and choose Connect with a token.
  4. Choose Send a test post on the destination's page, and check it the same way as above.

Publishedt finds the endpoint from your site's address, then checks the token there. Publishedt only sends the token to your site's Micropub and media endpoints, and only after it has found them.

The token posts to whichever blog your site's server calls its default. Keep it private. Anyone who has it can post to that blog. Publishedt stores it encrypted and never shows it again.

To connect a different blog, use that blog's own token.

If a server doesn't say which blog a token is for, Publishedt counts it as one account and can't tell two of its tokens apart. When you reconnect, use a token for the same blog.

Reconnect

  • A site you signed in to: choose Reconnect on the destination's page, and Publishedt signs you in again as the same address.
  • A site connected by a token: choose Reconnect on the destination's page, create a new token for the same blog, and paste it. Publishedt rejects a token for a different blog.

Note or article

Each route chooses what it posts under Post as:

  • Note posts your template's text. It's the default.
  • Article uses the item's title as the post's name, and the item's summary plus a link to it as the post's text. An item without a title posts as a note.

What's posted

  • Text: the post is sent as plain text, in a single h-entry. Publishedt doesn't send HTML.
  • Tags: the item's tags are sent as the post's categories. Every route sends them, and a template can't leave them out.
  • Images: up to 4 of the item's images. Publishedt uploads each one to your site's media endpoint, along with its alt text when the item has some. If your site doesn't have a media endpoint, Publishedt sends each image's address instead. If your site rejects an image, it's left off, and Activity shows why.
  • A leading @: some sites treat a post that starts with @ as a reply and drop its photos. Publishedt puts a no-break space in front, so your site treats it as a post.

Options

A Micropub route has one option beyond its template and its posts per hour: Post as.

Limits

  • Characters: there's no limit. Your site decides.
  • Images: at most 4 images per post.
  • Posts per day: your plan sets a daily cap for each destination. See Pricing.

Activity links each post to the address your site gives back when it creates the post. If your site doesn't give one back, there's no Posted link, and the test post's message has no View it.

Posting twice

Micropub doesn't have an idempotency key, so Publishedt never resends a post that might already be on your site. If a post never gets a response, Activity shows it as Not confirmed. Check your site, and choose Post again only if the post isn't there.

When the site stops accepting the sign-in

If the destination shows Needs reconnecting with the message "Your site no longer accepts Publishedt's access", choose Reconnect on the destination's page. Posts are queued until you do.

This happens when your site revokes Publishedt's access, or when the sign-in expires and can't be renewed.

What each failure means

Activity shows What it means
Your site no longer accepts Publishedt's access. Reconnect it to keep posting. The site no longer accepts the access Publishedt has for it: it was revoked, or ran out and couldn't be renewed. Posts wait. Open the destination and choose Reconnect.
Publishedt couldn't read this destination's saved access. Reconnect it to keep posting. The saved access can't be read. Posts wait. Open the destination and choose Reconnect.
Your site rejected the post. The destination rejected this post and gave a reason. It isn't retried. Fix what it names, then choose Try again in Activity.
Your site had an error. The destination kept responding with an error. Publishedt retried, waiting longer each time, then stopped. Choose Try again in Activity.
Your site took too long to respond. Each try timed out before the post was sent. Nothing posted. Choose Try again in Activity.
Publishedt couldn't reach your site. Publishedt couldn't connect on any try. Nothing posted. Choose Try again in Activity.
Publishedt couldn't confirm whether this posted. Check your site before posting it again. The post was sent, but no response came, so Publishedt can't tell whether it was posted. Check the destination. If the post isn't there, post it again from Activity.
Posted without n image(s) that your site rejected. A note, not a failure: the post was sent without some images. The table below shows why for each.

Images

Why an image was left off What it means
An image's address isn't a public website. The image is on a private network, which Publishedt never connects to.
Publishedt couldn't download an image from the feed's site. The image's address didn't respond.
A linked file isn't a picture Publishedt can post. The file at the image's address isn't an image.
An image is in a format Publishedt can't post, such as HEIC. The image is in a format that can't be posted, such as HEIC or an animated AVIF. Use JPEG, PNG, GIF, WebP, or AVIF.
An image is too large to process. The image is over 10 MB, or has too many pixels to open.
An image couldn't be made small enough for your site. The image couldn't be made small enough for the destination's size limit.
Your site rejected an image. The destination rejected the image.

For failures any destination can run into, see Getting started.

Something wrong on this page? Contact support@publishedt.app.