(node: ET.Element)
| 48 | |
| 49 | |
| 50 | def is_rss_outline(node: ET.Element) -> bool: |
| 51 | return ( |
| 52 | node.tag == "outline" |
| 53 | and node.attrib.get("type") == "rss" |
| 54 | and normalize_url(node.attrib.get("xmlUrl", "")) != "" |
| 55 | ) |
| 56 | |
| 57 | |
| 58 | def get_body(tree: ET.ElementTree, path: Path) -> ET.Element: |
no test coverage detected