NAME
Muster::Scanner - updating meta-data about pages
VERSION
version 0.92
DESCRIPTION
Content Management System keeping meta-data about pages.
METHODS
init
Set the defaults for the object if they are not defined already.
scan_some_pagefiles
Scan a set of pagefiles; this is NOT going to be all the pages, just some of them. This expects the name of a file relative to the page_dir the file is in.
$self
->scan_some_pagefiles(
@files
);
scan_all
Scan all pages.
Helper Functions
These are private to the module.
_scan_one_pagefile
Scan a single pagefile; this expects the name of a file relative to the page_dir the file is in. This returns the leaf with all the relevant data in it.
my
$leaf
=
$self
->_scan_one_pagefile(
$filename
);
_find_and_scan_all
Use File::Find to find and scan all page files..
_create_and_scan_leaf
Create and scan a leaf (which contains meta-data and content).
$leaf
=
$self
->_create_and_scan_leaf(
page_dir
=>
$page_dir
,
filename
=>
$File::Find::name
,
dir
=>
$File::Find::dir
);