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 | 1824 | 2007-06-21 |
| FeedX-0.1.2.tar.gz | 21.95 kB | 1148 | 2007-05-31 |
Demo:
Weather Underground RSS Feed for Fort Collins, CO USCurrent conditions: Temperature: 58.4°F | Humidity: 22% | Pressure: 24.68in ( Falling) | Conditions: Clear | Wind Direction: NNW | Wind Speed: 0.0mph
- Today - Mostly sunny. Highs 56 to 62.
- Tonight - Mostly cloudy with a chance of rain and snow showers in the evening...then snow after midnight. Snow accumulation of 2 to 4 inches. Lows 23 to 29. North winds 15 to 25 mph.
- Friday - Snow. Areas of blowing snow. Snow accumulation of 4 to 6 inches. Highs in the upper 20s. North winds 10 to 15 mph in the morning becoming light.