-
Notifications
You must be signed in to change notification settings - Fork 275
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
Is it possible to add additional metadata fields to the xml #412
Comments
@a85sharm unfortunately it doesn't support it out of the box, but it's easy to add in a fork of the repo because it's just a couple of changes needed. I could show you an example of that if you'd like. Unfortunately you wouldn't get future updates to the gem, but not a lot is changing these days, and I think the parts that would be modified the changes would merge without conflicts. But depends on your skill level |
Hey @kjvarga thanks for the response, i had assumed as much, it would just be changes in the sitemap_url.rb right? and then just updating the gem version number? |
No need to mess with the version number, since I don't think this will make it into the mainline. Unless the solution were abstracted to make it easy to support any sitemap extension. Here's the changes required and an example of the input #413. You can adapt the solution for whatever your particular needs are. |
Hey this is working perfectly! I really appreciate the responses and the time you took to build me an example! |
Awesome! You’re welcome. You caught me at a good time. |
I have been using this gem for some time now, and just wanted to clarify that it isnt possible to add additional metadata to the sitemaps when using this gem right? I am implementing a new search and was hoping to just add in a few fields to my sitemap service but it seems like it isnt supported by this gem. Below is an example of what I am looking to do.
https://docs.coveo.com/en/2656/index-content/index-xml-sitemap-metadata
The text was updated successfully, but these errors were encountered: