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 hreflang hints to xml stylesheet #41

Closed
botmaster opened this issue May 3, 2023 · 7 comments
Closed

Add hreflang hints to xml stylesheet #41

botmaster opened this issue May 3, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@botmaster
Copy link

Clear and concise description of the problem

Hello.

No hreflang alternatives displayed in the rendered sitemap.xml.

CleanShot 2023-05-03 at 16 21 01

Suggested solution

Maybe we should add a table that would contain the "hreflang" list?

Alternative

No response

Additional context

No response

@botmaster botmaster added the enhancement New feature or request label May 3, 2023
@harlan-zw
Copy link
Collaborator

Hi @botmaster, thanks for the issue.

Just to confirm, the alternatives are working for you correctly (view source of the sitemap), you would just like to see them within the sitemap stylesheet?

@botmaster
Copy link
Author

Yes, everything works fine 👏
I would just like to see them within the sitemap stylesheet 🙏.

Sorry, I don't speak English very well

@harlan-zw
Copy link
Collaborator

All good :) Just wanted to make sure there wasn't a bug.

It's a good idea to give some feedback around the alternatives, even if it's just a count to start with

@mradenkovic
Copy link

Hi @harlan-zw have the same issue with nuxt 3.5 and i18n not working!! I already disabled the style and in the source as well not shown. Really important.

my source:
```
['nuxt-simple-sitemap', {
xsl: false,
siteUrl: 'https://hidden',
sitemaps: false,
trailingSlash: true,
autoLastmod: true,
alternatives: true,
pages: {
exclude: [
'/store/bag',
],
},
index: [
{ sitemap: 'https://hidden/sitemap-products.xml' }
]
}]

@harlan-zw harlan-zw changed the title [i18n] - hreflang alternatives not rendered [i18n] add hreflang hints to xml stylesheet May 31, 2023
@harlan-zw harlan-zw changed the title [i18n] add hreflang hints to xml stylesheet Add hreflang hints to xml stylesheet May 31, 2023
@harlan-zw
Copy link
Collaborator

Hi @harlan-zw have the same issue with nuxt 3.5 and i18n not working!! I already disabled the style and in the source as well not shown. Really important.

my source: ``` ['nuxt-simple-sitemap', { xsl: false, siteUrl: 'https://hidden', sitemaps: false, trailingSlash: true, autoLastmod: true, alternatives: true, pages: { exclude: [ '/store/bag', ], }, index: [ { sitemap: 'https://hidden/sitemap-products.xml' } ] }]

Hi @mradenkovic, you're posting on an unrelated issue. Can you please make a new issue with more details? Ideally a StackBlitz of the problem.

One quick thing I'll say is that your config does not seem to be correct. pages and alternatives are not valid root keys.

@mradenkovic
Copy link

@harlan-zw yes i know, i just tried it out if it works before i open a issue

@harlan-zw
Copy link
Collaborator

Will track here: #81

@harlan-zw harlan-zw closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants