From 07c9e4322a172070897f0d4db57b7bd07f8dd2e3 Mon Sep 17 00:00:00 2001 From: Michael K Date: Sat, 29 Nov 2014 01:19:55 +0100 Subject: [PATCH] Added comment --- feed.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feed.go b/feed.go index 0d53d40..1425dfe 100644 --- a/feed.go +++ b/feed.go @@ -298,6 +298,8 @@ func (this *Feed) testVersions() bool { return true } +// Returns the type of the feed, ie. "atom" or "rss", and the version number as an array. +// The first item in the array is the major and the second the minor version number. func (this *Feed) GetVersionInfo(doc *xmlx.Document) (ftype string, fversion [2]int) { var node *xmlx.Node