我可能会问一些显而易见的问题,但是否可以使用数据URI将图像嵌入到RSS或atom提要中?
(如果我将它们嵌入其中,如何让提要读者理解?)
示例
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<image>
<url><![CDATA[data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==]]></url>
<title>Spain.info</title>
<width>48</width>
<height>48</height>
<link>https://en.wikipedia.org/wiki/Data_URI_scheme</link>
</image>
<title>Data URI scheme</title>
<atom:link href="https://en.wikipedia.org/wiki/Data_URI_scheme" rel="self" type="application/rss+xml" />
<link>https://en.wikipedia.org/wiki/Data_URI_scheme</link>
<description>Data URI scheme</description>
<lastBuildDate>Tue, 12 Jul 2016 19:49:39 +0000</lastBuildDate>
</channel>
</rss>https://stackoverflow.com/questions/38338162
复制相似问题