libmrss

C library for parsing and handling RSS feeds and streams

brewmacoslinux
Try with needOr install directly
Source

About

C library for RSS files or streams

Examples

read RSS feed from URL in C program$ #include <mrss.h> mrss_t *data = NULL; mrss_parse_url(NULL, "http://example.com/feed.xml", &data, NULL);
parse RSS feed from local XML file$ #include <mrss.h> mrss_t *data = NULL; mrss_parse_file("feed.xml", &data);
extract article titles and links from feed$ #include <mrss.h> for (mrss_item_t *item = data->item; item; item = item->next) printf("%s - %s\n", item->title, item->link);
parse RSS feed from string buffer$ #include <mrss.h> mrss_t *data = NULL; mrss_parse_buffer(xml_string, strlen(xml_string), &data);
access RSS channel metadata like title and description$ #include <mrss.h> printf("Channel: %s\nDescription: %s\n", data->title, data->description);