My automatica XML Generating Script

Discussion in 'Mobile Web Development' started by Someone1guy, Feb 2, 2008.

?

Is this usefull for you?

  1. Extremely

    9 vote(s)
    45.0%
  2. Pretty Useful

    6 vote(s)
    30.0%
  3. Neither Here, Nor There

    3 vote(s)
    15.0%
  4. Somewhat of a let down

    0 vote(s)
    0.0%
  5. Pretty Sad

    2 vote(s)
    10.0%
  1. Someone1guy

    Someone1guy New Member

    Joined:
    Nov 28, 2007
    Messages:
    250
    Likes Received:
    8
    Device:
    iPod touch
    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

    Attached Files:

    1 person likes this.
  2. Gaming Warrior

    Gaming Warrior New Member

    Joined:
    Dec 8, 2007
    Messages:
    159
    Likes Received:
    12
    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.
  3. Someone1guy

    Someone1guy New Member

    Joined:
    Nov 28, 2007
    Messages:
    250
    Likes Received:
    8
    Device:
    iPod touch
    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).
  4. Someone1guy

    Someone1guy New Member

    Joined:
    Nov 28, 2007
    Messages:
    250
    Likes Received:
    8
    Device:
    iPod touch
    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.
  5. dietztho000

    dietztho000 Member

    Joined:
    Jan 26, 2008
    Messages:
    566
    Likes Received:
    17
    Device:
    3G iPod touch
    Awesome, being the Repo Manager and Manager for DavTeam, this might come in handy. Gonna try it out
  6. welshboy

    welshboy New Member

    Joined:
    Dec 2, 2007
    Messages:
    264
    Likes Received:
    0
    Device:
    iPhone 3GS (Black)
    I'm looking for something similar to this, but not quite

    Please Register or Log in to view images

    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?
  7. glradios

    glradios New Member

    Joined:
    Mar 14, 2008
    Messages:
    15
    Likes Received:
    0
    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.

    Attached Files:

  8. Someone1guy

    Someone1guy New Member

    Joined:
    Nov 28, 2007
    Messages:
    250
    Likes Received:
    8
    Device:
    iPod touch
    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.
  9. glradios

    glradios New Member

    Joined:
    Mar 14, 2008
    Messages:
    15
    Likes Received:
    0
    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.

    Attached Files:

  10. Someone1guy

    Someone1guy New Member

    Joined:
    Nov 28, 2007
    Messages:
    250
    Likes Received:
    8
    Device:
    iPod touch
    I sent a PM to you.

Share This Page