Is it possible to export pages to a csv file, in the same way you can import with this module?
I couldn't find anything in the modules section
Too simple to be a module, consider a script like this:
$array = $pages->find("template=basic-page")->explode(function($item){
return array(
'id'=> $item->id,
'title' => $item->title
);
});
$fp = fopen('file.csv', 'w');
foreach ($array as $fields) fputcsv($fp, $fields);
fclose($fp);
Note, $pagearray->explode() used here is only available in 2.4 (2.3 dev)
http://cheatsheet.processwire.com/pagearray-wirearray/getting-items/a-explode/
And th