pass base_url+image_extensions to enrich_msg
This commit is contained in:
parent
9f1aea1f5c
commit
c895b30b74
@ -101,7 +101,13 @@ def write_feed(posts, filename, params, tagname=None):
|
|||||||
ti = " ".join(
|
ti = " ".join(
|
||||||
line2words(msg,TITLE_LEN_LIMIT))
|
line2words(msg,TITLE_LEN_LIMIT))
|
||||||
if params["use_atom"]:
|
if params["use_atom"]:
|
||||||
de = " ".join(enrich_msg(msg))
|
de = " ".join(
|
||||||
|
enrich_msg(
|
||||||
|
msg,
|
||||||
|
base_url=params["url"],
|
||||||
|
image_extensions=params["image_extensions"],
|
||||||
|
)
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
de = " ".join(
|
de = " ".join(
|
||||||
line2words(msg,DESC_LEN_LIMIT))
|
line2words(msg,DESC_LEN_LIMIT))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user