lgraubner / sitemap-generator

Easily create XML sitemaps for your website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement for "Images only"

Cool-Programmer opened this issue · comments

Hi there.
I'd like to propose a new feature for your module
As my SEO exploration shows, search engines like when there is a separate images-sitemap.xml file for images only (there are a lot of media-heavy sites that have separate webpages containing a large image, a short description and title). Those type of sitemaps require specific type of syntax (webpage URL & image URL). Please refer to https://support.google.com/webmasters/answer/178636?hl=en

I can say for sure currently there is no package that does this, and because your module is the easiest to work with, and it also works great, i'd really like to see that functionality here (or may be in another one?).

Could be useful. I would suggest a flag like --image to create a sitemap like this. Your linked page list two options: Inline the information in normal sitemap or a separate sitemap. What's your preference?

Technically this shouldn't be a big deal to implement. Feel free to make a PR and I'm happy to merge.

Sorry for the late answer. I guess using a separate file could be more beneficial, because search engines nowdays allow adding multiple ones, and there'll be no cluttering.

I'll see what can i come around with and will surely let you know.

Hey @Cool-Programmer I can try working on a PR for this functionality if you've been too busy to tackle it? I see the use case as valid and most of the code already written within module

Hey @Cool-Programmer and @Rob-Rychs ,

any progress on this? Could come in handy for a project I'm working on and I want to avoid doing the work already done by someone else...