Registry / serialization / eduncan911-podcast

eduncan911-podcast

JSON →
library1.4.2gogounverified

Package podcast generates fully compliant iTunes and RSS 2.0 podcast feeds in Go using a simple API.

go get github.com/eduncan911/podcast
INSTALL
IMPORT
SIG · EDUNCAN911-PODCAST
E
eduncan911-podcast
serializationgov1.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

podcast
✓ github.com/eduncan911/podcast

Creates a podcast feed and adds an episode.

package main import ( "fmt" "github.com/eduncan911/podcast" ) func main() { p := &podcast.Podcast{ Title: "My Podcast", Description: "A sample podcast feed.", Link: "https://example.com", } item := podcast.Item{ Title: "Episode 1", Description: "First episode.", Link: "https://example.com/ep1", } p.AddItem(item) xml, _ := p.Encode() fmt.Println(string(xml)) }
Debug
Known issues
gotchaVersion 1.x does not support bidirectional marshalling; unmarshalling a serialized feed back into a Podcast struct may not work correctly.
fix
Use version 2.x when available for full round-trip support.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.4.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
eduncan911-podcast — go get eduncan911-podcast · libregistry