{"id":132,"date":"2008-04-26T18:12:37","date_gmt":"2008-04-26T15:12:37","guid":{"rendered":"http:\/\/patchlog.com\/?p=132"},"modified":"2008-04-26T18:14:50","modified_gmt":"2008-04-26T15:14:50","slug":"xml-sitemaps-pligg-module-v08","status":"publish","type":"post","link":"https:\/\/patchlog.com\/php\/xml-sitemaps-pligg-module-v08\/","title":{"rendered":"Xml Sitemaps pligg module v0.8"},"content":{"rendered":"<p>It seems my <a title=\"Xml Sitemaps pligg module v 0.7 release notes\" href=\"http:\/\/patchlog.com\/php\/xml-sitemap-pligg-module-v07\/\">last version of the Xml Sitemaps module for pligg<\/a> didn't really fixed the date format problem with the generated sitemaps.<\/p>\n<p>Back when this module was created google had less strict rules about the date format in the lastmod section. My module generated a date and time string with this format YYYY-mm-ddTHH:MM:SS and it was ok but now it's only valid if it also contains the timezone offset in this format +\/-HH:MM or if the string doesn't contain the time anymore.<\/p>\n<p>So here is another update on this module that also contains the timezone offset so the sitemap is considered valid by google.<\/p>\n<h3><a title=\"Xml Sitemaps pligg module page\" href=\"http:\/\/patchlog.com\/xmlsitemapspligg\/\" target=\"_self\">Download here<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>It seems my last version of the Xml Sitemaps module for pligg didn&#8217;t really fixed the date format problem with the generated sitemaps. Back when this module was created google had less strict rules about the date format in the lastmod section. My module generated a date and time string with this format YYYY-mm-ddTHH:MM:SS and &hellip; <a href=\"https:\/\/patchlog.com\/php\/xml-sitemaps-pligg-module-v08\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Xml Sitemaps pligg module v0.8<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[96,28,100],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-php","tag-pligg","tag-sitemaps","tag-xml"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pofPh-28","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":0,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"wp:attachment":[{"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patchlog.com\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}