Documentation
¶
Index ¶
Constants ¶
View Source
const (
// API is the format string for a sourceforge RSS feed
API = "https://sourceforge.net/projects/%s/rss?path=/%s"
)
Variables ¶
View Source
var ( // TarballRegex matches SourceForge sources TarballRegex = regexp.MustCompile("https?://.*sourceforge.net/projects?/(.+)/files/(.+/)?(.+?)[\\-_]([\\d]+(?:.\\d+)*\\w*?)\\.(?:zip|tar\\..+z.*)(?:\\/download)?$") // ProjectRegex matches SourceForge sources ProjectRegex = regexp.MustCompile("https?://.*sourceforge.net/projects?/(.+)/(?:files/)?(.+?/)?(.+?)[\\-_]([\\d]+(?:.\\d+)*\\w*?).+$") )
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
XMLName xml.Name `xml:"item"`
Link string `xml:"link"`
Date string `xml:"pubDate"`
}
Item represents an entry in the RSS Feed
type Provider ¶
type Provider struct{}
Provider is the upstream provider interface for SourceForge
Click to show internal directories.
Click to hide internal directories.