Tags: JohnSundell/Publish
Tags
Adopt Plot's new Component-based API (#111) - Bump Plot to version `0.9.0`. - Publish now ships with a few implementations of Plot's new `Component` protocol - specifically `Markdown` (for rendering Markdown inline within a component hierarchy), `VideoPlayer` (for rendering an inline video player), and an extension that makes it possible to directly use Plot's `AudioPlayer` component with Publish's `Audio` model. - The `Content.Body` type now also conforms to `Component`, which makes it possible to place such instances directly within a component hierarchy. That type has now also been fully documented, since it was previously missing documentation for some of its properties and initializers. - The built-in Foundation theme as been rewritten using the new component API. While it remains functionally identical to the previous implementation, it should act as a nice example of how this new API can be used. - Because Publish now ships with a type called `Markdown`, it's possible that some API users might need to disambiguate between this new type and Ink's `Markdown` type. However, that tradeoff was considered worth it, since using the new `Markdown` component will likely be a much more common use case.
Enable filtering of podcast items using a predicate (#90) This change enables a Predicate to be passed to the generatePodcastFeed publishing step, which lets the user conditionally decide which items to include in the feed. This feature was previously added to standard RSS feeds, but now podcast feeds also have the same capability.
RSS: Add option to specify title suffixes for items (#52) This change adds a new `titleSuffix` property to `ItemRSSProperties` which, just like `titlePrefix`, enables a string to be attached to an item’s title when it’s being rendered as part of an RSS/podcast feed.