• Currently3.0398845447389/5 Stars
  • 1
  • 2
  • 3
  • 4
  • 5

FeedX

FeedX is a universal XML feed reader for MODx. Rather than being limited to specific formats, the snippet is capable of parsing and rendering nearly any XML format (RSS, RDF, Atom, you name it). In addition to functioning as a snippet, FeedX's class may be called by 3rd party snippets/plugins/modules as a simple method of retrieving cached and parsed XML data.

FeedX provides the ability to use PHx parsing, data limits/offsets, sorting, and filtering on individual feed elements. It also possesses the ability to convert a feed from one format to another (XML->JSON, RSS->Atom, etc.) using a series of custom templates/chunks. In addition, multiple feeds can be combined by including multiple FeedX calls on a single page.

Installation:

Download and extract the archive below into the assets/snippets/ directory of your MODx installation.

Next, create a new snippet from within the MODx manager and copy and paste the contents of "feedx.snippet.php" which is located in the archive.

Configuration:

Configuration instructions can be found in the main FeedX topic on the MODx forums. Official instructions will be made available soon.

Available Downloads:

FilenameFilesizeDownloadsDate
FeedX-0.1.2.zip 21.95 kB 2427 2007-06-21
FeedX-0.1.2.tar.gz 21.95 kB 1432 2007-05-31

Demo:

Weather Underground RSS Feed for Fort Collins, CO US

Current conditions: Temperature: 66.3°F | Humidity: 60% | Pressure: 24.69in (Rising) | Conditions: Mostly Cloudy | Wind Direction: North | Wind Speed: 0.0mph

  • Tonight - Mostly cloudy with chance of thunderstorms early in the evening...then mostly cloudy with slight chance of thunderstorms. Partly cloudy after midnight. Lows in the lower 50s. Chance of thunderstorms 30 percent.

  • Thursday - Mostly sunny. Highs in the lower 80s. South winds 10 to 15 mph in the afternoon.

  • Thursday Night - Mostly cloudy with a 20 percent chance of thunderstorms in the evening...then partly cloudy after midnight. Lows around 50. Northwest winds 10 to 15 mph.