# Path: app.py



import os
import sys
from flask import request, Response
from app import app
      for user in users:
          url=url_for('user.pub',name=user.name)
          modified_time=user.modified_time.date().isoformat()
          pages.append([url,modified_time]) 

      sitemap_xml = render_template('frontend/sitemap_template.xml', pages=pages)
      response= make_response(sitemap_xml)
      response.headers["Content-Type"] = "application/xml"    
    
      return responseapp.route('/')


"""
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    {% for page in pages %}
    <url>
        <loc>{{page[0]|safe}}</loc>
        <lastmod>{{page[1]}}</lastmod>
    </url>
    {% endfor %}
</urlset>
"""


def index():
    return 'index'


if __name__ == "__main__":

# Path: app.py



# Path: urls/generate_sitemap.py
import os
import sys
from flask import request, Response
from app import app

      for user in users:
          url=url_for('user.pub',name=user.name)
          modified_time=user.modified_time.date().isoformat()
          pages.append([url,modified_time]) 

      sitemap_xml = render_template('frontend/sitemap_template.xml', pages=pages)
      response= make_response(sitemap_xml)
      response.headers["Content-Type"] = "application/xml"    
    
      return responseapp.route('/')


"""
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    {% for page in pages %}
    <url>
        <loc>{{page[0]|safe}}</loc>
        <lastmod>{{page[1]}}</lastmod>
    </url>
    {% endfor %}
</urlset>
"""


def index():
    return 'index'


if __name__ == "__main__":

    app.run()