post date
« on: July 09, 2016, 11:42:30 AM »
Hello, i am using the sitemap generator script on .com, everything works great but i need to have for each url the publish date and not the generated date, is there any parameter i can pass on it to have the post publish date instaed the generate sitemap date ?

thanks

Andrea
« Last Edit: July 10, 2016, 08:39:55 AM by XML-Sitemaps Support »
Re: post date
« Reply #1 on: July 10, 2016, 08:40:46 AM »
Hello,

sitemap generator can use the date provided by your website "Last modified" header if it's available.
also, you can use "Individual attributes" setting to specify date per URL.
Re: post date
« Reply #2 on: July 10, 2016, 09:58:45 AM »
Hello and thanks for yout quick answer, could you please give me an example of an individual attribute, the template uses smarty and i have this parameter : {$video.date_added} where date_added is the field of the table.

thanks
Re: post date
« Reply #3 on: July 10, 2016, 08:57:27 PM »
An example is:
your_page_url,2016-07-09,,
your_page_url2,2016-07-10,,

Re: post date
« Reply #4 on: July 10, 2016, 11:09:12 PM »
i have around 8000 urls, is there any way to pass the post date parameter i have in the database ? is unthinkable to do it for each url manually.

thanks
Re: post date
« Reply #5 on: July 11, 2016, 09:28:38 PM »
Only if your website will specify it in Last-modfied http header.