Documentation ¶
Index ¶
- Constants
- Variables
- func AddSubscription(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminDateFormats(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminStats(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminUpdateFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AllFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AllFeedsOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Autodiscover(b []byte) (string, error)
- func BackendStart(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func BackendStop(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func CFix(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func CFixer(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ClearFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func DeleteAccount(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ExportOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func GetContents(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func GetFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ImportOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ImportOpmlTask(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ImportReader(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ImportReaderTask(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ListFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func LoginGoogle(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Logout(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Main(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func MarkAllRead(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func MarkRead(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Oauth2Callback(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ParseFeed(c appengine.Context, u string, b []byte) (*Feed, []*Story)
- func Sanitize(s string, u *url.URL) (string, string)
- func SaveOptions(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func SubscribeCallback(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func SubscribeFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Timeout(c appengine.Context, d time.Duration) appengine.Context
- func UpdateFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func UpdateFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func UploadOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- type DateFormat
- type Feed
- type Image
- type Includes
- type Opml
- type OpmlOutline
- type Read
- type Story
- type StoryContent
- type User
- type UserData
Constants ¶
View Source
const IDX_COL = "p"
View Source
const IMPORT_LIMIT = 10
View Source
const UpdateTime = time.Hour * 3
Variables ¶
View Source
var ( Angular string BootstrapCss string BootstrapJs string Jquery string JqueryUI string Underscore string )
View Source
var ErrNoRssLink = errors.New("No rss link found")
Functions ¶
func AddSubscription ¶
func AdminDateFormats ¶
func AdminStats ¶
func AdminUpdateFeed ¶
func AllFeedsOpml ¶
func Autodiscover ¶
func BackendStart ¶
func BackendStop ¶
func ClearFeeds ¶
func DeleteAccount ¶
func ExportOpml ¶
func GetContents ¶
func ImportOpml ¶
func ImportOpmlTask ¶
func ImportReader ¶
func ImportReaderTask ¶
func LoginGoogle ¶
func MarkAllRead ¶
func Oauth2Callback ¶
func SaveOptions ¶
func SubscribeCallback ¶
func SubscribeFeed ¶
func UpdateFeed ¶
func UpdateFeeds ¶
func UploadOpml ¶
Types ¶
type DateFormat ¶
type Feed ¶
type Feed struct { Url string `datastore:"-" goon:"id"` Title string `datastore:"t,noindex"` Updated time.Time `datastore:"u,noindex"` Date time.Time `datastore:"d,noindex"` Checked time.Time `datastore:"c,noindex"` NextUpdate time.Time `datastore:"n"` Link string `datastore:"l,noindex"` Errors int `datastore:"e,noindex"` Image string `datastore:"i,noindex"` Subscribed time.Time `datastore:"s,noindex"` // contains filtered or unexported fields }
func (Feed) IsSubscribed ¶
type Opml ¶
type Opml struct { XMLName string `xml:"opml"` Version string `xml:"version,attr"` Outline []*OpmlOutline `xml:"body>outline"` }
type OpmlOutline ¶
type OpmlOutline struct { Outline []*OpmlOutline `xml:"outline" json:",omitempty"` Title string `xml:"title,attr,omitempty" json:",omitempty"` XmlUrl string `xml:"xmlUrl,attr" json:",omitempty"` Type string `xml:"type,attr,omitempty" json:",omitempty"` Text string `xml:"text,attr,omitempty" json:",omitempty"` HtmlUrl string `xml:"htmlUrl,attr,omitempty" json:",omitempty"` }
type Story ¶
type Story struct { Id string `datastore:"-" goon:"id"` Parent *datastore.Key `datastore:"-" goon:"parent" json:"-"` Title string `datastore:"t,noindex"` Link string `datastore:"l,noindex"` Created time.Time `datastore:"c" json:"-"` Published time.Time `datastore:"p" json:"-"` Updated time.Time `datastore:"u,noindex" json:"-"` Date int64 `datastore:"e,noindex"` Author string `datastore:"a,noindex" json:",omitempty"` Summary string `datastore:"s,noindex"` MediaContent string `datastore:"m,noindex" json:",omitempty"` // contains filtered or unexported fields }
parent: Feed, key: story ID
type StoryContent ¶
type StoryContent struct { Id int64 `datastore:"-" goon:"id"` Parent *datastore.Key `datastore:"-" goon:"parent"` Content string `datastore:"c,noindex"` Compressed []byte `datastore:"z,noindex"` // contains filtered or unexported fields }
parent: Story, key: 1
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package atom defines XML data structures for an Atom feed.
|
Package atom defines XML data structures for an Atom feed. |
Package rss provides a basic interface for processing RSS version 2.0 feeds
|
Package rss provides a basic interface for processing RSS version 2.0 feeds |
Click to show internal directories.
Click to hide internal directories.