Backward Compatibility
html2rss maintains backward compatibility with older configuration formats and attribute names.
Renamed Attributes
Section titled “Renamed Attributes”Some attribute names have been renamed for clarity, but the old names still work:
Current Name | Legacy Names | Description |
---|---|---|
published_at | updated , pubDate | Publication date of the item |
Example
Section titled “Example”Both of these configurations work identically:
# Current format (recommended)selectors: published_at: selector: ".date"
# Legacy format (still supported)selectors: updated: selector: ".date"
Migration Guide
Section titled “Migration Guide”If you’re upgrading from an older version of html2rss:
- Update attribute names: Replace
updated
withpublished_at
in your configurations - Test your feeds: Verify that all feeds still work correctly after the update
Deprecated Features
Section titled “Deprecated Features”The following features are deprecated but still supported:
- Legacy attribute names: While still supported, use the current names for new configurations
Getting Help
Section titled “Getting Help”If you encounter issues with backward compatibility:
- Report issues: Open an issue if you find compatibility problems