def rss_parser(
        xml: str,
        limit: Optional[int] = None,
        json_format: bool = False,
) -> str: