<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Andrea,</p>
<p>the driver documentation indicates that AUTHOR_NAME is only used
for Atom format output, and that by default the driver uses the
RSS format, so this behaves as expecte</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 27/08/2021 à 11:31, andy a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAHEdGZPV0c-srjP43-JGE7=wZBok1oh4WXz08smxvMN-uMxF=Q@mail.gmail.com">
<div dir="ltr">
<div class="markdown-here-wrapper">
<p>Hi,<br>
if I use AUTHOR_NAME option, I have no element in the XML
header.</p>
<p>Starting in example from this CSV</p>
<pre><code>description,link,pubDate,title,guid
a description,<a href="https://lorem.com/1431092533786918915,2021-08-27T03:13:43Z,a" moz-do-not-send="true">https://lorem.com/1431092533786918915,2021-08-27T03:13:43Z,a</a> title,<a href="https://lorem.com/1431092533786918915" moz-do-not-send="true">https://lorem.com/1431092533786918915</a>
</code></pre>
<p>and running </p>
<pre><code>ogr2ogr -f geoRSS -dsco TITLE="header title" -dsco LINK="<a href="https://lorem.com/feed.xml" moz-do-not-send="true">https://lorem.com/feed.xml</a>" -dsco DESCRIPTION="header description" -dsco AUTHOR_NAME="The great author" -dsco USE_EXTENSIONS="YES" tmp.xml tmp.csv -oo AUTODETECT_TYPE=YES
</code></pre>
<p>I have this</p>
<pre><code class="hljs language-xml"><span class="hljs-pi"><?xml version="1.0"?></span>
<span class="hljs-tag"><<span class="hljs-title">rss</span> <span class="hljs-attribute">version</span>=<span class="hljs-value">"2.0"</span> <span class="hljs-attribute">xmlns:georss</span>=<span class="hljs-value">"<a href="http://www.georss.org/georss" moz-do-not-send="true">http://www.georss.org/georss</a>"</span>></span>
<span class="hljs-tag"><<span class="hljs-title">channel</span>></span>
<span class="hljs-tag"><<span class="hljs-title">title</span>></span>header title<span class="hljs-tag"></<span class="hljs-title">title</span>></span>
<span class="hljs-tag"><<span class="hljs-title">description</span>></span>header description<span class="hljs-tag"></<span class="hljs-title">description</span>></span>
<span class="hljs-tag"><<span class="hljs-title">link</span>></span><a href="https://lorem.com/feed.xml" moz-do-not-send="true">https://lorem.com/feed.xml</a><span class="hljs-tag"></<span class="hljs-title">link</span>></span>
<span class="hljs-tag"><<span class="hljs-title">item</span>></span>
<span class="hljs-tag"><<span class="hljs-title">description</span>></span>a description<span class="hljs-tag"></<span class="hljs-title">description</span>></span>
<span class="hljs-tag"><<span class="hljs-title">link</span>></span><a href="https://lorem.com/1431092533786918915" moz-do-not-send="true">https://lorem.com/1431092533786918915</a><span class="hljs-tag"></<span class="hljs-title">link</span>></span>
<span class="hljs-tag"><<span class="hljs-title">pubDate</span>></span>Fri, 27 Aug 2021 03:13:43 GMT<span class="hljs-tag"></<span class="hljs-title">pubDate</span>></span>
<span class="hljs-tag"><<span class="hljs-title">title</span>></span>a title<span class="hljs-tag"></<span class="hljs-title">title</span>></span>
<span class="hljs-tag"><<span class="hljs-title">guid</span>></span><a href="https://lorem.com/1431092533786918915" moz-do-not-send="true">https://lorem.com/1431092533786918915</a><span class="hljs-tag"></<span class="hljs-title">guid</span>></span>
<span class="hljs-tag"></<span class="hljs-title">item</span>></span>
<span class="hljs-tag"></<span class="hljs-title">channel</span>></span>
<span class="hljs-tag"></<span class="hljs-title">rss</span>></span>
</code></pre>
<p>I’m using GDAL 2.4.4, released 2020/01/08. Do I have this
problem due to this old version?</p>
<p>Thank you</p>
</div>
<div>
<div>-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><span>___________________</span><br>
</div>
<div dir="ltr"><span><br>
</span></div>
<div dir="ltr">Andrea Borruso<br>
website: <a
href="https://medium.com/tantotanto"
target="_blank"
moz-do-not-send="true">https://medium.com/tantotanto</a><br>
38° 7' 48" N, 13° 21' 9" E,
EPSG:4326<br>
<span>___________________</span><br>
<br>
"cercare e saper riconoscere chi e
cosa,<br>
in mezzo all’inferno, non è
inferno, <br>
e farlo durare, e dargli spazio"<br>
<br>
Italo Calvino<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>