質問編集履歴

6

リンク

2018/08/15 02:57

投稿

shut9
shut9

スコア14

test CHANGED
File without changes
test CHANGED
@@ -300,7 +300,7 @@
300
300
 
301
301
  ソースコードを以下に置きます。
302
302
 
303
- https://www.dropbox.com/s/7sbnsw11imlxblh/source.py?dl=0
303
+ [https://www.dropbox.com/s/7sbnsw11imlxblh/source.py?dl=0](https://www.dropbox.com/s/7sbnsw11imlxblh/source.py?dl=0)
304
304
 
305
305
 
306
306
 

5

補足の修正

2018/08/15 02:57

投稿

shut9
shut9

スコア14

test CHANGED
File without changes
test CHANGED
@@ -298,6 +298,12 @@
298
298
 
299
299
  (すみません、本サイトの表示の都合上、行頭に「.」を入れていますが、実際にはいれていません。)
300
300
 
301
+ ソースコードを以下に置きます。
302
+
303
+ https://www.dropbox.com/s/7sbnsw11imlxblh/source.py?dl=0
304
+
305
+
306
+
301
307
  """
302
308
 
303
309
  template = """<?xml version="1.0" encoding="utf-8"?>
@@ -359,9 +365,3 @@
359
365
 
360
366
 
361
367
  ![プレビュー](c7e22e185fffc328121284969f1bdccf.png)
362
-
363
-
364
-
365
- ソースコードは以下です
366
-
367
- https://www.dropbox.com/s/7sbnsw11imlxblh/source.py?dl=0

4

補足の修正

2018/08/15 02:54

投稿

shut9
shut9

スコア14

test CHANGED
File without changes
test CHANGED
@@ -359,3 +359,9 @@
359
359
 
360
360
 
361
361
  ![プレビュー](c7e22e185fffc328121284969f1bdccf.png)
362
+
363
+
364
+
365
+ ソースコードは以下です
366
+
367
+ https://www.dropbox.com/s/7sbnsw11imlxblh/source.py?dl=0

3

補足の修正

2018/08/15 02:53

投稿

shut9
shut9

スコア14

test CHANGED
File without changes
test CHANGED
@@ -296,7 +296,7 @@
296
296
 
297
297
  教えていただいたサイトを元に、以下のように書き換えてみましたが、添付画像のように投稿されています。
298
298
 
299
-
299
+ (すみません、本サイトの表示の都合上、行頭に「.」を入れていますが、実際にはいれていません。)
300
300
 
301
301
  """
302
302
 
@@ -310,27 +310,27 @@
310
310
 
311
311
  <content type="text/x-markdown">
312
312
 
313
- # 見出し1 #################################
313
+ . # 見出し1 #################################
314
-
314
+
315
- ## 見出し2
315
+ . ## 見出し2
316
-
316
+
317
- ### 見出し3
317
+ . ### 見出し3
318
-
318
+
319
- #### 見出し4
319
+ . #### 見出し4
320
-
320
+
321
- 段落途中の改行は →
321
+ . 段落途中の改行は →
322
-
322
+
323
- ← 無視される。
323
+ . ← 無視される。
324
-
324
+
325
- 行末に半角スペースを2個以上入れると →
325
+ . 行末に半角スペースを2個以上入れると →
326
-
326
+
327
- ← 改行になる。
327
+ . ← 改行になる。
328
-
328
+
329
- *強調記法、その1*
329
+ . *強調記法、その1*
330
-
330
+
331
- **強調記法、その2**
331
+ . **強調記法、その2**
332
-
332
+
333
- ***強調記法、その3***
333
+ . ***強調記法、その3***
334
334
 
335
335
  </content>
336
336
 

2

補足を追加

2018/08/15 02:46

投稿

shut9
shut9

スコア14

test CHANGED
File without changes
test CHANGED
@@ -289,3 +289,73 @@
289
289
  https://karaage.hatenadiary.jp/entry/2016/01/25/073000
290
290
 
291
291
  https://tadaken3.hatenablog.jp/entry/post-hatena-blog
292
+
293
+
294
+
295
+ ### 補足(umyu様)
296
+
297
+ 教えていただいたサイトを元に、以下のように書き換えてみましたが、添付画像のように投稿されています。
298
+
299
+
300
+
301
+ """
302
+
303
+ template = """<?xml version="1.0" encoding="utf-8"?>
304
+
305
+ <entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
306
+
307
+ <title>{0}</title>
308
+
309
+ <author><name>{1}</name></author>
310
+
311
+ <content type="text/x-markdown">
312
+
313
+ # 見出し1 #################################
314
+
315
+ ## 見出し2
316
+
317
+ ### 見出し3
318
+
319
+ #### 見出し4
320
+
321
+ 段落途中の改行は →
322
+
323
+ ← 無視される。
324
+
325
+ 行末に半角スペースを2個以上入れると →
326
+
327
+ ← 改行になる。
328
+
329
+ *強調記法、その1*
330
+
331
+ **強調記法、その2**
332
+
333
+ ***強調記法、その3***
334
+
335
+ </content>
336
+
337
+ <updated>{3}</updated>
338
+
339
+ <category term="" />
340
+
341
+ <app:control>
342
+
343
+ <app:draft>{4}</app:draft>
344
+
345
+ </app:control>
346
+
347
+ </entry>
348
+
349
+ """
350
+
351
+ """
352
+
353
+ ![見たまま](be571b050d1bbe6f521cb6c88ac2d8ce.png)
354
+
355
+
356
+
357
+ ![HTML](3703900668486cbfb3df00e377f3a11c.png)
358
+
359
+
360
+
361
+ ![プレビュー](c7e22e185fffc328121284969f1bdccf.png)

1

参考文献を追加

2018/08/15 02:43

投稿

shut9
shut9

スコア14

test CHANGED
File without changes
test CHANGED
@@ -284,6 +284,8 @@
284
284
 
285
285
  ### 参考
286
286
 
287
+ http://developer.hatena.ne.jp/ja/documents/blog/apis/atom
288
+
287
289
  https://karaage.hatenadiary.jp/entry/2016/01/25/073000
288
290
 
289
291
  https://tadaken3.hatenablog.jp/entry/post-hatena-blog