miniflux/internal/reader/rss/atom.go
2024-03-15 18:40:06 -07:00

20 lines
495 B
Go

// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package rss // import "miniflux.app/v2/internal/reader/rss"
import (
"miniflux.app/v2/internal/reader/atom"
)
type AtomAuthor struct {
Author atom.AtomPerson `xml:"http://www.w3.org/2005/Atom author"`
}
func (a *AtomAuthor) PersonName() string {
return a.Author.PersonName()
}
type AtomLinks struct {
Links []*atom.AtomLink `xml:"http://www.w3.org/2005/Atom link"`
}