X-Git-Url: http://www.git.stargrave.org/?p=linksexp.git;a=blobdiff_plain;f=opml.go;h=7eea9e426345e28ad2d1f7ef94cec7ae28f01c3b;hp=35b1f84c452610fc6c03668bbd5089de819c1f25;hb=HEAD;hpb=98a39af87db005cbc6fabbbdb784b39e552b17fe 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"`