barefeed


barefeed is a BARE-based format that allows for easy portability of rss and atom feeds.


Note: this schema is still subject to change.


The following is the currently defined schema:

type Timestamp i64

enum FeedType {
	ATOM
	RSS
}

enum TextType {
	TEXT
	HTML
	XHTML
}

type Text {
	textType: TextType
	value: string
}

type Link {
	url: string
	linkType: string
	rel: string
	length: i64
}

type Person {
	name: string
	email: optional<string>
	uri: optional<string>
}

type FeedV1 {
	path: string
	id: string
	generator: optional<string>
	feedType: FeedType
	title: Text
	updated: Timestamp
	description: optional<Text>
	entries: []string
	authors: []Person
	links: []Link
}

type EntryV1 {
	feedPath: string
	id: string
	title: Text
	content: Text
	published: Timestamp
	updated: Timestamp
	authors: []Person
	links: []Link
}

type Feed (FeedV1)
type Entry (EntryV1)

type Message {
	created: Timestamp
	generator: string
	feeds: map[string]Feed
	entries: map[string]Entry
	unread: map[string]i64
	favorite: map[string]Timestamp
}


Known implementations


Go


go-barefeed


Other Links


BARE