0

RSSフィードに画像を追加する必要がありますが、表示されません。

私のコードは次のとおりです。

var item = new SyndicationItem
(
    title: Title,
    content: Content,
    itemAlternateLink: new Uri(bla)
);
                    
item.ElementExtensions.Add(
    new XElement("enclosure",
        new XAttribute("type", "image/jpeg"),
        new XAttribute("url", new Uri(Uri))
    ).CreateReader()
);                   

使用するElementExtensionsとRSSに画像へのリンクが表示されますが、リンクをクリックせずに画像を直接表示したいと思います。出来ますか?

4

1 に答える 1