• Switched from SimpleXMLElement to SimplePie for more robust RSS feed parsing.
• Simplified feed parsing logic with SimplePie.
• Simplified image extraction using regex directly from feed item descriptions.
• Removed dependency on DOMDocument and DOMXPath for HTML parsing.
• Maintained robust image saving logic to download and save images to storage.
• Removed fetchContentUsingCurl and convertToAbsoluteUrl methods, reducing code complexity.
• Simplified error handling and logging for RSS feed parsing.
• Added dependency on Laravel’s Container for creating SimplePie instances, ensuring better integration with Laravel’s service container.