We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14050
    • 788 Posts
    There seems to be problems associated with this and there has been no definitive solution as of yet. Brian seems to be no longer around to support this snippet with further updates. In assets/snippets/FeedX/classes/feedx.class.inc.php, on line 104, try changing

    return mb_convert_encoding($output, $modx->config['modx_charset'], 'auto'); 


    to

    return mb_convert_encoding($output, $modx->config['modx_charset'], 'iso-8859-1, utf-8');


    If no one else finds the time to try and fix this, I might look at how SimplePie handles encoding and see if I can utilize it in FeedX. However this will be low priority as I have no need for it myself.
      Jesse R.
      Consider trying something new and extraordinary.
      Illinois Wine

      Have you considered donating to MODx lately?
      Donate now. Every contribution helps.
      • 12110
      • 122 Posts
      Thanks Jesse,
      for the first feed your hint works, and at this moment it’s okay this way.
        • 14050
        • 788 Posts
        I haven’t looked at this functionality. When I get a chance I will try to look at the random feature. I am sure it does just pick a random element without checking if it has already selected it before smiley
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.
          • 14050
          • 788 Posts
          Mind posting a link to an example of the output (feel free to PM me this if the site isn’t public). Also could you post your template files here?
            Jesse R.
            Consider trying something new and extraordinary.
            Illinois Wine

            Have you considered donating to MODx lately?
            Donate now. Every contribution helps.
            • 26182
            • 164 Posts
            I can’t seem to get FeedX working.

            This is the result I’m getting:

            FeedX: : /home/flash/public_html/modx/assets/snippets/FeedX/classes/feedx.class.inc.php

            this is the call I’m making:

            [!FeedX? &url=`http://feeds.feedburner.com/AbcNews_Technology|xq|format|xe|xml` &preset=`xml` cacheTime=`3600` &debug=`1`!]

            What am I doing wrong?

            Thanks,

            Sarah
              • 14050
              • 788 Posts
              Looks like it might be a path issue. Is that the correct path to the included file?
                Jesse R.
                Consider trying something new and extraordinary.
                Illinois Wine

                Have you considered donating to MODx lately?
                Donate now. Every contribution helps.
                • 28033
                • 925 Posts
                I’m trying to use this Feed URL...

                http://symphonicheaven.com/forum/syndication.php|xq|fid|xe|130,136,138


                Obviously, the ? and & are replaced correctly. And the feed URL works as expected if I go directly to it. But it isn’t working. I use this on another part of my forum, which us showing up fine.

                Two of the forums listed in that call are empty, but that shouldn’t affect it, right?
                  My Snippets
                  -> PopUpChunk v1.0
                  • 14050
                  • 788 Posts
                  Have you looked at the debug console?
                    Jesse R.
                    Consider trying something new and extraordinary.
                    Illinois Wine

                    Have you considered donating to MODx lately?
                    Donate now. Every contribution helps.
                    • 28033
                    • 925 Posts
                    Quote from: Jesse at Feb 21, 2008, 07:03 PM

                    Have you looked at the debug console?

                    I had enabled it, but I didn’t see nothing that made any sense to the issue at hand. Should I be looking for something in specific?
                      My Snippets
                      -> PopUpChunk v1.0
                      • 14050
                      • 788 Posts
                      Does it show anything in the "Feed Data" tab?
                        Jesse R.
                        Consider trying something new and extraordinary.
                        Illinois Wine

                        Have you considered donating to MODx lately?
                        Donate now. Every contribution helps.