This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 18 Oct 23, 11:28 Last Post By: RobM Threads: [ Previous | Next ]
nigel-aves

Posts: 36
Registered: 23-May-2023
sitemaps should be part of the main jAlbum program
Posted: 17 Oct 23, 03:48
 
  Click to reply to this thread Reply
I was surprised to learn that sitemaps were part of the skin software, and there are skins that don't support this rather important part of the SEO world.

I believe that this functionality would be far better if it was part of the jAlbum core code. Like this everyone can use it without needing to buy a 3rd party sitemap.xml creator. And if sitemap is "On", then no other option should override it. Always get a full sitemap.xml

Also, it is now far better to break the sitemaps into individual files.

sitemap.xml << this file would contains the links to the other sitemaps.

Sitemap-html.xml << contains all the html links
Sitemap-images.xml << contains all the image links
Sitemap-video.xml <<You got it, contains all the video links

It seems that Google prefers this way of working as it does cut down on individual file sizes.
davidekholm

Posts: 3,433
Registered: 18-Oct-2002
Re: sitemaps should be part of the main jAlbum program
Posted: 17 Oct 23, 16:57   in response to: nigel-aves in response to: nigel-aves
 
  Click to reply to this thread Reply
Sounds reasonable. Then these are references from the robots.txt file we assume.

We created image sitemaps on the fly for albums hosted by us, but that feature has been disabled for a while since it brought the servers down on their knees when a search bot ”attacked” us... So adding it to the client seems reasonable, to also make it work for albums not hosted here.
JeffTucker

Posts: 7,990
Registered: 31-Jan-2006
Re: sitemaps should be part of the main jAlbum program
Posted: 17 Oct 23, 17:01   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Just watch out for the trap that kind of brought this issue to the surface: if the user has chosen Process only updated subdirectories, things can get ugly. ;)

If the core does it, it needs to traverse the full tree, so it doesn't produce a fragment of the sitemap.
Laza

Posts: 1,698
Registered: 6-Sep-2005
Re: sitemaps should be part of the main jAlbum program
Posted: 18 Oct 23, 08:23   in response to: nigel-aves in response to: nigel-aves
 
  Click to reply to this thread Reply
My skins are creating a combined sitemap.xml which contains all of these file types.

I don't see why it's better to use separate files. Perhaps, beyond some 10 000 items, it's easier to access these files individually, but most albums are below 100 items, and in this case, combining the files means fewer transactions. Google bots will scrape all of the files, anyway.
RobM

Posts: 3,797
Registered: 4-Aug-2006
Re: sitemaps should be part of the main jAlbum program
Posted: 18 Oct 23, 11:28   in response to: nigel-aves in response to: nigel-aves
 
  Click to reply to this thread Reply
What the law, sorry Google, says ;)
Sitemap size limits: All formats limit a single sitemap to 50MB (uncompressed) or 50,000 URLs. If you have a larger file or more URLs, you must break your sitemap into multiple sitemaps.
https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap

It seems other than the size limits it is mostly a personal preference. jAlbum does have users who have rather large albums.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums