Custom Fields in the sitemap

Can someone help? I would like to add a custom field(s) . I can create empty fields in the site map, such as "Category ID" but not having any luck with pupulating it with a value. In this case, I would like each row to read 4662. in the final output. Thanks in advance!

Hi,

The extension is designed to return data from the website's HTML. Custom data has to be added as part of the post-processing.

Thank you for the reply,
I don't understand. Do you want me to post the exported sitemap?

Please elaborate on what you are trying to accomplish. The sitemap code would of course also be helpful.

I have an online store and I need All the Categories, All Subcategories, Name, Price, Description, Image, MAP price, Price, and Brand for SeasideAquatics.com.
This is the sitemap I created that is not working properly:

{"_id":"seasideaquatics-01-09-25","startUrl":["https://www.seasideaquatics.com/index.php?controller=sitemap"],"selectors":[{"id":"cat-1","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":".category a.dropdown-submenu, a.subcategory-name","type":"SelectorLink"},{"id":"cat-2","linkType":"linkFromHref","multiple":true,"parentSelectors":["cat-1"],"selector":"a.subcategory-name","type":"SelectorLink"},{"id":"product link","linkType":"linkFromHref","multiple":true,"parentSelectors":["cat-4"],"selector":".products.row .h3 a","type":"SelectorLink"},{"id":"name","multiple":false,"parentSelectors":["product link"],"regex":"","selector":"h1.product_name","type":"SelectorText"},{"id":"price","multiple":false,"parentSelectors":["product link"],"regex":"","selector":"div.product_price_default span","type":"SelectorText"},{"id":"discription","multiple":false,"parentSelectors":["product link"],"regex":"","selector":".in div.product-description","type":"SelectorText"},{"id":"image","multiple":true,"parentSelectors":["product link"],"selector":"img.js-qv-product-cover, img.js-thumb","type":"SelectorImage"},{"id":"cat-3","linkType":"linkFromHref","multiple":true,"parentSelectors":["cat-2"],"selector":"a.subcategory-name","type":"SelectorLink"},{"id":"pagination4","paginationType":"auto","parentSelectors":["cat-4","pagination4"],"selector":"li a.js-search-link","type":"SelectorPagination"},{"id":"MAP","multiple":false,"parentSelectors":["product link"],"regex":"","selector":"#product-description-short-2495 strong","type":"SelectorText"},{"id":"brand","multiple":false,"parentSelectors":["product link"],"regex":"","selector":".editable span","type":"SelectorText"},{"id":"cat-4","linkType":"linkFromHref","multiple":true,"parentSelectors":["cat-3"],"selector":"a.subcategory-name","type":"SelectorLink"},{"id":"map","multiple":false,"parentSelectors":["product link"],"regex":"","selector":".product-discounts span","type":"SelectorText"}]}