#27395: Allow generating '<link rel="alternate ... hreflang=...>" for sitemaps'
----------------------------------+------------------------------------
     Reporter:  Hovi              |                    Owner:  nobody
         Type:  New feature       |                   Status:  new
    Component:  contrib.sitemaps  |                  Version:  1.10
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------
Description changed by Hovi:

Old description:

> Hello,
>
> django sitemap supports i18n field, that enables generating language-
> aware sitemaps, here is doc:
> https://docs.djangoproject.com/en/1.10/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.i18n
>
> Problem is, that it generates them just as each url separately with no
> relations. One of google recommendations is to mark same content in
> different languages using sitemap with xhtml:link element:
> https://support.google.com/webmasters/answer/189077
>
> Would be cool to add possibility to generate these tags.

New description:

 Hello,

 django sitemap supports i18n field, that enables generating language-aware
 sitemaps, here is doc:
 
https://docs.djangoproject.com/en/1.10/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.i18n

 Problem is, that it generates them just as each url separately with no
 relations. One of google recommendations is to mark same content in
 different languages using sitemap with xhtml:link element:
 https://support.google.com/webmasters/answer/189077
 https://support.google.com/webmasters/answer/2620865

 Would be cool to add possibility to generate these tags.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/27395#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.3de4fc76f12ee642b8df4dea81bd3327%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to