Support Us!
We are currently 100% volunteer driven, so even a $10.00 donation goes a long way.
Metanomy is a 501(c)(3) public charity.
[UPDATE: The demo site is no longer up]
CAP is an XML standard that is used to send alert messages around between government agencies. There are a few sources of ATOM/CAP feeds out there from the Weather Service and USGS, so I have been experimenting with parsing these feeds with Drupal's FeedAPI. There is still much work to be done with handling some of the unique namespaces that show up in these feeds, but it is a start.
And I attached some alpha quality code. It's essentially the Common Syndication Parser hacked to work with CAP 1.1 - Just unzip it and put it in your FeeedAPI module folder. You can then enable it as a module and use it as a parser. This is experimental code so do not use it in a production environment. Hope to have it or something like it contributed to the FeedAPI project.
| Attachment | Size |
|---|---|
| parser_common_alert.zip | 7.71 KB |
Comments
Demo No Longer Up
Since creating our demo things have changes a bit. We'll keep this up for historical purposes but there are now better ways to get this done in Drupal using Feeds and custom code.
Post new comment