Documentation
¶
Index ¶
- func DecodeEntities(str string) string
- func IsExtension(p *xpp.XMLPullParser) bool
- func ParseDate(ds string) (t time.Time, err error)
- func ParseExtension(fe ext.Extensions, p *xpp.XMLPullParser) (ext.Extensions, error)
- func ParseNameAddress(nameAddressText string) (name string, address string)
- func ParseText(p *xpp.XMLPullParser) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeEntities ¶
DecodeEntities decodes escaped XML entities in a string and returns the unescaped string
func IsExtension ¶
func IsExtension(p *xpp.XMLPullParser) bool
IsExtension returns wether or not the current XML element is an extension element (if it has a non empty prefix)
func ParseDate ¶
ParseDate parses a given date string using a large list of commonly found feed date formats.
func ParseExtension ¶
func ParseExtension(fe ext.Extensions, p *xpp.XMLPullParser) (ext.Extensions, error)
ParseExtension parses the current element of the XMLPullParser as an extension element and updates the extension map
func ParseNameAddress ¶
ParseNameAddress parses name/email strings commonly found in RSS feeds of the format "Example Name (example@site.com)" and other variations of this format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.