opmlparser 1.0.0 opmlparser: ^1.0.0 copied to clipboard
A dart package for parsing OPML. All features of the official spec is included.
import 'package:http/http.dart' as http;
import 'package:opmlparser/opmlparser.dart';
void main() async {
var client = http.Client();
var response = await client.get(
Uri.parse('http://hosting.opml.org/dave/spec/subscriptionList.opml'));
var channel = Opml.parse(response.body);
print(channel);
client.close();
}