We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18339
    • 14 Posts
    Mark Scudder Reply #1, 14 years ago
    A project for my boss requires me to use RSS feeds from a partner site to display latest news and articles on our site. I’m running Revo RC1.

    I was working with opengeek in #modx earlier but he seems to be away now. He showed me his "getFeed" snippet, http://svn.modxcms.com/svn/modx-components/getfeed/trunk/snippet.getfeed.php

    This doesn’t work with the RSS feeds I’ve tried, in fact it doesn’t return anything under any circumstances. I’ve tried calling it with [[getFeed? &url=`http://the.url`]] and [[!getFeed &url=`http://the.url`]]. The RSS feeds work in a web browser when viewed directly.

    If this snippet can’t work, is there anything else that will allow me to output RSS from a URL using a chunk for a template?

    I tried an RSS feed from our provider here, and a Feedzilla feed as well.

    Hoping someone can help. Thanks.
      • 26016
      • 561 Posts
      I couldn’t get "getFeed" to work either. Caveat, I use Evo, but I got good results with FeedX. I don’t think it’s in the repository, but you may be able to find info here:

      http://modxcms.com/forums/index.php?topic=12657.0
      http://www.stanback.net/code/modx/feedx.html

      The only difficulty I had was figuring out how to represent certain symbols in the feed calls, which don’t work "raw". And once I went "under the hood", I was easily able to template my results.

      I wonder if it’s just me, or is doing searches in the "Extras" area problematic? I’m finding that I’m better off doing searches straight from Google instead of on the MODx site.

      Good luck, Dave
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4