質問編集履歴

4

最終の解決方法の追記

2016/10/09 06:37

投稿

kirigiris
kirigiris

スコア14

test CHANGED
File without changes
test CHANGED
@@ -253,3 +253,13 @@
253
253
  </rss>
254
254
 
255
255
  ```
256
+
257
+
258
+
259
+ ---(追記)------------
260
+
261
+
262
+
263
+ 「content:encoded」の'encoded'のみにすると全文表示されました。
264
+
265
+ どうも有難うございました!

3

コード内のアドレス情報を修正

2016/10/09 06:37

投稿

kirigiris
kirigiris

スコア14

test CHANGED
File without changes
test CHANGED
@@ -170,7 +170,7 @@
170
170
 
171
171
 
172
172
 
173
- (追記)
173
+ ---(追記)------------
174
174
 
175
175
 
176
176
 
@@ -188,11 +188,11 @@
188
188
 
189
189
  <channel>
190
190
 
191
- <title>Shop Diary</title>
191
+ <title>Diary</title>
192
-
192
+
193
- <atom:link href="http://example.com/blog/p-love/feed" rel="self" type="application/rss+xml"/>
193
+ <atom:link href="http://example.com/blog/feed" rel="self" type="application/rss+xml"/>
194
-
194
+
195
- <link>http://example.com/blog/p-love</link>
195
+ <link>http://example.com/blog</link>
196
196
 
197
197
  <description>by example</description>
198
198
 
@@ -208,11 +208,11 @@
208
208
 
209
209
  <item>
210
210
 
211
- <title>Shop Diary_投稿テスト</title>
211
+ <title>Diary_投稿テスト</title>
212
-
212
+
213
- <link>http://example.com/blog/p-love/archives/6</link>
213
+ <link>http://example.com/blog/archives/6</link>
214
-
214
+
215
- <comments>http://example.com/blog/p-love/archives/6#comments</comments>
215
+ <comments>http://example.com/blog/archives/6#comments</comments>
216
216
 
217
217
  <pubDate>Thu, 24 Dec 2009 16:52:17 +0000</pubDate>
218
218
 
@@ -224,11 +224,11 @@
224
224
 
225
225
  </category>
226
226
 
227
- <guid isPermaLink="false">http://example.com/blog/p-love/?p=6</guid>
227
+ <guid isPermaLink="false">http://example.com/blog/?p=6</guid>
228
228
 
229
229
  <description>
230
230
 
231
- <![CDATA[ Shop Diary_投稿テストの 本文と、 写真です。 ]]>
231
+ <![CDATA[ Diary_投稿テストの 本文と、 写真です。 ]]>
232
232
 
233
233
  </description>
234
234
 
@@ -236,13 +236,13 @@
236
236
 
237
237
  <![CDATA[
238
238
 
239
- <p><span style="color: #000000;">Shop Diary_投稿テストの</span></p> <p><span style="color: #000000;">本文と、</span></p> <div style="word-break: break-all; width: 883.828px; overflow: hidden; font-size: 14.4px;"><span style="color: #000000;"><br style="word-break: break-all;" /><img class="alignnone size-large wp-image-12" title="DSC00000" src="http://example.com/blog/wp-content/uploads/2009/12/DSC00000-500x332.jpg" alt="DSC00000" width="500" height="332" /></span></div> <div style="word-break: break-all; width: 883.828px; overflow: hidden; font-size: 14.4px;">写真です。</div>
239
+ <p><span style="color: #000000;">Diary_投稿テストの</span></p> <p><span style="color: #000000;">本文と、</span></p> <div style="word-break: break-all; width: 883.828px; overflow: hidden; font-size: 14.4px;"><span style="color: #000000;"><br style="word-break: break-all;" /><img class="alignnone size-large wp-image-12" title="DSC00000" src="http://example.com/blog/wp-content/uploads/2009/12/DSC00000-500x332.jpg" alt="DSC00000" width="500" height="332" /></span></div> <div style="word-break: break-all; width: 883.828px; overflow: hidden; font-size: 14.4px;">写真です。</div>
240
240
 
241
241
  ]]>
242
242
 
243
243
  </content:encoded>
244
244
 
245
- <wfw:commentRss>http://example.com/blog/p-love/archives/6/feed</wfw:commentRss>
245
+ <wfw:commentRss>http://example.com/blog/archives/6/feed</wfw:commentRss>
246
246
 
247
247
  <slash:comments>0</slash:comments>
248
248
 

2

マナーの認識不足で度々失礼しました。編集いたしました。

2016/10/09 03:56

投稿

kirigiris
kirigiris

スコア14

test CHANGED
File without changes
test CHANGED
@@ -165,3 +165,91 @@
165
165
  </script>
166
166
 
167
167
  ```
168
+
169
+
170
+
171
+
172
+
173
+ (追記)
174
+
175
+
176
+
177
+ 「content:encoded」の部分のようですが、取得表示する方のコードにそのまま書き込んでもやはり表示できませんでした。
178
+
179
+
180
+
181
+ ```
182
+
183
+ This XML file does not appear to have any style information associated with it. The document tree is shown below.
184
+
185
+
186
+
187
+ <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">
188
+
189
+ <channel>
190
+
191
+ <title>Shop Diary</title>
192
+
193
+ <atom:link href="http://example.com/blog/p-love/feed" rel="self" type="application/rss+xml"/>
194
+
195
+ <link>http://example.com/blog/p-love</link>
196
+
197
+ <description>by example</description>
198
+
199
+ <lastBuildDate>Sun, 09 Oct 2016 03:09:03 +0000</lastBuildDate>
200
+
201
+ <generator>http://wordpress.org/?v=2.8.6</generator>
202
+
203
+ <language>ja</language>
204
+
205
+ <sy:updatePeriod>hourly</sy:updatePeriod>
206
+
207
+ <sy:updateFrequency>1</sy:updateFrequency>
208
+
209
+ <item>
210
+
211
+ <title>Shop Diary_投稿テスト</title>
212
+
213
+ <link>http://example.com/blog/p-love/archives/6</link>
214
+
215
+ <comments>http://example.com/blog/p-love/archives/6#comments</comments>
216
+
217
+ <pubDate>Thu, 24 Dec 2009 16:52:17 +0000</pubDate>
218
+
219
+ <dc:creator>example</dc:creator>
220
+
221
+ <category>
222
+
223
+ <![CDATA[ no category ]]>
224
+
225
+ </category>
226
+
227
+ <guid isPermaLink="false">http://example.com/blog/p-love/?p=6</guid>
228
+
229
+ <description>
230
+
231
+ <![CDATA[ Shop Diary_投稿テストの 本文と、 写真です。 ]]>
232
+
233
+ </description>
234
+
235
+ <content:encoded>
236
+
237
+ <![CDATA[
238
+
239
+ <p><span style="color: #000000;">Shop Diary_投稿テストの</span></p> <p><span style="color: #000000;">本文と、</span></p> <div style="word-break: break-all; width: 883.828px; overflow: hidden; font-size: 14.4px;"><span style="color: #000000;"><br style="word-break: break-all;" /><img class="alignnone size-large wp-image-12" title="DSC00000" src="http://example.com/blog/wp-content/uploads/2009/12/DSC00000-500x332.jpg" alt="DSC00000" width="500" height="332" /></span></div> <div style="word-break: break-all; width: 883.828px; overflow: hidden; font-size: 14.4px;">写真です。</div>
240
+
241
+ ]]>
242
+
243
+ </content:encoded>
244
+
245
+ <wfw:commentRss>http://example.com/blog/p-love/archives/6/feed</wfw:commentRss>
246
+
247
+ <slash:comments>0</slash:comments>
248
+
249
+ </item>
250
+
251
+ </channel>
252
+
253
+ </rss>
254
+
255
+ ```

1

例示用ドメインを修正いたしました。

2016/10/09 03:35

投稿

kirigiris
kirigiris

スコア14

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  $(function() {
34
34
 
35
- var setURL = 'http://●●●●●.com/blog/feed';
35
+ var setURL = 'http://example.com/blog/feed';
36
36
 
37
37
  var setNUM = 10;
38
38