Documentation ¶
Overview ¶
Package opml implements a parser for OPML files. See also: http://dev.opml.org/spec2.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OPML ¶
type OPML struct { // XML name. XMLName xml.Name `xml:"opml"` // OPML standard version implemented by this file. Version string `xml:"version,attr"` // Title of the OPML document. Title string `xml:"head>title"` // Time the document was created. Created string `xml:"head>dateCreated"` // Array of outlines, each represents a subscription. Outlines []Outline `xml:"body>outline"` }
OPML represent an OPML document.
func Create ¶
Create returns a new OPML document with the given title. However, this is just syntax sugar. A file is only written after a call Save, it's the callers responsibility to do so if desired.
Click to show internal directories.
Click to hide internal directories.