Overview
A Dart library designed to extract metadata from web pages, including OpenGraph, standard meta tags, Twitter Cards, and JSON-LD structured data. It enables applications to programmatically retrieve rich content information such as titles, descriptions, images, and other key details from URLs. Ideal for apps that need to preview or display web content dynamically, like social media integrators, news readers, or link sharers. The library supports multiple platforms, ensuring consistent behavior across Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Web page preview generation
- Social media link sharing
- Content scraping for news apps
- Dynamic metadata display in apps
- URL analysis for SEO tools
Key features
- Supports OpenGraph, Twitter Cards, and JSON-LD
- Extracts title, description, image, and custom metadata
- Cross-platform compatibility
- Simple API for fetching and parsing
- Robust handling of malformed HTML
Suitable for
- Apps needing rich link previews
- Developers building content aggregators
- Tools for URL metadata analysis
- Cross-platform web scrapers
Considerations
- Requires network access to fetch remote pages
- May fail on sites with anti-scraping measures
- Depends on accurate HTML structure
- Not suitable for high-volume scraping without rate limiting
- Parsing may vary with non-standard markup