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