atom/inlineOtherContent.go

16 lines
429 B
Go
Raw Normal View History

2024-10-13 17:19:40 +02:00
package atomfeed
type InlineOtherContent struct {
*CommonAttributes
Type MediaType `xml:"type,attr,omitempty"`
AnyElement []*any `xml:"anyelement,omitempty"`
}
2024-10-15 19:32:14 +02:00
func (i *InlineOtherContent) isContent() bool { return true }
func (i *InlineOtherContent) hasSRC() bool { return false }
func (i *InlineOtherContent) getType() string { return string(i.Type) }
2024-10-13 17:19:40 +02:00
func (i *InlineOtherContent) Check() error { return nil }