Disable post syndication
Committed 56db93
--- a/webint_posts/__init__.py
+++ b/webint_posts/__init__.py
mentions = []
permalink = payload.pop("url", None)
- syndication = []
+ # syndication = []
if action == "create":
permalink, mentions = app.model.create(
post_type, **collect_properties(properties)
)
- syndication = properties.get("syndication")
+ # syndication = properties.get("syndication")
# web.header("Link", '</blat>; rel="shortlink"', add=True)
# web.header("Link", '<https://twitter.com/angelogladding/status/'
# '30493490238590234>; rel="syndication"', add=True)
elif action == "update":
if "add" in payload:
app.model.update(permalink, add=collect_properties(payload["add"]))
- syndication = payload["add"]["syndication"]
+ # syndication = payload["add"]["syndication"]
if "replace" in payload:
app.model.update(
permalink, replace=collect_properties(payload["replace"])
)
- syndication = payload["replace"]["syndication"]
+ # syndication = payload["replace"]["syndication"]
elif action == "delete":
app.model.delete(permalink)
else: