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:
| Filename | Filesize | Downloads | Date |
|---|---|---|---|
| FeedX-0.1.2.zip | 21.95 kB | 2331 | 2007-06-21 |
| FeedX-0.1.2.tar.gz | 21.95 kB | 1395 | 2007-05-31 |
Demo:
Weather Underground RSS Feed for Fort Collins, CO USCurrent conditions: Temperature: 68.4°F | Humidity: 70% | Pressure: 24.92in (Steady) | Conditions: Clear | Wind Direction: SSW | Wind Speed: 0.0mph
- Today - Partly sunny. Scattered thunderstorms in the afternoon. Some thunderstorms may produce heavy rainfall in the afternoon. Highs in the mid 80s. Chance of thunderstorms 40 percent.
- Tonight - Mostly cloudy with scattered thunderstorms in the evening...then partly cloudy after midnight. Some thunderstorms may produce heavy rainfall in the evening. Lows around 60. Chance of thunderstorms 30 percent.
- Saturday - Partly cloudy. A 20 percent chance of thunderstorms in the afternoon. Highs 86 to 92. Southeast winds 10 to 15 mph in the afternoon.