Refactored RSS Code