For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2007 > Conversion scripts









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Conversion scripts
Edward Z. Yang

2007-11-25, 10:03 pm

Linked are some handy dandy conversion scripts for getting
function-style method XML files into new skeleton style XML files
(otherwise it'd be a bit of drudge work).

Be sure to backup before doing using them! Expect bugs! Check and make
sure the code is doing what it says it does! They seem to work
reasonably well on the DOM extension.

http://www.thewritingpot.com/scraps/phpdoc/convert.txt
http://www.thewritingpot.com/scraps/phpdoc/split.txt

General usage (assuming the extension is dom and the class is domnode):

$ pwd
/home/ezyang/phpdoc
$ cd en/reference/dom
$ php /path/to/split.php dom domnode (note no caps!)
$ cd domnode
$ php /path/to/convert.php dom domnode

And then build it! Note you still have to create the classname.xml files.

--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
Edward Z. Yang

2007-11-25, 10:03 pm

Ooops, wrong URLs:

http://www.thewritingpot.com/scrap/phpdoc/convert.txt
http://www.thewritingpot.com/scrap/phpdoc/split.txt

--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com