MCPcopy
hub / github.com/zer0yu/CyberSecurityRSS / is_rss_outline

Function is_rss_outline

scripts/add_feed_to_tiny.py:50–55  ·  view source on GitHub ↗
(node: ET.Element)

Source from the content-addressed store, hash-verified

48
49
50def 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
58def get_body(tree: ET.ElementTree, path: Path) -> ET.Element:

Callers 3

list_categoriesFunction · 0.70
iter_rss_nodesFunction · 0.70
build_category_mapFunction · 0.70

Calls 1

normalize_urlFunction · 0.70

Tested by

no test coverage detected