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

add sitemap.xml generation on export #44

Open
trvsdnn opened this issue May 13, 2011 · 2 comments
Open

add sitemap.xml generation on export #44

trvsdnn opened this issue May 13, 2011 · 2 comments
Milestone

Comments

@trvsdnn
Copy link
Owner

trvsdnn commented May 13, 2011

No description provided.

@joesavage
Copy link

Is there any easy way to accomplish this functionality before it is built into the system itself, or will I have to look around for some kind of algorithm and write a helper method of some kind (not sure where it would be best to call it) that would generate the sitemap?

@trvsdnn
Copy link
Owner Author

trvsdnn commented Jul 31, 2012

You could write a rake task that looks at the files in dynamic and pulls out the titles, etc. The plan for the next major release was to have a tree object that represented the sitemap and each child would have all of the variables that were set in yaml available. This object would be available pretty much everywhere, so xml building would be trivial.

However, it gets a little complicated building that object to work with every possible way that a project can be structured... not so complicated if you know how your project will be structured.

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