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 a template for sitemap generation #29

Merged
merged 2 commits into from
Dec 11, 2014
Merged

Conversation

keertip
Copy link
Collaborator

@keertip keertip commented Dec 11, 2014

@sethladd

Also added tests and turned on tests on Travis.

keertip added a commit that referenced this pull request Dec 11, 2014
Add a template for sitemap generation
@keertip keertip merged commit 1448c7d into dart-lang:master Dec 11, 2014
@keertip keertip deleted the template branch December 11, 2014 23:01
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{#links}}
<url>
<loc>{{name}}</loc>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loc needs to be a fully qualified URL, beginning with http or https

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, have added a TODO in the dart code to fix that. Was not sure what the url would be.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe pass it in from command line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So generate sitemap only when the option is passed in?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's probably the easiest way to handle this for now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants