phpcomposeryggdrasilbittorrentjs-lessalt-websymfonysphinxsocial-networkcatalogtorrentmagnetwikidistributedfederatedsqlitetracker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
673 B
15 lines
673 B
<?xml version="1.0" encoding="UTF-8"?> |
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> |
|
{% for torrent in torrents %} |
|
<url> |
|
<lastmod>{{ torrent.added | date('Y-m-d') }}</lastmod> |
|
{% for code in locales %} |
|
{% if code == locale %} |
|
<loc>{{ url('torrent_info', { '_locale': code , torrentId : torrent.id }) }}</loc> |
|
{% else %} |
|
<xhtml:link rel="alternate" hreflang="{{ code }}" href="{{ url('torrent_info', { '_locale': code , torrentId : torrent.id }) }}" /> |
|
{% endif %} |
|
{% endfor %} |
|
</url> |
|
{% endfor %} |
|
</urlset>
|
|
|