Someone1guy
02-02-2008, 10:15 PM
I developed a PHP/MySQL based script that you can post on your website that will automatically generate an XML file for your repository. It's pretty userfriendly and easy to get running. Inspired by Pyrofer's work (I didn't use any of his code, though).

If you want give it a run, see if you like it. If there are any bugs please let me know. There WILL NOT any support for this script (other than fixing -BUGS/GLITCHES/ETC-). You can request features here, but don't hold your breath. Make sure you read the README.txt, as it explains everything.

EDIT: Uploaded a newer version, fixed hash generation problem and Display Name saving error.

Someone1guy

Gaming Warrior
02-02-2008, 11:10 PM
Hmmm.... i might give this a run I'm in the middle of making my own but don't have much free time so if this does every thing i had planned for mine i may not bother.

Someone1guy
02-04-2008, 02:43 PM
Uploaded new version to the Original Post. Fixed a few errors (Hash, Filesize and Display name writing in the generation portion of the script was FUBAR).

Someone1guy
04-01-2008, 03:43 PM
If anyone cares, I am working on a new version of this, as I found it was pretty basic.

The next version I am working on will include the following:
-Upload a zip file to the server (not required to already reside on the server)
-Specify location of a remotely hosted file (MD5 and File Size data will be filled in manually if this is specified)
-Package files on-the-fly to .zip file (if run on a *nix server); currently questionable as I am having a hard time getting the .zip file to be compatible with OS X
-Specify different commands such as "Notice", "Abort Operation" "IfNot", "Exec" etc during all five script times ("preflight", "install", "uninstall" etc)

This should make the script MUCH more servicable for those who need these more advanced functions.

Looking to have it out in about a week.

dietztho000
04-03-2008, 04:09 AM
Awesome, being the Repo Manager and Manager for DavTeam, this might come in handy. Gonna try it out

welshboy
04-13-2008, 03:28 AM
I'm looking for something similar to this, but not quite:p ive started coding a script that you specify a link to the repo you wish to add and it cycles through the xml file and adds it to a single repo file (mine) like what repo.sc does, but im stuck, ay ideas? or will anyone be release something like this soon?

glradios
05-05-2008, 09:16 AM
xmlGen.php is cannot active 'Create New Entry'
I writed in Input Subject and click the 'Create New Entry' -> showd up 'The file, ~~~ , has been added to the source."

But, anything informatation does not generated in the fileInfo DB.

???

sorry. English is My second language.

Someone1guy
05-05-2008, 09:30 AM
xmlGen.php is cannot active 'Create New Entry'
I writed in Input Subject and click the 'Create New Entry' -> showd up 'The file, ~~~ , has been added to the source."

But, anything informatation does not generated in the fileInfo DB.

???

sorry. English is My second language.

Most likely you haven't set the following variables in the configuration portion of "xmlGen.php" to the correct value:
$databasename = 'yourwebsite_dbname';
$databaseuser = 'yourwebsite_dbuser';
$databasepass = 'Password12345';

Do you have other programs that use PHP/MySQL? If so, make sure the above info matches.

glradios
05-05-2008, 09:38 AM
I already setted the config for xmlGen.php
$databaseserver, $databasename, $databaseuser, $databasepass are all OK.

If I to miss a DB set, will see the next message. "supplied argument is not a valid MySQL"
don't you? '_'

T_T

I am using BBS System(Zeroboard), MetaBlog(Wing), Blog(TextCube). But DB table name does not match.
thanks.. orz.

Someone1guy
05-05-2008, 09:50 AM
I already setted the config for xmlGen.php
$databaseserver, $databasename, $databaseuser, $databasepass are all OK.

If I to miss a DB set, will see the next message. "supplied argument is not a valid MySQL"
don't you? '_'

T_T

I am using BBS System(Zeroboard), MetaBlog(Wing), Blog(TextCube). But DB table name does not match.
thanks.. orz.

I sent a PM to you.