XML Sitemaps Generator

Author Topic: post date  (Read 1864 times)

andrearuzza78

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
post date
« on: July 09, 2016, 10: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, 07:39:55 AM by XML-Sitemaps Support »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10622
Re: post date
« Reply #1 on: July 10, 2016, 07: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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

andrearuzza78

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: post date
« Reply #2 on: July 10, 2016, 08: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10622
Re: post date
« Reply #3 on: July 10, 2016, 07:57:27 PM »
An example is:
your_page_url,2016-07-09,,
your_page_url2,2016-07-10,,

Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

andrearuzza78

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: post date
« Reply #4 on: July 10, 2016, 10: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10622
Re: post date
« Reply #5 on: July 11, 2016, 08:28:38 PM »
Only if your website will specify it in Last-modfied http header.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2