sebastienrousseau / rssgen

A Rust library for generating, serializing, and deserializing RSS feeds for various RSS versions.
http://doc.rssgen.co/
Apache License 2.0
2 stars 0 forks source link

bug: Error: Unknown XML element found: Unknown channel element: image #2

Open jguhlin opened 2 days ago

jguhlin commented 2 days ago

Thanks for this crate! I know it's new, but I'm having issues with this:

Error: Unknown XML element found: Unknown channel element: image

No pressure, just wanted to pass it along. This should be RSS 2.0

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>GETS Open Tenders or Quotes</title>
    <link>https://www.gets.govt.nz//ExternalIndex.htm</link>
    <description>This feed list the current open tenders or requests for quote listed on the GETS.</description>
    <image>
      <title>Open tenders or Requests for Quote from GETS</title>
      <url>https://www.gets.govt.nz//ext/default/img/getsLogo.jpg</url>
      <link>https://www.gets.govt.nz//ExternalIndex.htm</link>
    </image>
...
sebastienrousseau commented 1 day ago

Thanks @jguhlin I will look into it! Much appreciated