That chubby swede (sleepy) wrote,
That chubby swede
sleepy

Work stuff

I've been working hard the last couple of days... since last wednesday actually. Completely rewrote a importer script, some weird commandline PHP script that were fundamentally b0rked, it's supposed to import news paper articles and process pictures. The import files has the file extension ".xml", but the only thing reminding of XML is that the various pieces are tagged, like html or any markup language, but before doing anything one have to deMACitize it, as they haven't converted the information into platform neutral.

Solved it and thought everything was OK, eeeeeep, wrong.

Another piece of code the same company have produced is essentially non-portable PHP, semi-hardcoded, "everything-is-Register-Globals" and spans over 350-400 separate files. I've spent the better part of two days banging it with blunt force, cursing, tearing my hair... it barely works. If a part is modified, something else breaks. M'f'cking piece of shite. I've got a promise of rewriting the whole package, from scratch, as it's used on three news paper sites that we host... maybe we could sell it to the company that originally wrote the piece.

The importer script(s) will also be completely rewritten, in Perl.
Tags: perl, php, rant
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments