mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 03:49:24 +02:00
See #170: RSS feeds for channels
This commit is contained in:
parent
a04b0b706b
commit
9c22a72ed1
18 changed files with 923 additions and 6 deletions
|
@ -55,6 +55,8 @@ def dict_to_xml_tree(root_tag, d, parent=None):
|
|||
else:
|
||||
if key == "value":
|
||||
root.text = str(value)
|
||||
elif key == "cdata_value":
|
||||
root.text = "<![CDATA[{}]]>".format(str(value))
|
||||
else:
|
||||
root.set(key, str(value))
|
||||
return root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue