[dokuwiki] Re: question on meta data and feature request for enabling disabled functionality for admins

You can run the attached file from the command line. You can feed it a file name:
                 php get_inf.php file.eta
and it will parse that file. Or you can run it without passing it a filename and it will output the data from all of the meta files in the current directory. You will have problems accessing this script using a browser, since the data directories are all protected by an .htaccess file in data.

Myron

Jason Keltz wrote:
Hi.

I have one question, and one feature request.

First, is there anywhere on the DokuWiki site where I can find information on exactly how to understand all the codes in the *.meta files in the data/meta directory of my DW installation? I'd like to understand how the revisions are stored.



Jason.


--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


 1) {
  echo $argv[1], "\n";
  get_data($argv[1]);
}

else {
  foreach (glob("*.meta") as $filename) {
       get_data($filename) ;
  }
}
echo "
\n"; exit; function get_data($filename) { if(preg_match('/.*?\.php/', $filename)) return; if(is_dir($filename)) return; echo "$filename size " . filesize($filename) . "\n"; $inf_str = file_get_contents ($filename); $inf = unserialize($inf_str); print_r($inf); } ?>

Other related posts: