python-automation

write in markdown to generate sitemap.xml

you can use the following fields:

example markdown :

# main
- url: https://example.xyz/
- lastmod: 2024-01-04
- changefreq: monthly
- priority: 1.0

corresponding xml :

    <url>
        <loc>https://example.xyz/</loc>
        <lastmod>2024-01-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>1.0</priority>
    </url>

check out example.md and exmaple-output-sitemap.xml for a clear picture on what exactly u are gonna need to do and what u are getting out

the python file to be run is : site-md-to-xml.py