| HTML-SiteTear documentation | view source | Contained in the HTML-SiteTear distribution. |
HTML::SiteTear::CSS - treat cascading style sheet files.
use HTML::SiteTear::CSS;
$item = HTML::SiteTear::CSS->new($parent,$source_path,$kind);
$item->linkpath($path); # usually called from the mothod "change_path"
# of the parent object.
$item->copy_to_linkpath();
$item->copy_linked_files();
This module is to treat cascading style sheet files liked from web pages. It's also a sub class of the HTML::SiteTear::Item. Internal use only.
$css = HTML::SiteTear::CSS->new('parent' => $parent,
'source_path' => $source_path);
Make an instance of this moduel. The parent object "$parent" must be an instance of HTML::SiteTear::Page. This method is called from $parent.
$css->css_copy($source_path, $target_path);
Copy a cascading style sheet file "$source_path" into $target_path dealing with internal links. This method is called form the method "copy_to_linkpath".
$item->copy_to_linkpath;
Copy $source_path into new linked path from $parent.
Tetsuro KURITA <tkurita@mac.com>
| HTML-SiteTear documentation | view source | Contained in the HTML-SiteTear distribution. |