Skip to content
New issue

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

How to avoid create a directory "public"? #16

Open
bydeath opened this issue Oct 30, 2017 · 2 comments
Open

How to avoid create a directory "public"? #16

bydeath opened this issue Oct 30, 2017 · 2 comments

Comments

@bydeath
Copy link

bydeath commented Oct 30, 2017

I set a SetPublicPath to '/tmp', there are xml file in. Bug there is another directory named "public". So I also use SetSitemapsPath to '/tmp'. But the directory "public" is created. how to avoid create the "public " directory? And I don't need to upload the sitemap file to remote machine. I just need to generate the xml file locally.

@bydeath
Copy link
Author

bydeath commented Oct 30, 2017

The content of xml in "public" contain a sitemapindex tag

@soata
Copy link

soata commented Jan 10, 2018

You must call Sitemap.Create after SetPublicPath / SetSitemapsPath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants