Skip to content

feat: add syndicator-indienews package - #880

Draft
aciccarello wants to merge 13 commits into
getindiekit:mainfrom
aciccarello:feat/syndication-preprocess-hook
Draft

feat: add syndicator-indienews package#880
aciccarello wants to merge 13 commits into
getindiekit:mainfrom
aciccarello:feat/syndication-preprocess-hook

Conversation

@aciccarello

@aciccarello aciccarello commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Extends #882
Closes #860

Summary

Adds an indienews syndicator for webmention based syndication.

Note

This plugin writes the IndieNews URL into the syndication property of the post file. For IndieNews to actually discover the post, the post template must expose u-syndication in the HTML markup, and the site must send a Webmention to the IndieNews channel URL after publishing.

Changes

syndicator-indienews (new package)

  • New @indiekit/syndicator-indienews package for IndieNews.
  • Accepts a single options object or an array of options objects (for multiple language channels).
  • Each configured language registers as a separate syndication target.
  • Implements getSyndicationUrl(), returning the IndieNews channel URL.
  • No syndicate() method — IndieNews syndication is webmention-based; this plugin handles the file-write step only.

Interface

// Optional method on syndicator targets
async getSyndicationUrl(publication) {
  // return string | string[] | null | undefined
}

Configuration example

{
  "plugins": ["@indiekit/syndicator-indienews"],
  "@indiekit/syndicator-indienews": { "language": "en" }
}

Multiple languages:

{
  "@indiekit/syndicator-indienews": [
    { "language": "en" },
    { "language": "es" }
  ]
}

@aciccarello
aciccarello marked this pull request as ready for review August 17, 2026 03:01
@aciccarello aciccarello changed the title feat: add getSyndicationUrl hook and syndicator-indienews package feat: add syndicator-indienews package Aug 17, 2026
@aciccarello
aciccarello marked this pull request as draft August 17, 2026 18:10
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

Successfully merging this pull request may close these issues.

Make syndication available to file at creation for webmention based syndication

1 participant