1. <?xml version="1.0" encoding="UTF-8" ?>
    2. <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    3. xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/">
    4. <url>
    5. <loc>{dede:global.cfg_basehost function='replacewww(@me)' /}/</loc>
    6. <mobile:mobile type="mobile"/>
    7. <changefreq>daily</changefreq>
    8. <priority>1.0</priority>
    9. </url>
    10. {dede:channel row='50' type='top'}
    11. <url>
    12. <loc>[field:typelink function='replacewww(@me)' /]</loc>
    13. <mobile:mobile type="mobile"/>
    14. <changefreq>daily</changefreq>
    15. <priority>0.9</priority>
    16. </url>
    17. {/dede:channel}
    18. {dede:channelartlist typeid='top'}
    19. {dede:channel type='son'}
    20. <url>
    21. <loc>[field:typelink function='replacewww(@me)'/]</loc>
    22. <mobile:mobile type="mobile"/>
    23. <changefreq>daily</changefreq>
    24. <priority>0.9</priority>
    25. </url>
    26. {/dede:channel}
    27. {/dede:channelartlist}
    28. {dede:arclist row='9999' typeid='all' orderby=pubdate}
    29. <url>
    30. <loc>[field:arcurl function='replacewww(@me)' /]</loc>
    31. <mobile:mobile type="mobile"/>
    32. <lastmod>[field:pubdate function=strftime('%Y-%m-%d',@me)/]</lastmod>
    33. <changefreq>daily</changefreq>
    34. <priority>0.8</priority>
    35. </url>
    36. {/dede:arclist}
    37. </urlset>