Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leetaogoooo/opmlparser
A dart package for parsing OPML.
https://github.com/leetaogoooo/opmlparser
Last synced: about 2 months ago
JSON representation
A dart package for parsing OPML.
- Host: GitHub
- URL: https://github.com/leetaogoooo/opmlparser
- Owner: LeetaoGoooo
- License: agpl-3.0
- Created: 2020-09-13T00:29:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T22:02:37.000Z (over 4 years ago)
- Last Synced: 2024-10-12T06:21:17.137Z (3 months ago)
- Homepage: https://pub.dev/packages/opmlparser
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# OPML Parser
[![Build Status](https://travis-ci.org/abhinavmarwaha/opmlparser.svg?branch=master)](https://travis-ci.org/abhinavmarwaha/opmlparser)
[![Pub](https://img.shields.io/pub/v/opmlparser.svg)](https://pub.dartlang.org/packages/opmlparser)A dart package for parsing OPML.
### Installing
Add this line into your `pubspec.yaml`
```
opmlparser: ^0.0.1
```Import the package into your dart code using:
```
import 'package:opmlparser/opmlparser.dart';
```### Example
To parse string into `Opml` object use:
```
Opml opml = Opml.parse(xmlString);
```### Preview
**OPML**
```
opml.title
opml.dateCreated
opml.dateModified
opml.ownerName
opml.ownerEmail
opml.ownerId
opml.docs
opml.expansionState
opml.vertScrollState
opml.windowTop
opml.windowLeft
opml.windowBottom
opml.windowRightOpmlItem item = opml.items.first;
item.title
item.text
item.description
item.type
item.version
item.xmlURL
item.httpURL
item.language
```## License
OpmlParser is licensed under the GPLv3 License - see the [LICENSE.md](LICENSE.md) file for details.