[WordPress] 外掛分享: HTML Import 2

前言介紹

  • 這款 WordPress 外掛「HTML Import 2」是 2009-07-30 上架。
  • 目前有 6000 個安裝啟用數。
  • 上一次更新是 2017-11-28,距離現在已有 2713 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 32 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

sillybean |

外掛標籤

pages | import | taxonomy | taxonomies | static files |

內容簡介

此外掛可匯入格式完整的靜態 HTML 檔案到 WordPress。需要 PHP 5 及以上版本。

此插件可將一個目錄的檔案匯入為頁面或文章。您可以指定包含您想匯入內容的 HTML 標籤(例如 、

或 )或 Dreamweaver 模板區域(例如「主要內容」)。

如欲匯入為頁面,目錄階層將會保留。包含指定檔案類型的目錄將會匯入為空白的母頁面(或,如果存在索引檔案,則使用其內容作為母頁面)。不包含指定檔案類型的目錄將會被忽略。

當檔案被匯入時,相應的 ID、永久連結和標題將被顯示。完成後,匯入程式將提供一個 Apache 重定向清單,供您在 .htaccess 檔案中使用,以無縫地將訪客從舊檔位置轉移到新的 WordPress 永久連結。自 2.0 版本開始,如果您在匯入檔案後更改了永久連結結構,您可以重新產生重定向清單 – 匯入檔案的舊 URL 存儲在匯入的文章的自訂欄位中。

選項:

將檔案匯入到任何文章型態中(如:文章、頁面或設為public的自定文章型態)
匯入連結的媒體檔案(如:影像和文件)到媒體庫中
按 HTML 標籤或 Dreamweaver 模板區域選取內容、標題和自訂欄位
從匯入的標題中刪除常見片語(如:網站名稱)
從內容區域中刪除匯入的標題
上傳單一檔案或掃描檔案匯入到目錄中
指定要匯入的檔案擴展名(如:html、htm、php)
指定要排除的目錄(如:圖像、CSS)
如果匯入頁面(或任何具階層性的文章型態),可指定您的頂級檔案是否成為頂級頁面或現有頁面的子頁面
指定索引檔案名稱(例如 index.html、default.htm),其內容應用於目錄母頁面
設置標籤、分類和自定稅項目
選擇狀態、作者和時間戳記
使用 Meta 描述作為摘要
清理匯入的 HTML,並刪除內容和自訂欄位中不需要的標籤和屬性
修正匯入的檔案內部連結以符合新的永久連結
匯入整個檔案並從檔名產生標題
保留原始檔名作為匯入頁面的別名
從 HTML 標籤或 Dreamweaver 區域選擇日期(使用 strtotime(),結果可能會有所不同)
匯入其他 HTML 標籤或 Dreamweaver 區域作為自訂欄位
從內容區域中刪除匯入的標題
後備方案:如果您選擇的標籤/區域是空的或不存在,匯入程式將選擇使用 作為內容並使用 作為標題<br> 使用名為「post_tag」的自訂欄位來匯入標籤</p> <p>有關所有選項的詳細信息,請查閱 User Guide。</p> <p>鳴謝</p> <p>鳴謝:</p> <p>Tom Dyson 的 Wordoff.org,其激發了 1.1 版本中 Word 清理選項的靈感。<br> Dion Hulse 的 Add from Server 插件和 bbqiguana 的 Add Linked Images to Gallery 插件提供了匯入媒體檔案的啟發。<br> 這個社群中的所有使用者 - 每個人的詳細反饋和智慧意見都有助於這個插件的改進。 </p> <p></p><h2><span id="i-5">原文外掛簡介</span></h2> <p></p> <p>Imports well-formed static HTML files into WordPress. Requires PHP 5.<br> This plugin will import a directory of files as either pages or posts. You may specify the HTML tag (e.g. </p>, <div id="content">, or <td width="732">) or Dreamweaver template region (e.g. ‘Main Content’) containing the content you want to import.<br> If importing pages, the directory hierarchy will be preserved. Directories containing the specified file types will be imported as empty parent pages (or, if an index file is present, its contents will be used for the parent page). Directories that do not contain the specified file types will be ignored.<br> As files are imported, the resulting IDs, permalinks, and titles will be displayed. On completion, the importer will provide a list of Apache redirects that can be used in your .htaccess file to seamlessly transfer visitors from the old file locations to the new WordPress permalinks. As of 2.0, if you change your permalink structure after you’ve imported your files, you can regenerate the redirects—the file’s old URL is stored as a custom field in the imported post.<br> Options: <p>import files into any post type (posts, pages, or custom post types set to public)<br> import linked media files (images, documents, etc.) to the media library<br> select content, title, and custom fields by HTML tag or Dreamweaver template region<br> remove a common phrase (such as the site name) from imported titles<br> remove the imported title from within the content area<br> upload a single file or scan a directory for files to import<br> specify file extensions to import (e.g. html, htm, php)<br> specify directories to exclude (e.g. images, css)<br> if importing pages (or any hierarchical post type), specify whether your top-level files should become top-level pages or children of an existing page<br> specify index file names (e.g. index.html, default.htm) whose contents should be used for the directory parent pages<br> set tags, categories, and custom taxonomies<br> choose status, author, and timestamp<br> use meta descriptions as excerpts<br> clean up imported HTML and strip unwanted tags and attributes in content and custom fields<br> fix internal links in imported files to match new permalinks<br> import the entire file and generate the title from the filename<br> preserve the original filename as the imported page’s slug<br> choose the date from an HTML tag or Dreamweaver region (uses strtotime(); results may vary)<br> import additional HTML tags or Dreamweaver regions as custom fields<br> option to remove imported title from within content area<br> fallbacks: if your chosen tag/area is empty or does not exist, the importer will select </p> for content and <title> for the title<br> use a custom field named ‘post_tag’ to import tags from a portion of the file <p>See the User Guide for details on all the options.<br> Thanks<br> Thanks to…</p> <p>Tom Dyson’s Wordoff.org for inspiring the Word cleanup option in 1.1.<br> Dion Hulse’s Add from Server plugin and bbqiguana’s Add Linked Images To Gallery plugin, from which I borrowed a lot of the logic behind the image import feature in 2.0</p> <p></p><h2><span id="i-6">各版本下載點</span></h2> <p></p> <ul> <li>方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。</li> <li>方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「<a href="https://www.mxp.tw/plugins/import-html-pages/">HTML Import 2</a>」來進行安裝。</li> </ul> <p><strong>(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。</strong></p> <div class="ads" style="text-align: center;"><!-- mxp-tw-text-ad --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1939980533457134" data-ad-slot="5504224570" data-ad-format="link" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <hr> <p><a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.0.zip">1.0</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.1.zip">1.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.2.zip">1.2</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.0.zip">2.0</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.1.zip">2.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.2.zip">2.2</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.3.zip">2.3</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.4.zip">2.4</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.6.zip">2.6</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.01.zip">1.01</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.02.zip">1.02</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.03.zip">1.03</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.04.zip">1.04</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.11.zip">1.11</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.12.zip">1.12</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.13.zip">1.13</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.20.zip">1.20</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.21.zip">1.21</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.1.30.zip">1.30</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.0.1.zip">2.0.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.0.2.zip">2.0.2</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.2.5.1.zip">2.5.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/import-html-pages.zip">trunk</a> | </p> <p></p><h2><span id="i-7">延伸相關外掛(你可能也想知道)</span></h2> <p></p> <ul> <li><img decoding="async" src="https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/custom-post-type-ui/">Custom Post Type UI</a> 》Custom Post Type UI 提供了易於使用的界面,以便為您的網站註冊和管理自定義文章類型和分類法。, Custom Post Type UI Extended, CPTUI 協助建立自定義內容...。</li> <li><img decoding="async" src="https://ps.w.org/simple-tags/assets/icon-256x256.png?rev=2853049" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/simple-tags/">WordPress Tag, Category, and Taxonomy Manager – AI Autotagger</a> 》axoPress allows you to show a customizable display of the terms assigned to the current post. You can choose which taxonomy and which format to dis...。</li> <li><img decoding="async" src="https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/search-filter/">Search & Filter</a> 》Search & Filter 是一款簡單的 WordPress 搜尋和篩選外掛程式,是 WordPress 搜尋框的進階版。, 您可以透過類別、標籤、自訂分類、文章類型、發佈日期或...。</li> <li><img decoding="async" src="https://ps.w.org/related-posts-by-taxonomy/assets/icon.svg?rev=1115231" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/related-posts-by-taxonomy/">Related Posts by Taxonomy</a> 》此外掛可以讓你快速增加讀者的參與度,透過小工具或簡碼在側邊欄或文章內容後加入相關文章。有相同詞彙數量的文章會顯示在最前面!此外掛可以在多個種類和文...。</li> <li><img decoding="async" src="https://ps.w.org/radio-buttons-for-taxonomies/assets/icon-256x256.png?rev=2864757" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/radio-buttons-for-taxonomies/">Radio Buttons for Taxonomies</a> 》此外掛可將預設的分類方塊替換為使用單選按鈕的自訂 metabox…從而限制每篇文章在該分類中只能選擇一個術語。, 插件選項頁面允許使用者選擇要切換為使用...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/custom-post-type-widgets.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/custom-post-type-widgets/">Custom Post Type Widgets</a> 》此 WordPress 外掛可以添加預設的自訂文章類型小工具。, 您可以在小工具上篩選已註冊的自訂文章類型或分類法。, , 小工具描述, , 最新文章 (自訂文章類型), ...。</li> <li><img decoding="async" src="https://ps.w.org/term-management-tools/assets/icon-128x128.jpg?rev=2431741" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/term-management-tools/">Term Management Tools</a> 》請注意,此外掛需要至少 PHP 7.1。, 如果您需要重新組織標籤和分類,此外掛可以讓您更輕鬆地進行操作。它在條目管理頁面的“批次操作”下拉菜單中添加了三個新...。</li> <li><img decoding="async" src="https://ps.w.org/taxonomy-images/assets/icon-256x256.png?rev=1283547" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/taxonomy-images/">Taxonomy Images</a> 》在你的主題中顯示圖像, 有一些過濾器可以在你的主題中使用,來顯示此外掛創建的圖像關聯。請閱讀以下詳細信息。, 顯示代表術語檔案庫的單個圖像, 以下過濾器...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/ps-taxonomy-expander_febe7c.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/ps-taxonomy-expander/">PS Taxonomy Expander</a> 》PS Taxonomy Expander 可以讓您更輕鬆地在編輯文章時使用類別、標籤和自訂分類法。, 功能, , 啟用將分類法核取方塊變成有階層的單選按鈕功能。, 讓您在 WordP...。</li> <li><img decoding="async" src="https://ps.w.org/posts-in-page/assets/icon-256x256.png?rev=1596190" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/posts-in-page/">Posts in Page</a> 》使用簡單的簡碼 (shortcodes),輕鬆地將一個或多個文章添加到任何頁面。, 支援類別 (categories)、標籤 (tags)、自訂文章類型 (custom post types)、自訂稅項...。</li> <li><img decoding="async" src="https://ps.w.org/wp-term-order/assets/icon-256x256.png?rev=1267653" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/wp-term-order/">WP Term Order</a> 》按照您的方式對分類法詞進行排序。, WP Term Order 允許使用者以數字方式對任何可見的類別、標籤或分類法詞進行排序,為其分類法提供定制排序。, 同時也請查...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/taxonomy-metadata.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/taxonomy-metadata/">Taxonomy Metadata</a> 》此外掛實現了分類術語的元數據基礎設施,因此您可以向標籤、類別和其他分類術語中添加自定義元數據(按鍵)。大部分代碼來自於sirzooro提交到 WordPress Core...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/remove-taxonomy-base-slug.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/remove-taxonomy-base-slug/">Remove Taxonomy Base Slug</a> 》如果您想要對您的自訂文章類型文章使用更好的固定連結,並使用自訂的固定連結,這個外掛程序可以協助您。, 如果該術語的slug和文章類型相同,那麼該分類的優...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/jc-submenu_69a699.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/jc-submenu/">JC Submenu</a> 》JC子選單外掛允許你自動填入自定義的文章類型、分類或子頁面到導覽選單中。此外掛容易使用,並被設計成為一個輕量化的選單擴充套件。, 透過我們的進階子選單...。</li> <li><img decoding="async" src="https://ps.w.org/admin-taxonomy-filter/assets/icon-128x128.png?rev=1699286" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/admin-taxonomy-filter/">Admin Taxonomy Filter</a> 》「Admin Taxonomy Filter」可以幫助您在管理區 (文章列表) 中透過自訂分類篩選文章或自訂文章類型。這類似於預設的按分類篩選文章。, 此外掛支援多重分類篩選...。</li> </ul> <p><script>document.addEventListener("DOMContentLoaded", function(event) {window.onpopstate = function() {location.href="https://www.mxp.tw/plugins/";}; history.pushState({}, "");});</script></p> <p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-slot="9308222110"></ins> <script> setMxpAdClient();(adsbygoogle = window.adsbygoogle || []).push({}); </script></p> <!-- .entry-content --> <!-- #post--1 --> <!-- #main --> <!-- #primary --> <!-- #content --> <footer id="colophon" class="site-footer"> <aside class="widget-area" role="complementary" aria-label="頁尾"> <div class="widget-column footer-widget-1"> <section id="text-3" class="widget widget_text"><h2 class="widget-title">微薄主機費來源</h2> <div class="textwidget"><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br> <ins class="adsbygoogle" style="display:block" data-ad-slot="1291294008" data-ad-format="auto" data-full-width-responsive="true"></ins><br> <script>setMxpAdClient(); (adsbygoogle = window.adsbygoogle || []).push({}); </script></p> </div> </section><section id="text-2" class="widget widget_text"><h2 class="widget-title">Facebook 專頁</h2> <div class="textwidget"><div class="fb-page" data-href="https://www.facebook.com/a.tech.guy" data-tabs="timeline" data-width="" data-height="70" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="false"><blockquote cite="https://www.facebook.com/a.tech.guy" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/a.tech.guy" rel="nofollow">一介資男</a></blockquote></div></div> </section> <section id="recent-posts-4" class="widget widget_recent_entries"> <h2 class="widget-title">近期文章</h2><nav aria-label="近期文章"> <ul> <li> <a href="https://www.mxp.tw/10264/">[Mastodon] 使用 Docker 安裝開源分散式社群媒體服務的方法</a> </li> <li> <a href="https://www.mxp.tw/10254/">[WireGuard] 架設穿透防火牆的家用伺服器網路環境(Homelab)</a> </li> <li> <a href="https://www.mxp.tw/10251/">[WordPress] 實體主機 Server 版本系統的 IPv6 網路問題</a> </li> <li> <a href="https://www.mxp.tw/10225/">[Nextcloud] 設定使用 Google Workspace SAML/SSO 單一登入的方式</a> </li> <li> <a href="https://www.mxp.tw/10206/">[資安] 批次修改 Google Workspace 所有用戶的雲端硬碟檢視權限</a> </li> </ul> </nav></section><section id="categories-2" class="widget widget_categories"><h2 class="widget-title">文章分類</h2><nav aria-label="文章分類"> <ul> <li class="cat-item cat-item-6"><a href="https://www.mxp.tw/category/blog%e5%a4%a7%e5%b0%8f%e4%ba%8b/">Blog大小事</a> (26) </li> <li class="cat-item cat-item-252"><a href="https://www.mxp.tw/category/facebook%e5%90%8c%e6%ad%a5%e5%82%99%e4%bb%bd/">Facebook同步備份</a> (369) </li> <li class="cat-item cat-item-12"><a href="https://www.mxp.tw/category/%e6%8a%80%e8%a1%93%e7%9b%b8%e9%97%9c/">技術相關</a> (552) </li> <li class="cat-item cat-item-19"><a href="https://www.mxp.tw/category/%e6%94%9d%e5%bd%b1%e7%9b%b8%e9%97%9c/">攝影相關</a> (5) </li> <li class="cat-item cat-item-8"><a href="https://www.mxp.tw/category/%e6%96%b0%e8%81%9e%e8%b3%87%e8%a8%8a/">新聞資訊</a> (218) </li> <li class="cat-item cat-item-60"><a href="https://www.mxp.tw/category/temperature/">有溫度的文字</a> (71) </li> <li class="cat-item cat-item-1"><a href="https://www.mxp.tw/category/uncategorized/">未分類</a> (1) </li> </ul> </nav></section><section id="tag_cloud-3" class="widget widget_tag_cloud"><h2 class="widget-title">常用標籤</h2><nav aria-label="常用標籤"><div class="tagcloud"><a href="https://www.mxp.tw/tag/api/" class="tag-cloud-link tag-link-17 tag-link-position-1" style="font-size: 13.163120567376pt;" aria-label="API (42 個項目)">API</a> <a href="https://www.mxp.tw/tag/blog%e5%a4%a7%e5%b0%8f%e4%ba%8b/" class="tag-cloud-link tag-link-670 tag-link-position-2" style="font-size: 9.4893617021277pt;" aria-label="Blog大小事 (17 個項目)">Blog大小事</a> <a href="https://www.mxp.tw/tag/chrome/" class="tag-cloud-link tag-link-13 tag-link-position-3" style="font-size: 8.8936170212766pt;" aria-label="Chrome (15 個項目)">Chrome</a> <a href="https://www.mxp.tw/tag/curl/" class="tag-cloud-link tag-link-453 tag-link-position-4" style="font-size: 8pt;" aria-label="CURL (12 個項目)">CURL</a> <a href="https://www.mxp.tw/tag/docker/" class="tag-cloud-link tag-link-117 tag-link-position-5" style="font-size: 10.978723404255pt;" aria-label="Docker (25 個項目)">Docker</a> <a href="https://www.mxp.tw/tag/facebook/" class="tag-cloud-link tag-link-219 tag-link-position-6" style="font-size: 16.241134751773pt;" aria-label="Facebook (86 個項目)">Facebook</a> <a href="https://www.mxp.tw/tag/facebook%e5%90%8c%e6%ad%a5/" class="tag-cloud-link tag-link-644 tag-link-position-7" style="font-size: 8.8936170212766pt;" aria-label="Facebook同步 (15 個項目)">Facebook同步</a> <a href="https://www.mxp.tw/tag/fb2wp/" class="tag-cloud-link tag-link-248 tag-link-position-8" style="font-size: 8.6950354609929pt;" aria-label="FB2WP (14 個項目)">FB2WP</a> <a href="https://www.mxp.tw/tag/google/" class="tag-cloud-link tag-link-80 tag-link-position-9" style="font-size: 12.765957446809pt;" aria-label="Google (38 個項目)">Google</a> <a href="https://www.mxp.tw/tag/https/" class="tag-cloud-link tag-link-90 tag-link-position-10" style="font-size: 9.6879432624113pt;" aria-label="HTTPS (18 個項目)">HTTPS</a> <a href="https://www.mxp.tw/tag/javascript/" class="tag-cloud-link tag-link-15 tag-link-position-11" style="font-size: 11.177304964539pt;" aria-label="JavaScript (26 個項目)">JavaScript</a> <a href="https://www.mxp.tw/tag/linux/" class="tag-cloud-link tag-link-65 tag-link-position-12" style="font-size: 9.886524822695pt;" aria-label="Linux (19 個項目)">Linux</a> <a href="https://www.mxp.tw/tag/mac/" class="tag-cloud-link tag-link-115 tag-link-position-13" style="font-size: 10.482269503546pt;" aria-label="Mac (22 個項目)">Mac</a> <a href="https://www.mxp.tw/tag/mysql/" class="tag-cloud-link tag-link-39 tag-link-position-14" style="font-size: 11.475177304965pt;" aria-label="MySQL (28 個項目)">MySQL</a> <a href="https://www.mxp.tw/tag/nginx/" class="tag-cloud-link tag-link-36 tag-link-position-15" style="font-size: 11.77304964539pt;" aria-label="Nginx (30 個項目)">Nginx</a> <a href="https://www.mxp.tw/tag/nodejs/" class="tag-cloud-link tag-link-96 tag-link-position-16" style="font-size: 9.1914893617021pt;" aria-label="NodeJS (16 個項目)">NodeJS</a> <a href="https://www.mxp.tw/tag/php/" class="tag-cloud-link tag-link-34 tag-link-position-17" style="font-size: 16.936170212766pt;" aria-label="PHP (102 個項目)">PHP</a> <a href="https://www.mxp.tw/tag/plugin/" class="tag-cloud-link tag-link-4 tag-link-position-18" style="font-size: 10.978723404255pt;" aria-label="Plugin (25 個項目)">Plugin</a> <a href="https://www.mxp.tw/tag/seo/" class="tag-cloud-link tag-link-81 tag-link-position-19" style="font-size: 9.1914893617021pt;" aria-label="SEO (16 個項目)">SEO</a> <a href="https://www.mxp.tw/tag/server/" class="tag-cloud-link tag-link-71 tag-link-position-20" style="font-size: 8pt;" aria-label="Server (12 個項目)">Server</a> <a href="https://www.mxp.tw/tag/ssl/" class="tag-cloud-link tag-link-89 tag-link-position-21" style="font-size: 8.8936170212766pt;" aria-label="SSL (15 個項目)">SSL</a> <a href="https://www.mxp.tw/tag/ubuntu/" class="tag-cloud-link tag-link-46 tag-link-position-22" style="font-size: 12.765957446809pt;" aria-label="Ubuntu (38 個項目)">Ubuntu</a> <a href="https://www.mxp.tw/tag/vps/" class="tag-cloud-link tag-link-48 tag-link-position-23" style="font-size: 12.964539007092pt;" aria-label="VPS (40 個項目)">VPS</a> <a href="https://www.mxp.tw/tag/woocommerce/" class="tag-cloud-link tag-link-449 tag-link-position-24" style="font-size: 17.333333333333pt;" aria-label="WooCommerce (110 個項目)">WooCommerce</a> <a href="https://www.mxp.tw/tag/wordpress/" class="tag-cloud-link tag-link-3 tag-link-position-25" style="font-size: 22pt;" aria-label="WordPress (330 個項目)">WordPress</a> <a href="https://www.mxp.tw/tag/%e4%bc%ba%e6%9c%8d%e5%99%a8/" class="tag-cloud-link tag-link-52 tag-link-position-26" style="font-size: 9.4893617021277pt;" aria-label="伺服器 (17 個項目)">伺服器</a> <a href="https://www.mxp.tw/tag/%e5%a4%96%e6%8e%9b/" class="tag-cloud-link tag-link-42 tag-link-position-27" style="font-size: 14.45390070922pt;" aria-label="外掛 (56 個項目)">外掛</a> <a href="https://www.mxp.tw/tag/%e5%a4%96%e6%8e%9b%e9%96%8b%e7%99%bc/" class="tag-cloud-link tag-link-664 tag-link-position-28" style="font-size: 11.77304964539pt;" aria-label="外掛開發 (30 個項目)">外掛開發</a> <a href="https://www.mxp.tw/tag/%e5%ae%89%e5%85%a8%e6%80%a7/" class="tag-cloud-link tag-link-51 tag-link-position-29" style="font-size: 10.283687943262pt;" aria-label="安全性 (21 個項目)">安全性</a> <a href="https://www.mxp.tw/tag/%e5%ae%a2%e8%a3%bd%e5%8c%96/" class="tag-cloud-link tag-link-614 tag-link-position-30" style="font-size: 9.1914893617021pt;" aria-label="客製化 (16 個項目)">客製化</a> <a href="https://www.mxp.tw/tag/%e5%b7%a5%e5%85%b7/" class="tag-cloud-link tag-link-281 tag-link-position-31" style="font-size: 9.1914893617021pt;" aria-label="工具 (16 個項目)">工具</a> <a href="https://www.mxp.tw/tag/%e5%bf%83%e5%be%97/" class="tag-cloud-link tag-link-172 tag-link-position-32" style="font-size: 11.475177304965pt;" aria-label="心得 (28 個項目)">心得</a> <a href="https://www.mxp.tw/tag/%e6%8a%80%e8%a1%93%e7%9b%b8%e9%97%9c/" class="tag-cloud-link tag-link-660 tag-link-position-33" style="font-size: 17.035460992908pt;" aria-label="技術相關 (104 個項目)">技術相關</a> <a href="https://www.mxp.tw/tag/%e6%95%99%e5%ad%b8/" class="tag-cloud-link tag-link-294 tag-link-position-34" style="font-size: 14.354609929078pt;" aria-label="教學 (55 個項目)">教學</a> <a href="https://www.mxp.tw/tag/%e6%96%b0%e8%81%9e%e8%b3%87%e8%a8%8a/" class="tag-cloud-link tag-link-671 tag-link-position-35" style="font-size: 19.120567375887pt;" aria-label="新聞資訊 (168 個項目)">新聞資訊</a> <a href="https://www.mxp.tw/tag/%e6%9c%89%e6%ba%ab%e5%ba%a6%e7%9a%84%e6%96%87%e5%ad%97/" class="tag-cloud-link tag-link-746 tag-link-position-36" style="font-size: 14.553191489362pt;" aria-label="有溫度的文字 (58 個項目)">有溫度的文字</a> <a href="https://www.mxp.tw/tag/%e6%a9%9f%e5%99%a8%e4%ba%ba/" class="tag-cloud-link tag-link-534 tag-link-position-37" style="font-size: 8.8936170212766pt;" aria-label="機器人 (15 個項目)">機器人</a> <a href="https://www.mxp.tw/tag/%e7%a8%8b%e5%bc%8f%e9%96%8b%e7%99%bc/" class="tag-cloud-link tag-link-1590 tag-link-position-38" style="font-size: 11.673758865248pt;" aria-label="程式開發 (29 個項目)">程式開發</a> <a href="https://www.mxp.tw/tag/%e7%ad%86%e8%a8%98/" class="tag-cloud-link tag-link-514 tag-link-position-39" style="font-size: 8.6950354609929pt;" aria-label="筆記 (14 個項目)">筆記</a> <a href="https://www.mxp.tw/tag/%e7%b6%93%e7%87%9f/" class="tag-cloud-link tag-link-702 tag-link-position-40" style="font-size: 10.978723404255pt;" aria-label="經營 (25 個項目)">經營</a> <a href="https://www.mxp.tw/tag/%e7%b6%b2%e7%ab%99%e4%bc%ba%e6%9c%8d%e5%99%a8/" class="tag-cloud-link tag-link-159 tag-link-position-41" style="font-size: 8pt;" aria-label="網站伺服器 (12 個項目)">網站伺服器</a> <a href="https://www.mxp.tw/tag/%e7%b6%b2%e7%ab%99%e9%96%8b%e7%99%bc/" class="tag-cloud-link tag-link-551 tag-link-position-42" style="font-size: 12.269503546099pt;" aria-label="網站開發 (34 個項目)">網站開發</a> <a href="https://www.mxp.tw/tag/%e8%b3%87%e6%96%99%e5%ba%ab/" class="tag-cloud-link tag-link-1043 tag-link-position-43" style="font-size: 8.3971631205674pt;" aria-label="資料庫 (13 個項目)">資料庫</a> <a href="https://www.mxp.tw/tag/%e9%96%8b%e7%99%bc/" class="tag-cloud-link tag-link-479 tag-link-position-44" style="font-size: 11.971631205674pt;" aria-label="開發 (31 個項目)">開發</a> <a href="https://www.mxp.tw/tag/%e9%98%b2%e7%81%ab%e7%89%86/" class="tag-cloud-link tag-link-55 tag-link-position-45" style="font-size: 8pt;" aria-label="防火牆 (12 個項目)">防火牆</a></div> </nav></section><section id="custom_html-2" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><script type="text/javascript"> google_ad_client = "ca-pub-1939980533457134"; /*google_ad_host = "ca-host-pub-7449992691305813";    google_ad_host_channel = "2031107259";*/ google_ad_slot = "1291294008"; google_ad_format = "auto"; if (!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))) { google_ad_width = 300; google_ad_height = 250; }else{ google_ad_width = 300; google_ad_height = 600; } </script> <!-- mxp-sidebar-auto_320x250 --> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div></section> </div> </aside><!-- .widget-area --> <div class="site-info"> <a class="site-name" href="https://www.mxp.tw/" rel="home">一介資男</a>, <a href="https://tw.wordpress.org/" class="imprint" rel="nofollow"> 本站採用 WordPress 建置 </a> <nav class="footer-navigation" aria-label="頁尾選單"> <div class="menu-links-container"><ul id="menu-links" class="footer-menu"><li id="menu-item-7040" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-7040"><a href="https://www.facebook.com/mxp.tw" rel="nofollow">Facebook</a></li> <li id="menu-item-7041" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-7041"><a href="https://github.com/nczz" rel="nofollow">GitHub</a></li> <li id="menu-item-9302" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9302"><a href="https://www.mxp.tw/statement-policy/">使用者條款與隱私權聲明</a></li> </ul></div> </nav><!-- .footer-navigation --> </div><!-- .site-info --> </footer><!-- #colophon --> <!-- #page --> <script type="text/html" id="tmpl-cmswt-Result-itemTemplate--default"> <# if(data.taxonomy === undefined){ #> <div class="hit-header"> <# var imageHTML = ''; if(data.post_thumbnail_html !== undefined && data.post_thumbnail_html !== ''){ imageHTML = data.post_thumbnail_html }else if(data.post_thumbnail !== undefined && data.post_thumbnail !== ''){ imageHTML = `<img src="${data.post_thumbnail}" alt="${data.post_title}" class="ais-Hit-itemImage" />` } else{ imageHTML = `<img src="https://www.mxp.tw/wp-content/plugins/search-with-typesense/assets/images/placeholder-300x300.jpg" alt="${data.post_title}" class="ais-Hit-itemImage" />` } #> <# if(imageHTML !== ''){ #> <a href="{{{data._highlightResult.permalink.value}}}" class="hit-header--link" rel="nofollow noopener">{{{imageHTML}}} <# } #> <# } #> <div class="hit-content"> <# if(data._highlightResult.permalink !== undefined ) { #> <a href="{{{data._highlightResult.permalink.value}}}" class="hit-contentLink" rel="nofollow noopener"><h5 class="title"> {{{data.formatted.post_title}}} <# } #> <# if( data.post_type === 'post' ) { #> <div class="hit-meta"> <span class="posted-by"> By {{data.post_author}} <span class="posted-on"> <time datetime="">{{data.formatted.postedDate}} <# if ( Object.keys(data.formatted.cats).length > 0 ) { #> <div class="hit-cats"> <# for ( let key in data.formatted.cats ) { #> <div class="hit-cat"><a href="{{{data.formatted.cats[key]}}}">{{{key}}}, <# } #> <# } #> <# } #> <div class="hit-description">{{{data.formatted.post_content}}} <div class="hit-link"> <a href="{{data.permalink}}">Read More... </script><script type="text/html" id="tmpl-cmswt-NoSearchResults-default"> <div class="cmswt-noSearchResults cmswt-NoSearchResults-default"> No results found </script><script type="text/html" id="tmpl-cm-autocomplete"> <div class="aa-ItemWrapper"> <div class="aa-ItemContent"> <div class="aa-ItemIcon aa-ItemIcon--alignTop"> <# if ( data.document.post_thumbnail !== '' && data.document.post_thumbnail !== undefined ) { #> <img src="{{{data.document.post_thumbnail}}}" alt="{{data.document.post_title}}" width="40" height="40" /> <# } else { #> <img src="https://www.mxp.tw/wp-content/plugins/search-with-typesense/assets/placeholder.jpg" alt="{{data.document.post_title}}" width="40" height="40" /> <# } #> <div class="aa-ItemContentBody"> <div class="aa-ItemContentTitle"> {{{data.formatted.post_title}}} <div class="aa-ItemContentDescription"> {{data.formatted.sliced_content}} </script><script type="text/html" id="tmpl-cm-autocomplete-header"> <h5>{{{data.name}}} </script><script type="text/html" id="tmpl-cm-autocomplete-no-results-found">No Results Found</script> <style> .ais-Highlight-highlighted, .ais-Snippet-highlighted, .hit-description mark { background-color: #ffc168 } </style> <div class="cmswt-InstantSearchPopup"> <div class="cmswt-InstantSearchPopup--results"> <a href="#" class="cmswt-InstantSearchPopup--closeIcon" title="close" rel="nofollow"> <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2"> <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path> </svg> </a> <div class="cmswt-InstantSearch ais-InstantSearch cm_swt_instant_search_1 single-source" data-id="cm_swt_instant_search_1" data-config='{"filter":"show","post_types":["post"],"per_page":"4","pagination":"infinite","sortby":"show","columns":"1","placeholder":"Search for...","query_by":"post_title,post_content","sticky_first":"no","custom_class":"","search_query":"","selected_filters":"hide","stats":"hide","routing":"disable","unique_id":"cm_swt_instant_search_1","collections":["post"]}' data-facets='{"post":["category"]}' data-placeholder="Search for..." data-query_by="post_title,post_content" data-sticky_first="no" data-additional_search_params="[]" data-search_query="" data-additional_config="[]" data-routing="disable"> <div class="cmswt-InstantSearch-overlay cmswt-FilterPanel-itemsClose"></div> <div class="cmswt-Header"> <div class="cmswt-SearchBox" data-settings="[]"></div><div class="cmswt-CollectionMenu cmswt-CollectionMenu--singleSource"> <div class="cmswt-CollectionMenu-current"> <span class="cmswt-CollectionMenu-currentLabel">文章</span> <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 cmswt-CollectionMenu-icon" width="24" height="25" viewbox="0 0 24 25" fill="none"> <path d="M9 5.50001C8.73478 5.50001 8.48043 5.60537 8.29289 5.7929C8.10536 5.98044 8 6.23479 8 6.50001C8 6.76523 8.10536 7.01958 8.29289 7.20712C8.48043 7.39465 8.73478 7.50001 9 7.50001C9.26522 7.50001 9.51957 7.39465 9.70711 7.20712C9.89464 7.01958 10 6.76523 10 6.50001C10 6.23479 9.89464 5.98044 9.70711 5.7929C9.51957 5.60537 9.26522 5.50001 9 5.50001ZM6.17 5.50001C6.3766 4.91448 6.75974 4.40744 7.2666 4.0488C7.77346 3.69015 8.37909 3.49756 9 3.49756C9.62091 3.49756 10.2265 3.69015 10.7334 4.0488C11.2403 4.40744 11.6234 4.91448 11.83 5.50001H19C19.2652 5.50001 19.5196 5.60537 19.7071 5.7929C19.8946 5.98044 20 6.23479 20 6.50001C20 6.76523 19.8946 7.01958 19.7071 7.20712C19.5196 7.39465 19.2652 7.50001 19 7.50001H11.83C11.6234 8.08554 11.2403 8.59258 10.7334 8.95122C10.2265 9.30986 9.62091 9.50246 9 9.50246C8.37909 9.50246 7.77346 9.30986 7.2666 8.95122C6.75974 8.59258 6.3766 8.08554 6.17 7.50001H5C4.73478 7.50001 4.48043 7.39465 4.29289 7.20712C4.10536 7.01958 4 6.76523 4 6.50001C4 6.23479 4.10536 5.98044 4.29289 5.7929C4.48043 5.60537 4.73478 5.50001 5 5.50001H6.17ZM15 11.5C14.7348 11.5 14.4804 11.6054 14.2929 11.7929C14.1054 11.9804 14 12.2348 14 12.5C14 12.7652 14.1054 13.0196 14.2929 13.2071C14.4804 13.3947 14.7348 13.5 15 13.5C15.2652 13.5 15.5196 13.3947 15.7071 13.2071C15.8946 13.0196 16 12.7652 16 12.5C16 12.2348 15.8946 11.9804 15.7071 11.7929C15.5196 11.6054 15.2652 11.5 15 11.5ZM12.17 11.5C12.3766 10.9145 12.7597 10.4074 13.2666 10.0488C13.7735 9.69015 14.3791 9.49756 15 9.49756C15.6209 9.49756 16.2265 9.69015 16.7334 10.0488C17.2403 10.4074 17.6234 10.9145 17.83 11.5H19C19.2652 11.5 19.5196 11.6054 19.7071 11.7929C19.8946 11.9804 20 12.2348 20 12.5C20 12.7652 19.8946 13.0196 19.7071 13.2071C19.5196 13.3947 19.2652 13.5 19 13.5H17.83C17.6234 14.0855 17.2403 14.5926 16.7334 14.9512C16.2265 15.3099 15.6209 15.5025 15 15.5025C14.3791 15.5025 13.7735 15.3099 13.2666 14.9512C12.7597 14.5926 12.3766 14.0855 12.17 13.5H5C4.73478 13.5 4.48043 13.3947 4.29289 13.2071C4.10536 13.0196 4 12.7652 4 12.5C4 12.2348 4.10536 11.9804 4.29289 11.7929C4.48043 11.6054 4.73478 11.5 5 11.5H12.17ZM9 17.5C8.73478 17.5 8.48043 17.6054 8.29289 17.7929C8.10536 17.9804 8 18.2348 8 18.5C8 18.7652 8.10536 19.0196 8.29289 19.2071C8.48043 19.3947 8.73478 19.5 9 19.5C9.26522 19.5 9.51957 19.3947 9.70711 19.2071C9.89464 19.0196 10 18.7652 10 18.5C10 18.2348 9.89464 17.9804 9.70711 17.7929C9.51957 17.6054 9.26522 17.5 9 17.5ZM6.17 17.5C6.3766 16.9145 6.75974 16.4074 7.2666 16.0488C7.77346 15.6902 8.37909 15.4976 9 15.4976C9.62091 15.4976 10.2265 15.6902 10.7334 16.0488C11.2403 16.4074 11.6234 16.9145 11.83 17.5H19C19.2652 17.5 19.5196 17.6054 19.7071 17.7929C19.8946 17.9804 20 18.2348 20 18.5C20 18.7652 19.8946 19.0196 19.7071 19.2071C19.5196 19.3947 19.2652 19.5 19 19.5H11.83C11.6234 20.0855 11.2403 20.5926 10.7334 20.9512C10.2265 21.3099 9.62091 21.5025 9 21.5025C8.37909 21.5025 7.77346 21.3099 7.2666 20.9512C6.75974 20.5926 6.3766 20.0855 6.17 19.5H5C4.73478 19.5 4.48043 19.3947 4.29289 19.2071C4.10536 19.0196 4 18.7652 4 18.5C4 18.2348 4.10536 17.9804 4.29289 17.7929C4.48043 17.6054 4.73478 17.5 5 17.5H6.17Z" fill="#696969"></path> </svg> </div> <ul class="cmswt-IndexSwitcher"> <li class="cmswt-IndexSwitcher-item active"> <a href="#" class="cmswt-IndexSwitcher-link" data-instance_id="cm_swt_instant_search_1" data-collection="post" rel="nofollow"> 文章 </a> </li> </ul> </div><div class="cmswt-FilterPanel-toggle"> <span class="cmswt-FilterPanel-toggleLabel"> Filter </span> <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 cmswt-FilterPanel-toggleIcon" width="20" height="21" viewbox="0 0 20 21" fill="none"> <path d="M2.1875 2.6875H17.8125V4.5625L11.5625 11.4375V16.4375L8.4375 18.3125V11.4375L2.1875 4.5625V2.6875Z" stroke="#696969" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> </svg> </div> <div class="cmswt-Sort"> <div class="cmswt-SortBy cmswt-SortBy-post" data-settings='{"items":[{"label":"Recent","value":"post"},{"label":"Oldest","value":"post\/sort\/sort_by_date:asc"}]}'></div> </div></div> <div class="cmswt-FilterPanel"> <div class="cmswt-FilterPanel-items"> <div class="cmswt-FilterPanel-itemsPopupHeader"> <div class="cmswt-FilterPanel-itemsPopupLabel"> <h5 class="cmswt-FilterPanel-itemsPopupLabelHeader">Apply Filters</h5> <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 cmswt-FilterPanel-itemsPopupHeaderCloseLogo cmswt-FilterPanel-itemsClose" width="16" height="17" viewbox="0 0 16 17" fill="none"> <path d="M11.3334 5.16666L4.66675 11.8333M4.66675 5.16666L11.3334 11.8333" stroke="#2E2E2E" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> </svg> </div> </div> <div class="cmswt-FilterPanel-itemsContent"> <div class="cmswt-Filter cmswt-Filter-category cmswt-Filter-collection_post" data-facet_id="post_category" data-label="category" data-title="Category" data-settings='{"searchable":false}' data-filter_type="refinement"></div> </div> <div class="cmswt-FilterPanel-itemsFooter"> <a class="cmswt-FilterPanel-itemsFooterCloseLink cmswt-FilterPanel-itemsClose" rel="nofollow">Close</a> </div> </div> </div> <div class="cmswt-MainPanel"> <div class="cmswt-Results"> <div class="cmswt-Result cmswt-Result-post"> <div class="cmswt-Result-hits cmswt-Result-hits_post"></div><div class="cmswt-Pagination cmswt-Pagination-post"></div> </div> </div> </div></div> </div> </div> <style>.grecaptcha-badge{ visibility: collapse !important; }</style><script src="//instant.page/5.2.0" type="module" integrity="sha384-jnZyxPjiipYXnSU0ygqeac2q7CVYMbh84q0uHVRRxEtvFPiQYbXWUorga2aqZJ0z"></script> <script> /*(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-44220076-3', 'auto'); ga('send', 'pageview');*/ (function(){ var request = new XMLHttpRequest(); request.open('GET', 'https://cloudflare.com/cdn-cgi/trace', true); request.onload = function() { if (request.status != 200) return; var match = request.responseText.match(/(colo|loc)=(\w+)/g), colo = match[0].split('=')[1], loc = match[1].split('=')[1]; if (typeof ga === 'function'){ ga('send', 'event', 'cloudflare', loc, colo); } }; request.send(); }()); </script> <style> ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; } </style> <a style="display:none;" rel="me nofollow" href="https://hcchiang.com/@hi">Mastodon</a> <script type="application/ld+json" id="slim-seo-schema">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://www.mxp.tw/#website","url":"https://www.mxp.tw/","name":"一介資男","description":"一個資訊人有時候練習打打字的地方。","inLanguage":"zh-TW","potentialAction":{"@id":"https://www.mxp.tw/#searchaction"},"publisher":{"@id":"https://www.mxp.tw/#organization"}},{"@type":"SearchAction","@id":"https://www.mxp.tw/#searchaction","target":"https://www.mxp.tw/?s={search_term_string}","query-input":"required name=search_term_string"},{"@type":"BreadcrumbList","name":"導覽標記","@id":"https://www.mxp.tw/plugins/import-html-pages/#breadcrumblist","itemListElement":[{"@type":"ListItem","position":1,"name":"首頁","item":"https://www.mxp.tw/"},{"@type":"ListItem","position":2,"name":"[WordPress] 外掛分享: HTML Import 2"}]},{"@type":"WebPage","@id":"https://www.mxp.tw/plugins/import-html-pages/#webpage","url":"https://www.mxp.tw/plugins/import-html-pages/","inLanguage":"zh-TW","name":"[WordPress] 外掛分享: HTML Import 2 – 一介資男","description":"前言介紹 google_ad_client = adClient; /*google_ad_host = \"ca-host-pub-7449992691305813\"; google_ad_host_channel = \"2031107259\";*/ google_ad_slot = \"3790584390\"; goo","datePublished":"2025-05-03T22:19:43+08:00","dateModified":"-001-11-30T08:06:00+08:06","isPartOf":{"@id":"https://www.mxp.tw/#website"},"breadcrumb":{"@id":"https://www.mxp.tw/plugins/import-html-pages/#breadcrumblist"},"potentialAction":{"@id":"https://www.mxp.tw/plugins/import-html-pages/#readaction"},"primaryImageOfPage":{"@id":"https://www.mxp.tw/plugins/import-html-pages/#thumbnail"},"image":{"@id":"https://www.mxp.tw/plugins/import-html-pages/#thumbnail"}},{"@type":"ReadAction","@id":"https://www.mxp.tw/plugins/import-html-pages/#readaction","target":"https://www.mxp.tw/plugins/import-html-pages/"},{"@type":"Organization","@id":"https://www.mxp.tw/#organization","url":"https://www.mxp.tw/","name":"一介資男","logo":{"@id":"https://www.mxp.tw/#logo"},"image":{"@id":"https://www.mxp.tw/#logo"}},{"@type":"ImageObject","@id":"https://www.mxp.tw/#logo","caption":"Cropped 竣大頭貼.png","url":"https://www.mxp.tw/wp-content/uploads/2019/06/cropped-竣大頭貼.png","contentUrl":"https://www.mxp.tw/wp-content/uploads/2019/06/cropped-竣大頭貼.png","width":190,"height":190},{"@type":"ImageObject","@id":"https://www.mxp.tw/plugins/import-html-pages/#thumbnail","url":"https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389"}]}</script><script id="avc_frontend-js-extra"> var AdRefreshControl = {"advertiserIds":[],"lineItemIds":[],"sizesToExclude":"","slotIdsToExclude":[],"viewabilityThreshold":"70","refreshInterval":"30","maximumRefreshes":"10","refreshCallback":""}; </script> <script src="https://www.mxp.tw/wp-content/plugins/ad-refresh-control/dist/js/frontend.js" id="avc_frontend-js"></script> <script id="code-prettify-js-before"> var codePrettifyLoaderBaseUrl = "https:\/\/www.mxp.tw\/wp-content\/plugins\/code-prettify\/prettify"; </script> <script src="https://www.mxp.tw/wp-content/plugins/code-prettify/prettify/run_prettify.js" id="code-prettify-js"></script> <script id="toc-front-js-extra"> var tocplus = {"smooth_scroll":"1","visibility_show":"\u986f\u793a","visibility_hide":"\u96b1\u85cf","width":"Auto"}; </script> <script src="https://www.mxp.tw/wp-content/plugins/table-of-contents-plus/front.min.js" id="toc-front-js"></script> <script src="https://www.mxp.tw/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js" id="twentynineteen-touch-navigation-js" defer data-wp-strategy="defer"></script> <script src="https://www.mxp.tw/wp-content/plugins/wp-rocket/assets/js/heartbeat.js" id="heartbeat-js"></script> <script src="https://www.mxp.tw/wp-includes/js/dist/vendor/regenerator-runtime.min.js" id="regenerator-runtime-js"></script> <script src="https://www.mxp.tw/wp-includes/js/dist/vendor/moment.min.js" id="moment-js"></script> <script id="moment-js-after"> moment.updateLocale( 'zh_TW', {"months":["1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],"monthsShort":["1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],"weekdays":["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],"weekdaysShort":["\u9031\u65e5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],"week":{"dow":1},"longDateFormat":{"LT":"H:i:s","LTS":null,"L":null,"LL":"Y\/m\/d","LLL":"Y \u5e74 n \u6708 j \u65e5a g:i","LLLL":null}} ); </script> <script src="https://www.mxp.tw/wp-includes/js/dist/hooks.min.js" id="wp-hooks-js"></script> <script src="https://www.mxp.tw/wp-includes/js/dist/deprecated.min.js" id="wp-deprecated-js"></script> <script src="https://www.mxp.tw/wp-includes/js/dist/date.min.js" id="wp-date-js"></script> <script id="wp-date-js-after"> wp.date.setSettings( {"l10n":{"locale":"zh_TW","months":["1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],"monthsShort":["1 \u6708","2 \u6708","3 \u6708","4 \u6708","5 \u6708","6 \u6708","7 \u6708","8 \u6708","9 \u6708","10 \u6708","11 \u6708","12 \u6708"],"weekdays":["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],"weekdaysShort":["\u9031\u65e5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],"meridiem":{"am":"\u4e0a\u5348","pm":"\u4e0b\u5348","AM":"\u4e0a\u5348","PM":"\u4e0b\u5348"},"relative":{"future":"%s\u5f8c","past":"%s\u524d","s":"1 \u79d2","ss":"%d \u79d2","m":"1 \u5206\u9418","mm":"%d \u5206\u9418","h":"1 \u5c0f\u6642","hh":"%d \u5c0f\u6642","d":"1 \u5929","dd":"%d \u5929","M":"1 \u500b\u6708","MM":"%d \u500b\u6708","y":"1 \u5e74","yy":"%d \u5e74"},"startOfWeek":1},"formats":{"time":"H:i:s","date":"Y\/m\/d","datetime":"Y \u5e74 n \u6708 j \u65e5a g:i","datetimeAbbreviated":"Y \u5e74 n \u6708 j \u65e5a g:i"},"timezone":{"offset":8,"offsetFormatted":"8","string":"Asia\/Taipei","abbr":"CST"}} ); </script> <script src="https://www.mxp.tw/wp-includes/js/underscore.min.js" id="underscore-js"></script> <script id="wp-util-js-extra"> var _wpUtilSettings = {"ajax":{"url":"\/wp-admin\/admin-ajax.php"}}; </script> <script src="https://www.mxp.tw/wp-includes/js/wp-util.min.js" id="wp-util-js"></script> <script id="cm-typesense-instant-search-js-extra"> var cm_typesense_instant_search_default_settings = {"debug":"","search_api_key":"EdWQumsaGeVn0VfZWFKLaPS994voOBUV","port":"443","node":"search.wp-meetups.com","protocol":"https:\/\/","enabled_post_types":["post"],"available_post_types":{"post":{"label":"Posts","value":"post"},"page":{"label":"Pages","value":"page"},"category":{"label":"Category","value":"category","type":"taxonomy"}},"search_config":{"post_type":{"post":{"label":"\u6587\u7ae0","max_suggestions":"3"}},"taxonomy":{"category":"Categories"}},"date_format":"Y\/m\/d","localized_strings":{"load_more":"Load More","show_less":"Show less","show_more":"Show more"},"elementor_edit_mode":"false"}; </script> <script src="https://www.mxp.tw/wp-content/plugins/search-with-typesense//build/frontend/instant-search.js" id="cm-typesense-instant-search-js"></script> <script id="cm-typesense-popup-js-extra"> var cm_typesense_popup_default_settings = {"hijack_wp_search__type":"instant_search"}; </script> <script src="https://www.mxp.tw/wp-content/plugins/search-with-typesense//build/frontend/popup.js" id="cm-typesense-popup-js"></script>