X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=opml.go;h=2fc7371660b0944e4e33e12904588a8526f05626;hb=HEAD;hp=6a17baafa52b375eeea14d962829bb518e4e1da2;hpb=e546208d84c0c241b16503539dc9070814d063c4;p=linksexp.git diff --git a/opml.go b/opml.go index 6a17baa..2fc7371 100644 --- a/opml.go +++ b/opml.go @@ -1,19 +1,17 @@ -/* -linksexp -- Texinfo/XBEL/OPML/urls autogeneration from recfile bookmark -Copyright (C) 2021 Sergey Matveev - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ +// linksexp -- Texinfo/XBEL/OPML/urls autogeneration from recfile bookmark +// Copyright (C) 2021-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . package main @@ -32,7 +30,7 @@ type Outline struct { } type OPML struct { - XMLName xml.Name `xml:"xbel"` + XMLName xml.Name `xml:"opml"` Version string `xml:"version,attr"` Head string `xml:"head"` Outlines []Outline `xml:"body>outline"`