Go to file
Amogh Lele 7c948b4f5f feat: include go source in plugin
Signed-off-by: Amogh Lele <amolele@gmail.com>
2024-07-18 05:20:21 +05:30
.vscode Initial commit 2024-07-18 00:29:09 +05:30
android feat(android): add native libraries 2024-07-18 01:39:21 +05:30
example feat: modify example to work with lib 2024-07-18 01:38:04 +05:30
ios Initial commit 2024-07-18 00:29:09 +05:30
lib fix: remove linux target for now 2024-07-18 01:58:17 +05:30
src feat: include go source in plugin 2024-07-18 05:20:21 +05:30
.fvmrc Initial commit 2024-07-18 00:29:09 +05:30
.gitignore Initial commit 2024-07-18 00:29:09 +05:30
.metadata Initial commit 2024-07-18 00:29:09 +05:30
analysis_options.yaml Initial commit 2024-07-18 00:29:09 +05:30
CHANGELOG.md fix: add license 2024-07-18 02:05:02 +05:30
ffigen.yaml Initial commit 2024-07-18 00:29:09 +05:30
LICENSE fix: add license 2024-07-18 02:05:02 +05:30
pubspec.yaml fix: add license 2024-07-18 02:05:02 +05:30
README.md fix(docs): add readme and changelog 2024-07-18 02:02:02 +05:30

readability

A flutter plugin that wraps the native Readability library for Android and iOS.

Usage

Simply call the parseAsync method with the URL of the article you want to parse. The method returns a ArticleResult object with the title, content, and excerpt of the article.

import 'package:readability/readability.dart';

final result = await Readability.parseAsync('https://example.com/article');
print(result.title);
print(result.content);

An example of how to use this plugin can be found in the example directory.