-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support of multi-language sitemaps with alternative links for each lo…
…cation (#50) * Added support of multi-language sitemaps with alternative links for each location * Fixed letter case in phpdoc and README.md
- Loading branch information
Showing
5 changed files
with
2,436 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xsd:schema xmlns="http://symfony.com/schema" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
targetNamespace="http://symfony.com/schema" | ||
elementFormDefault="qualified"> | ||
<!-- | ||
The Sitemap schema does not include the link element that is | ||
utilized by Google for multi-language Sitemaps. Hence, we need | ||
to combine the two schemas for automated validation in a dedicated | ||
XSD. | ||
--> | ||
<xsd:import namespace="http://www.sitemaps.org/schemas/sitemap/0.9" | ||
schemaLocation="sitemap.xsd"/> | ||
<xsd:import namespace="http://www.w3.org/1999/xhtml" | ||
schemaLocation="xhtml1-strict.xsd"/> | ||
</xsd:schema> |
Oops, something went wrong.