質問編集履歴
3
解決内容の表示
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,4 +30,12 @@
|
|
30
30
|
https://publishers.smartnews.com/ja/smartformat/specification_rss/
|
31
31
|
|
32
32
|
※ちなみに下記コードでも同様に"&"が含まれたURLが出てダメでした
|
33
|
-
<?php echo get_the_post_thumbnail_url($post->ID, 'large');?>
|
33
|
+
<?php echo get_the_post_thumbnail_url($post->ID, 'large');?>
|
34
|
+
|
35
|
+
|
36
|
+
皆様有難うございました。
|
37
|
+
下記の追加で解決したようです。
|
38
|
+
<?php
|
39
|
+
$url = get_the_post_thumbnail_url($post->ID, 'large')
|
40
|
+
?>
|
41
|
+
<media:thumbnail><?php echo htmlentities($url, ENT_XHTML);?> </media:thumbnail>
|
2
駄目だったコードを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,4 +27,7 @@
|
|
27
27
|
▼SmartFormat 仕様書
|
28
28
|
https://publishers.smartnews.com/ja/smartformat/specification/
|
29
29
|
▼SmartFormat 仕様書 -- RSS2.0準拠
|
30
|
-
https://publishers.smartnews.com/ja/smartformat/specification_rss/
|
30
|
+
https://publishers.smartnews.com/ja/smartformat/specification_rss/
|
31
|
+
|
32
|
+
※ちなみに下記コードでも同様に"&"が含まれたURLが出てダメでした
|
33
|
+
<?php echo get_the_post_thumbnail_url($post->ID, 'large');?>
|
1
SmartFormat 仕様書を追加しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,4 +21,10 @@
|
|
21
21
|
どのように変更すれば良いのでしょうか?
|
22
22
|
|
23
23
|
どなたかわかる方がいましたら
|
24
|
-
ご教示、お願い申しげます。
|
24
|
+
ご教示、お願い申しげます。
|
25
|
+
|
26
|
+
※ちなみにRSSの仕様書は下記です。
|
27
|
+
▼SmartFormat 仕様書
|
28
|
+
https://publishers.smartnews.com/ja/smartformat/specification/
|
29
|
+
▼SmartFormat 仕様書 -- RSS2.0準拠
|
30
|
+
https://publishers.smartnews.com/ja/smartformat/specification_rss/
|