Skip to content

Check pre-build feed to determine how many posts to update #4

Open
@aciccarello

Description

@aciccarello

I would like to be able to have the plugin dynamically determine the limit value based on how many feed values have updated values later than the pre-build feed updated time.

Code flow

  • Before the build, fetch the feed.xml file and read the feed.updated value
  • After the build, look at the updated feed.xml file and check how many items in the feed have an updated value after the pre-build feed updated value
  • Call @remy/webmention with the updated count as the limit value

Considerations

Ideally, the upstream dependency would accepted the since value, but that would require work on both sides. The above flow could be opt-in with a input value such as limit: auto as it would require a more complex feed.xml file with valid updated values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions