Documentation
¶
Overview ¶
Package rss defines defaults and formatting constants for site feed generation.
Index ¶
Constants ¶
View Source
const ( // DefaultFeedInputDir is the default blog source directory. DefaultFeedInputDir = "docs/blog" // DefaultFeedOutPath is the default output path for the Atom feed. DefaultFeedOutPath = "site/feed.xml" // DefaultFeedBaseURL is the default base URL for feed entry links. DefaultFeedBaseURL = "https://ctx.ist" // FeedAtomNS is the Atom XML namespace URI. FeedAtomNS = "http://www.w3.org/2005/Atom" // FeedTitle is the default feed title. FeedTitle = "ctx blog" // FeedDefaultAuthor is the default author for feed entries. FeedDefaultAuthor = "Jose Alekhinne" // FeedXMLHeader is the XML declaration prepended to feed output. FeedXMLHeader = `<?xml version="1.0" encoding="utf-8"?>` + token.NewlineLF )
Site feed defaults.
View Source
const ( FeedPath = "/feed.xml" BlogPath = "/blog/" LinkRelSelf = "self" TimeSuffixZ = "T00:00:00Z" SkipSentinel = " - " URLSlash = "/" )
Feed URL path constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.