Documentation
¶
Overview ¶
Package mapping converts a feed item into a riverjs item.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultMapping ¶
DefaultMapping will always return an item. It: attempts to parse the PubDate, otherwise uses the current time; truncates the description to 280 characters; finds the correct Link and PermaLink; copies any Enclosures; and fills out the other properties by copying the correct values.
Types ¶
Click to show internal directories.
Click to hide internal directories.