Saturday, September 13, 2008, 1:08:56 PM, adam overton wrote:
> so again, is it/can it/will it be possible to run {(pagelist)} thru a
> custom fmt and have it still spit out as a csv?
this seems to be a contradiction in itself.
If you want a custom formatted output, you won't have a
comma-separated output.
On the other hand, have a look at powertools.php.
You could give a different value with fmt=mycustomfmt
but you need to define what it should be similar to
$FPLFormatOpt['csv'] = array('fn' => 'FPLSimpleText');
function FPLSimpleText($pagename, &$matches, $opt) {
.....
}
in powertools.php. I.e you could define
$FPLFormatOpt['mycustomfmt'] = array('fn' => 'FPLMyCustomFmt');
function FPLMyCustomFmt($pagename, &$matches, $opt) {
.....
}
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users