https://github.com/leetaogoooo/opmlparser
A dart package for parsing OPML.
https://github.com/leetaogoooo/opmlparser
Last synced: 4 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T22:02:37.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T00:41:55.066Z (6 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
[](https://travis-ci.org/abhinavmarwaha/opmlparser)
[](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.