X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;ds=sidebyside;f=opml.go;h=6a17baafa52b375eeea14d962829bb518e4e1da2;hb=HEAD;hp=35b1f84c452610fc6c03668bbd5089de819c1f25;hpb=98a39af87db005cbc6fabbbdb784b39e552b17fe;p=linksexp.git diff --git a/opml.go b/opml.go index 35b1f84..2fc7371 100644 --- a/opml.go +++ b/opml.go @@ -1,19 +1,17 @@ -/* -linksexp -- Texinfo/XBEL/OPML/urls autogeneration from recfile bookmark -Copyright (C) 2021-2022 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"`