140 |
<dt><strong><a name="item__24manifest"><em>$manifest</em></a></strong><br /> |
<dt><strong><a name="item__24manifest"><em>$manifest</em></a></strong><br /> |
141 |
</dt> |
</dt> |
142 |
<dd> |
<dd> |
143 |
The cache manifest to check, in the <a href="#manifest_data_structure">MANIFEST DATA STRUCTURE</a>. |
The cache manifest to check, encoded in the <a href="#manifest_data_structure">MANIFEST DATA STRUCTURE</a>. |
144 |
</dd> |
</dd> |
145 |
<p></p> |
<p></p> |
146 |
<dt><strong><em>$onerror</em></strong><br /> |
<dt><strong><em>$onerror</em></strong><br /> |
157 |
<p>For the list of the error types, see Whatpm Error Types |
<p>For the list of the error types, see Whatpm Error Types |
158 |
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.</p> |
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.</p> |
159 |
</dd> |
</dd> |
160 |
|
<dd> |
161 |
|
<p><code>index</code> is the index of the IRI with the error. @@ TBW</p> |
162 |
|
</dd> |
163 |
<p></p></dl> |
<p></p></dl> |
164 |
<p>A cache manifest is conforming if (a) it is correctly labeled |
<p>A cache manifest is conforming if (a) it is correctly labeled |
165 |
as a cache manifest (e.g. as Internet media type <code>text/cache-manifest</code>) |
as a cache manifest (e.g. as Internet media type <code>text/cache-manifest</code>) |
174 |
<h1><a name="manifest_data_structure">MANIFEST DATA STRUCTURE</a></h1> |
<h1><a name="manifest_data_structure">MANIFEST DATA STRUCTURE</a></h1> |
175 |
<p>If <em>$m</em> is in manifest data structure, <em>$m</em> is a reference to |
<p>If <em>$m</em> is in manifest data structure, <em>$m</em> is a reference to |
176 |
the array with three items: <em>$explicit_uris</em>, <em>$fallback_uris</em>, |
the array with three items: <em>$explicit_uris</em>, <em>$fallback_uris</em>, |
177 |
and <em>$online_whitelist</em>.</p> |
<em>$online_whitelist</em>, and <em>$manifest_uri</em>.</p> |
178 |
<p><em>$explicit_uris</em> is a reference to the array, which |
<p><em>$explicit_uris</em> is a reference to the array, which |
179 |
contains zero or more strings. The strings are IRI references |
contains zero or more strings. The strings are IRI references |
180 |
of the explicit entries.</p> |
of the explicit entries.</p> |
186 |
<p><em>$online_whitelist</em> is a reference to the array, which |
<p><em>$online_whitelist</em> is a reference to the array, which |
187 |
contains zero or more strings. The strings are IRI references |
contains zero or more strings. The strings are IRI references |
188 |
in the online whitelist.</p> |
in the online whitelist.</p> |
189 |
|
<p><em>$manfest_uri</em> is a string which is an IRI reference of the |
190 |
|
manifest itself.</p> |
191 |
<p> |
<p> |
192 |
</p> |
</p> |
193 |
<hr /> |
<hr /> |
194 |
<h1><a name="dependency">DEPENDENCY</a></h1> |
<h1><a name="dependency">DEPENDENCY</a></h1> |
195 |
<p>This module depends on <a href="../Message/URI/URIReference.html">the Message::URI::URIReference manpage</a>, which is |
<p>This module depends on <a href="../Message/URI/URIReference.html">the Message::URI::URIReference manpage</a>, which is |
196 |
part of manakai.</p> |
part of the manakai-core package.</p> |
197 |
<p> |
<p> |
198 |
</p> |
</p> |
199 |
<hr /> |
<hr /> |
210 |
<h1><a name="todo">TODO</a></h1> |
<h1><a name="todo">TODO</a></h1> |
211 |
<p>``Same scheme/host/port'' comparison algorithm is not correctly implemented |
<p>``Same scheme/host/port'' comparison algorithm is not correctly implemented |
212 |
yet.</p> |
yet.</p> |
213 |
|
<p>Test suite.</p> |
214 |
<p> |
<p> |
215 |
</p> |
</p> |
216 |
<hr /> |
<hr /> |
220 |
</p> |
</p> |
221 |
<hr /> |
<hr /> |
222 |
<h1><a name="license">LICENSE</a></h1> |
<h1><a name="license">LICENSE</a></h1> |
223 |
<p>Copyright 2007 Wakaba <<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></p> |
<p>Copyright 2007-2008 Wakaba <<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></p> |
224 |
<p>This library is free software; you can redistribute it |
<p>This library is free software; you can redistribute it |
225 |
and/or modify it under the same terms as Perl itself.</p> |
and/or modify it under the same terms as Perl itself.</p> |
226 |
|
|