Documentation
¶
Index ¶
Constants ¶
View Source
const (
TypeRss
)
Variables ¶
View Source
var CreateSql = []string{
`create table if not exists feeder (
id integer primary key autoincrement,
type integer,
name text unique,
url text unique,
time timestamp
)`,
`create table if not exists fedentry (
id integer primary key autoincrement,
feeder integer,
link integer,
title integer,
time timestamp,
unique (feeder, link),
unique (feeder, title)
)`}
View Source
var ErrGetHTTP = fmt.Errorf("http get error")
Functions ¶
Types ¶
type Item ¶
type Item struct {
Title string `xml:"title"`
Link string `xml:"link"`
Comments string `xml:"comments"`
PubDate string `xml:"pubDate"`
GUID string `xml:"guid"`
Category []string `xml:"category"`
Enclosure ItemEnclosure `xml:"enclosure"`
Description string `xml:"description"`
Content string `xml:"content"`
Encoded string `xml:"encoded"`
}
type ItemEnclosure ¶
Click to show internal directories.
Click to hide internal directories.