Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [09-2007 Date Index] [Date Next] || [Thread Prev] [09-2007 Thread Index] [Thread Next]

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

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx, Jason Keltz <jas@xxxxxxxxxxxx>
  • Date: Tue, 18 Sep 2007 16:01:16 -0500
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); } ?>




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.