OSDN Git Service

modified version description.
[feedblog/feedblog_ext.git] / generator.html
index 4d43c95..ee09390 100644 (file)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-        <title>日記設置サンプル</title>
+        <title>日記更新アプリケーション</title>
         <link rel="stylesheet" href="./js/lunardial/gen_stylesheet.css" type="text/css"/>
         <link rel="alternate" type="application/atom+xml" title="Atom" href="./xml/diary.xml"/>
         <script type="text/javascript" src="./js/jquery/jquery-1.3.2.min.js">
             div {
                 text-align: left;
             }
-            
-            div.code {
-                background: #f8f8ff;
-                border: 1px solid #c8c8ff;
-                padding: 10px;
-                margin: 10px;
-                margin-left: 0px;
-                border-left: 5px solid #e8e8ff;
-                font-size: 12px;
-                line-height: 18px;
-            }
-            
-            table.pager {
-                padding: 0px;
-                margin: 0px;
-                border: 1px solid #8888ff;
-            }
-            
-            td.pager {
-                border: 1px solid #8888ff;
-                padding-left: 3px;
-            }
         </style>
     </head>
     <body onload="javascript:initLoad();">
                 <tbody>
                     <tr>
                         <td class="default" colspan="2" style="padding: 5px; text-align: center; vertical-align: bottom;">
-                            <table>
+                            <table style="width: 100%">
                                 <tbody>
                                     <tr>
                                         <td class="formnavi" style="padding: 0px 20px 0px 20px;">
                                             編集中のファイル
                                         </td>
-                                        <td>
+                                        <td class="forminput">
                                             <div id="logSelecter">
                                             </div>
                                         </td>
+                                        <td style="width: 10px;">
+                                        </td>
+                                        <td class="forminput">
+                                            <input type="checkbox" value="1" id="addContentBr">
+                                            <label for='addContentBr'>
+                                                通常出力時、&lt;content&gt;要素の改行位置に&lt;br&gt;を挿入する
+                                            </label>
+                                        </td>
                                     </tr>
                                     <tr>
                                         <td class="formnavi" style="padding: 0px 20px 0px 20px;">
                                             編集する記事名
                                         </td>
-                                        <td>
+                                        <td class="forminput">
                                             <div id="entrySelect">
                                             </div>
                                         </td>
+                                        <td>
+                                        </td>
+                                        <td class="forminput">
+                                            <input type="checkbox" value="1" id="isCoverBlockTag" checked="checked">
+                                            <label for='isCoverBlockTag'>
+                                                mixi用出力時、ブロック要素のタグを---で囲む
+                                            </label>
+                                        </td>
                                     </tr>
                                 </tbody>
                             </table>
                             <table style="width: 100%">
                                 <tbody>
                                     <tr>
+                                        <td class="formheader" colspan="2" style="text-align: center; width: 100px;">
+                                            記事を作成/編集する
+                                        </td>
+                                    </tr>
+                                    <tr>
                                         <td class="formheader" style="text-align: center; width: 100px;">
                                             タイトル
                                         </td>
                                         <td class="forminput" style="padding: 0px 5px 0px 3px;">
-                                            <input type="text" id="title" style="width: 100%">
+                                            <input type="text" id="entry_title" style="width: 100%">
                                         </td>
                                     </tr>
                                     <tr>
                                             本文
                                         </td>
                                         <td class="forminput" style="padding: 0px 5px 0px 3px;">
-                                            <textarea id="stdin" rows="10" style="width: 100%">
+                                            <textarea id="entry_stdin" rows="10" style="width: 100%">
                                             </textarea>
                                         </td>
                                     </tr>
                                 </tbody>
                             </table>
                             <br>
-                            <input type="button" value="追加/編集" onclick="javascript:applyChange();"> <input type="button" value="選択中の記事を削除" onclick="javascript:removeEntry()">  <input type="button" value="リセット" onclick="javascript:initLoad()"
+                            <table style="width: 100%">
+                                <tbody>
+                                    <tr>
+                                        <td class="formheader" onclick="javascript: closePanel('feedinfoArea');">
+                                            Feed基本情報 (クリックで開閉)
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td class="formnavi">
+                                            <div id="feedinfoArea" style="display: none;">
+                                                <table style="width: 100%">
+                                                    <tbody>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align: center; width: 200px;">
+                                                                ウェブページのタイトル
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_title" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align: center;">
+                                                                ウェブページのサブタイトル
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_subtitle" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align: center;">
+                                                                このxmlファイルへのパス
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_self" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align: center;">
+                                                                あなたのウェブページのアドレス
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_alternate" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align: center;">
+                                                                あなたのID
+                                                                <br>
+                                                                (UUIDかウェブページのアドレス)
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_id" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align: center;">
+                                                                あなたの著作権表記
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_rights" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align:center;">
+                                                                あなたのハンドルネーム
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_authorname" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                        <tr>
+                                                            <td class="formheader" style="text-align:center;">
+                                                                あなたのメールアドレス
+                                                            </td>
+                                                            <td class="forminput" style="padding: 0px 5px 0px 3px;">
+                                                                <input type="text" id="feed_authoremail" style="width: 100%">
+                                                            </td>
+                                                        </tr>
+                                                    </tbody>
+                                                </table>
+                                            </div>
+                                        </td>
+                                    </tr>
+                                </tbody>
+                            </table>
+                            <br>
+                            <input type="button" value="追加/編集" onclick="javascript:applyChange();"> <input type="button" value="選択中の記事を削除" onclick="javascript:removeEntry()">  <input type="button" value="リセット" onclick="javascript:initLoad()">  <input type="button" value="全記事を削除" onclick="javascript:allRemoveEntry()">  <input type="button" value="選択中の日記をmixi用に変換" onclick="javascript:openMixiWindow();">
                             <br>
                             <br>
                         </td>
                     </tr>
                     <tr>
-                        <td class="default" colspan="2" style="padding: 5px 8px 5px 5px; text-align: center; vertical-align: bottom;">
-                            <textarea id="stdout" rows="20" style="width: 100%">
-                            </textarea>
+                        <td class="default" colspan="2" style="padding: 5px 8px 5px 5px; text-align: left; vertical-align: bottom;">
+                            <table style="width: 100%">
+                                <tbody>
+                                    <tr>
+                                        <td class="formheader" onclick="javascript: closePanel('previewArea')">
+                                            ▼ プレビュー
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td class="forminput">
+                                            <div id="previewArea">
+                                            </div>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td class="formheader" onclick="javascript: closePanel('outputArea')">
+                                            ▼ 出力 (UTF-8エンコーディングで保存してください)
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td class="forminput">
+                                            <div id="outputArea">
+                                                <textarea id="stdout" rows="20" style="width: 100%">
+                                                </textarea>
+                                            </div>
+                                        </td>
+                                    </tr>
+                                </tbody>
+                            </table>
                         </td>
                     </tr>
                 </tbody>