/** * ExcelSiteMap * Make a Excel File of Web Site Map and Update title/meta/ogp tags. * * @author Nobuhiro Takahashi * @version 0.0.1 */ Licensed under the MIT License Copyright (c) 2012 Nobuhiro Takahashi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------ HTML ファイルが入った親フォルダを指定すると、 子フォルダも含めてそのフォルダに含まれる HTML ファイルのメタタグ (title/keywords/description/ogp)を一斉に走査して、 一覧性のあるエクセルファイルを書き出すことができます。 エクセルファイルのキーワードやタイトルを編集してアプリに戻すと、 再度ディレクトリを選択して、そのディレクトリに含まれ、 相対パスのカラムに該当する HTML を更新します。 現時点では、元々エクセルの空欄であったところにテキストを入れても 戻したときにメタタグが追加はされません。 【注意】 * ラテン語系の特殊文字の変換がうまくいかなそうです。 * 吐き出される Excel ファイルは古いフォーマットのため、Numbers や OpenOffice では開けません。 * MS Office で編集したファイル (xls) は Numbers などで読み込むことが可能になるようです。 * テストが不十分なため、ご利用には十分注意してください。 * EUC エンコードでのテストが特に不十分です。
feb19/ExcelSiteMap
Make a Excel File of Web Site Map and Update title/meta/ogp tags. [Flex/AIR project]
ActionScript