This repository is a pure, generic microformats2 parser for PHP that makes HTML as easy to consume as a JSON API. It provides both functional and object-oriented interfaces for parsing microformats2 structured data from HTML documents. The parser handles all standard microformats2 property types (p-, u-, dt-, e-), implements implied property parsing, resolves relative URLs according to HTML and URI specifications, and includes backward compatibility for classic microformats markup. It features a robust test suite and follows PSR-0 autoloading standards.
This repository is a Ruby gem for parsing CSS that implements CSS specification compliance including selector specificity calculation, property parsing, shorthand expansion/creation, and CSS cascade merging. It handles CSS imports, media queries, and URL resolution with built-in SSRF protection. The library processes CSS input (files, URIs, strings) into RuleSet objects that can be queried, manipulated, and merged according to W3C CSS standards. Key features include robust parsing of complex CSS, handling of edge cases in shorthand properties, and security measures against remote file inclusion attacks.
GNews is a Python package that provides an API to search and retrieve news articles from Google News. It features a modular architecture with a core GNews class, backend abstraction (RSS and SearchApi), async support, URL resolution via Playwright, full-text extraction, and export capabilities. The package includes a command-line interface and handles common challenges like rate limiting with exponential backoff, proxy support, and graceful fallbacks. The codebase is actively maintained with regular updates and follows modern Python practices.