We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32241
    • 1,495 Posts
    ADDED TO REPOSITORY

    Hi guys, this is still a work in progress, and the latest one is not fully tested at all, but I just added some events invoke and cache cleaner for this library. So if something goes wrong, your best bet will be related to the invoke event and cache cleaner code.

    Anyway, this is a helper class that will work the same way with our document parser, but it has more limitation to it, and the purpose is to be used on resources. Hope this can help someone improve newspublisher.

    There is no further tutorial on this class, but I believe the comments inside the class will be more than enough.
    For advanced coder, hope this help your development time.
    If you guys found a bugs and know how to fix it, feel free to post back in this forum topic.

    Thanks

    DOWNLOAD: http://svn.djamoer.net/?do=view&project=MODx&path=/trunk/libs/docapi/docapi.class.inc.php
      Wendy Novianto
      [font=Verdana]PT DJAMOER Technology Media
      [font=Verdana]Xituz Media
      • 10487 MODX Staff
      • 1,535 Posts
      Only had a glancing look at the moment but looks great! Thanks Wendy! smiley
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 32241
        • 1,495 Posts
        Quote from: garryn at Apr 18, 2006, 01:51 PM

        Only had a glancing look at the moment but looks great! Thanks Wendy! smiley

        Ur welcome, hope it will help some of you MODx coders/Hackers wink
          Wendy Novianto
          [font=Verdana]PT DJAMOER Technology Media
          [font=Verdana]Xituz Media
          • 33175
          • 711 Posts
          Thanks for this Wendy !!
          I will read it smiley
            Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
            • 32241
            • 1,495 Posts
            Here is the updated version of the library. Basically it almost possible to replace the current document action for MODx manager. This is a half-OOP approach that I took to have this library available for both php4 and php5 user and for both procedural programmer and OOP programmer. There is a static function that can be used to list documents, which I think it’s possible to be used like newslisting/ditto, except this is for advanced programmer who are looking for a simple API that they can use to customize MODx.

            PS: It’s only 60% tested. If someone willing to help me to catch bugs and fix it, please do so, I’m open to any help and improvement to this library.

            1714 line of codes.
            http://svn.djamoer.net/?do=view&project=MODx&path=/trunk/libs/docapi/docapi.class.inc.php
              Wendy Novianto
              [font=Verdana]PT DJAMOER Technology Media
              [font=Verdana]Xituz Media
              • 32963
              • 1,732 Posts
              Very nice library Wendy
                xWisdom
                www.xwisdomhtml.com
                The fear of the Lord is the beginning of wisdom:
                MODx Co-Founder - Create and do more with less.