feed

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package feed provides the "ctx site feed" subcommand.

Package feed implements the ctx site feed subcommand.

It generates an Atom/RSS feed from journal entries for site publishing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx site feed" subcommand.

Returns:

  • *cobra.Command: Configured feed generation subcommand

func Run

func Run(cmd *cobra.Command, blogDir, outPath, baseURL string) error

Run orchestrates scanning and generation.

Parameters:

  • cmd: Cobra command for output messages
  • blogDir: Path to the blog posts directory
  • outPath: Output path for the generated feed
  • baseURL: Base URL for entry links

Returns:

  • error: Non-nil if scanning or generation fails

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL