<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://wiki.taigi.ima.org.tw/w/index.php?action=history&amp;feed=atom&amp;title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88</id>
	<title>種子檔案 - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.taigi.ima.org.tw/w/index.php?action=history&amp;feed=atom&amp;title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88"/>
	<link rel="alternate" type="text/html" href="https://wiki.taigi.ima.org.tw/w/index.php?title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88&amp;action=history"/>
	<updated>2026-05-07T23:20:23Z</updated>
	<subtitle>本 wiki 上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.taigi.ima.org.tw/w/index.php?title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88&amp;diff=456788&amp;oldid=prev</id>
		<title>TaiwanTonguesApiRobot：​從 JSON 檔案批量匯入</title>
		<link rel="alternate" type="text/html" href="https://wiki.taigi.ima.org.tw/w/index.php?title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88&amp;diff=456788&amp;oldid=prev"/>
		<updated>2025-08-23T03:33:39Z</updated>

		<summary type="html">&lt;p&gt;從 JSON 檔案批量匯入&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2025年8月23日 (六) 11:33 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;第14行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第14行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* length-檔案的大細（以位元組為單位）&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* length-檔案的大細（以位元組為單位）&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* files-一个字典的列表（每一个字典對應一个檔案）以下的鍵：&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* files-一个字典的列表（每一个字典對應一个檔案）以下的鍵：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* path-一个對應子 kha-tá-lok-guh 名的字線列表，上尾一項是實際的檔案名稱* length-檔案的大細（以位元組為單位）&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* path-一个對應子 kha-tá-lok-guh 名的字線列表，上尾一項是實際的檔案名稱&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* length-檔案的大細（以位元組為單位）&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==作用==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==作用==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;第24行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第25行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;下載者每得著一塊，需要算出下載塊的 Hash 驗證碼佮種子檔案中的對比，若仝款愛講明塊正確，無仝款需要重新下載這塊。這種規定是為著欲解決下載內容準確性的問題。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;下載者每得著一塊，需要算出下載塊的 Hash 驗證碼佮種子檔案中的對比，若仝款愛講明塊正確，無仝款需要重新下載這塊。這種規定是為著欲解決下載內容準確性的問題。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;為著欲解決某一寡使用者「落了就走」的現象，咧非官方 BitTorrent 協定猶有一&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;位&lt;/del&gt;種&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;有夠&lt;/del&gt;種子的演算法。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;為著欲解決某一寡使用者「落了就走」的現象，咧非官方 BitTorrent 協定猶&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;閣&lt;/ins&gt;有一種&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;超級&lt;/ins&gt;種子的演算法。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==參考==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==參考==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TaiwanTonguesApiRobot</name></author>
	</entry>
	<entry>
		<id>https://wiki.taigi.ima.org.tw/w/index.php?title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88&amp;diff=350082&amp;oldid=prev</id>
		<title>TaiwanTonguesApiRobot：​從 JSON 檔案批量匯入</title>
		<link rel="alternate" type="text/html" href="https://wiki.taigi.ima.org.tw/w/index.php?title=%E7%A8%AE%E5%AD%90%E6%AA%94%E6%A1%88&amp;diff=350082&amp;oldid=prev"/>
		<updated>2025-08-19T13:51:32Z</updated>

		<summary type="html">&lt;p&gt;從 JSON 檔案批量匯入&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;BitTorrent 協定的&amp;#039;&amp;#039;&amp;#039;種子檔案&amp;#039;&amp;#039;&amp;#039;（英語：Torrent file）是由 BitTorrent 協定所定義的，用於會當儉一組檔案元資料的檔案。副檔名一般為著「. torrent」。&lt;br /&gt;
&lt;br /&gt;
==結構==&lt;br /&gt;
&lt;br /&gt;
. torrent 種子檔案本質上是文字檔案，包含 Tracker 資訊佮檔案資訊兩部份。Tracker 資訊主要是 BT 下載閣愛用著的 Tracker 侍服器的位址佮針對 Tracker 侍服器的設定，檔案資訊是根據對目的檔的計算生成的，算結果根據 BitTorrent 協定內的 Bencode 規則進行編碼。伊的主要原理是需要共提供下載的檔案虛擬分做大細相等的塊，塊大細著愛為二 k 的整數次方（因為是虛擬分塊，硬碟上並無產生各個塊檔案）， 並且共逐塊的索引資訊佮 Hash 驗證碼寫入種子檔案中；所以乎，種子檔案就是予人下載檔案的「索引」。&lt;br /&gt;
&lt;br /&gt;
種子檔案包含以下的資料：&lt;br /&gt;
&lt;br /&gt;
* announce-tracker 的 URL&lt;br /&gt;
* info-該條對映到一个字典，該字典的鍵會取決佇共享的一个抑是幾若个檔案：&lt;br /&gt;
* name-建議儲存到的檔案佮 kha-tá-lok-guh 名稱&lt;br /&gt;
* piece length-逐个檔案角的位元組數。通常為 $ 二 ^ { 八 } $=兩百五十六 KiB=二十六孵兩千一百四十四 B&lt;br /&gt;
* pieces-逐个檔案角的 SHA 鋪一的整合 Hash。因為乎 SHA 抹一下轉去百六十-bit 的 Hash，所以乎 pieces 將會得著一个百六十-bit 的整數倍的字捾。佮一个 length（相當於只有一个檔案當咧共享）抑是 files（等於做真濟个檔案予人來享受）：&lt;br /&gt;
* length-檔案的大細（以位元組為單位）&lt;br /&gt;
* files-一个字典的列表（每一个字典對應一个檔案）以下的鍵：&lt;br /&gt;
* path-一个對應子 kha-tá-lok-guh 名的字線列表，上尾一項是實際的檔案名稱* length-檔案的大細（以位元組為單位）&lt;br /&gt;
&lt;br /&gt;
==作用==&lt;br /&gt;
&lt;br /&gt;
根據 BitTorrent 協定，檔案發布者會根據欲發布的檔案生成提供一个種子檔案。下載者欲下載檔 àn-nāi 容，需要先得著相應的種子檔案，然後使用 BT 客戶捀軟體進行下載。&lt;br /&gt;
&lt;br /&gt;
下載的時，BT 客戶捀起先解析種子檔案得著 Tracker 位址，然後連接 Tracker 侍服器。&lt;br /&gt;
&lt;br /&gt;
下載者每得著一塊，需要算出下載塊的 Hash 驗證碼佮種子檔案中的對比，若仝款愛講明塊正確，無仝款需要重新下載這塊。這種規定是為著欲解決下載內容準確性的問題。&lt;br /&gt;
&lt;br /&gt;
為著欲解決某一寡使用者「落了就走」的現象，咧非官方 BitTorrent 協定猶有一位種有夠種子的演算法。&lt;br /&gt;
&lt;br /&gt;
==參考==&lt;br /&gt;
&lt;br /&gt;
* 磁力連結&lt;br /&gt;
&lt;br /&gt;
==外部連結==&lt;br /&gt;
&lt;br /&gt;
* Search engine for Torrent files&lt;br /&gt;
&lt;br /&gt;
[[分類: 待校正]]&lt;/div&gt;</summary>
		<author><name>TaiwanTonguesApiRobot</name></author>
	</entry>
</feed>