mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Thu Dec 26 05:26:36 EET 2024
Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
parent
fc7d545e87
commit
f6005d20da
1 changed files with 0 additions and 5 deletions
|
@ -1606,11 +1606,6 @@ def rss(config: dict[str, typing.Any]) -> int:
|
||||||
if m["type"] != "image":
|
if m["type"] != "image":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
thm = etree.SubElement(item, "media:thumbnail")
|
|
||||||
thm.set("url", url)
|
|
||||||
thm.set("width", str(m["width"]))
|
|
||||||
thm.set("height", str(m["height"]))
|
|
||||||
|
|
||||||
enc = etree.SubElement(item, "enclosure")
|
enc = etree.SubElement(item, "enclosure")
|
||||||
enc.set("url", url)
|
enc.set("url", url)
|
||||||
enc.set("type", m["mime"])
|
enc.set("type", m["mime"])
|
||||||
|
|
Loading…
Add table
Reference in a new issue