1.4 Sitemap improvement

Hoffi

Well-known member
Some improvements for the sitemaps:

  • Include attachments that are visible to guests as a new option inside the acp beneath nodes, threads and users.
  • for users, include the profile picture inside the sitemap
  • add the crawling frequency
  • expand the threads and nodes with all pages
Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
   <loc>http://example.com/beispiel.html</loc>
 
   <image:image>
     <image:loc>http://example.com/bild.jpg</image:loc>
 
   </image:image>
   <image:image>
     <image:loc>http://example.com/foto.jpg</image:loc>
 
   </image:image>
</url>
</urlset>
 
Last edited:
Upvote 26
The "problem" for image sitemaps is that image sitemaps are not part of the official sitemaps spec and I assume XenForo have followed the official spec pretty closely.

I do agree it would be a useful addition though.

In theory quite a trivial thing to add, too. If not in the core, then certainly add-able by an add-on, I would have thought.
 
Added one - really important - point that I forgot.

  • expand the threads and nodes with all pages
Actually only the first forum page is listet. Thats weird. Why not all Pages?
 
OK, let me correct myself.

BING accept them.

But Bing is only at 9% in Germany and Google at 90%. So, really. Bing is not my favorite system, but Google does. So I want to put most url's with content I can do to google.
 
Top Bottom