summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-28 13:21:31 -0400
committerdemo <demo@antix1>2026-05-28 13:21:31 -0400
commitc679e48964a6fa2bc2bc54fa6541c113e41ca672 (patch)
treeb23fd2a99020c226f3593e745f41b2e223dbd88a
parent6b39b2b04e037b809537ec2b6209b62b114dceaf (diff)
feat: place comment before URL listing
There could be a lot of URLs, so this should be more user-friendly.
-rw-r--r--xml.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.go b/xml.go
index 51c9f93..e1a253f 100644
--- a/xml.go
+++ b/xml.go
@@ -9,8 +9,8 @@ import (
type XMLURLset struct {
XMLName xml.Name `xml:"urlset"`
Xmlns string `xml:"xmlns,attr"`
- URLs []URL `xml:"url"`
Comment string `xml:",comment"`
+ URLs []URL `xml:"url"`
}
type URL struct {