I have developed website in Zend framework, it's like a blog. I'm worried about posting URL links, as they are not being indexed in Google. However, if I generate sitemap.xml externally, and upload it, then it is displayed on Google Search. Yet, I think this is not the proper way to submit my sitemap.
So, I'm looking for an automated method to generate a sitemap.xml file, i.e., reset a sitemap.xml file every day. Is there anyway to do so?