{# Metadata generator #} {% if result.rss.title %} {% if ask.rss.type == "search" %} {{ strings.gen.feed.any.title.search.format(result.rss.title) }} {% elif ask.rss.type == "status" %} {{ strings.gen.feed.any.title.status }} {% else %} {{ strings.err.gen.UnknownFeedType }} {% endif %} {% else %} {{ strings.err.gen.UnknownFeedName }} {% endif %} {% if result.rss.description %} {% if ask.rss.type == "search" %} {% if ask.query.limit not 0 %} {{ strings.gen.feed.any.description.search.limited.format(ask.query.limit,result.rss.title) }} {% else %} {{ strings.gen.feed.any.description.search.unlimited.format(result.rss.title) }} {% endif %} {% elif ask.rss.type == "status" %} {{ strings.gen.feed.any.description.status }} {% else %} {{ strings.err.gen.UnknownFeedDescription }} {% endif %} {% endif %} {% if result.rss.link %} {% if ask.source %} {{ ask.source.urls.goto % result.rss.link }} {% else %} {{ result.rss.link }} {% endif %} {% endif %} {{ ask.requestDate }} {{ "%-%".format(ask.lang.lower(),ask.region.lower()) }} superTinySearch API Frontend v{{ meta.api.version }} using Python Jinja v3 {% for item in result.rss.items %} {% include 'xml.blocks.rss2.item.xml.jinja' %} {% endfor %}