Posted - 06/26/2025 : 06:41:21
Hi All,
I use Mikes google sitemap - have done for years with no issues, great product...
Just working on something else (in house - nothing to do with google etc) and i want to create a complete copy of the google sitemap generator, however under the <loc> option, I want to list every products "product ID"... like:
<url> <loc>https://www.jmcsecure.co.uk/ds-7732ni-i4-16p-hikvision-32-channel-uhd-4k-plus-12mp-network-ip-video-recorder-with-16-poe-ports</loc> <prod>Product ID Here</prod> <lastmod>2025-06-26</lastmod> <changefreq>daily</changefreq> <priority>0.64</priority> </url>
I presume its to do with below lines in the code - but wondered if anyone knows what i need to input for it to grab the product ID:
Response.Write Space(8) &"<loc>"&storeurl&sURL&"</loc>" & vbcrlf Response.Write Space(8) &"<prod>"& Product ID here"</prod>" & vbcrlf Response.Write Space(8) &"<lastmod>" & lmod & "</lastmod>" & vbcrlf
any help appreciated
thanks in advance
|