We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created function for generation sitemaps. Just put it in the end of file and call inside main func
def load_site_map(static_path): arguments = docopt(__doc__, version='0.1.3') sitemaps = ["sitemap.xml","sitemap-posts.xml","sitemap-authors.xml","sitemap-tags.xml"] for sitemap in sitemaps: path = os.path.join(static_path, sitemap) if os.path.exists(path): os.remove(path) else: print("File not found %s." % path) command = ("wget " "--directory-prefix {1} " # download contents to static/ folder "{0}/{2}").format(arguments['--domain'], static_path,sitemap) os.system(command)
The text was updated successfully, but these errors were encountered:
@spirogov Fork the repo and make a pull request.
Sorry, something went wrong.
@bheru27 ok, but who will merge it, as i see this repo is dead?
No branches or pull requests
I created function for generation sitemaps.
Just put it in the end of file and call inside main func
The text was updated successfully, but these errors were encountered: