• Currently3.0697961704756/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 609 2007-06-21
FeedX-0.1.2.tar.gz 21.95 kB 420 2007-05-31

Demo:

Weather Underground RSS Feed for Fort Collins, CO US

Current conditions: Temperature: 64.8°F | Humidity: 65% | Pressure: 29.96in (Steady) | Conditions: Clear | Wind Direction: SSE | Wind Speed: 3.0mph

  • Today - Partly sunny. Highs in the upper 60s.

  • Tonight - Cloudy. Slight chance of thunderstorms in the evening...then a chance of rain showers after midnight. Patchy fog after midnight. Lows in the lower 40s. Northeast winds 10 to 15 mph. Gusts up to 30 mph in the evening. Chance of precipitation 30 percent.

  • Monday - Mostly cloudy in the morning then becoming partly cloudy. Patchy fog in the morning. Areas of drizzle until late afternoon. Highs in the upper 50s. Northeast winds 10 to 15 mph. Gusts up to 30 mph in the morning.