Skip to content

Add new featurend

Compare
Choose a tag to compare
@KalimeroMK KalimeroMK released this 23 Feb 13:02
· 15 commits to main since this release
  • namic XPath Configuration: The method now dynamically selects XPath queries based on the domain of the RSS feed. This allows for custom content scraping strategies for different websites.
  • Image Size Filtering: Added functionality to filter images by their width, ensuring that only images larger than a specified width (e.g., 600px) are considered. This helps in focusing on significant images only.
  • Unique Images: Updated the logic to ensure that only unique images are returned by the method, eliminating duplicates and reducing unnecessary data.
  • Domain-based Configuration: Shifted to a domain-based configuration approach for XPath queries, allowing for more granular and accurate content extraction tailored to each specific source or domain.
  • Configuration File Usage: The class now leverages a configuration file (rssfeed.php) for setting parameters like minimum image width and domain-specific XPath queries, offering a centralized place for configurations.