diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-12-14 00:30:05 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-12-14 00:30:05 -0500 |
commit | 1764b44250ef74f2180e7a067459a3030bcebe2e (patch) | |
tree | feb116f4bd790351a059a714a4560101fd0397a6 /lib/sisu/v0/sitemaps.rb | |
parent | Merge branch 'upstream' into debian/sid (diff) | |
parent | changelog synced and man pages, minor updates (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/sitemaps.rb')
-rw-r--r-- | lib/sisu/v0/sitemaps.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v0/sitemaps.rb b/lib/sisu/v0/sitemaps.rb index c08a0789..8e706ce4 100644 --- a/lib/sisu/v0/sitemaps.rb +++ b/lib/sisu/v0/sitemaps.rb @@ -153,8 +153,8 @@ WOK idx=sitemap_idx.join end def sitemap - map=if @md.dc_date_modified \ - and @md.dc_date_modified=~/\d{4}-\d{2}-\d{2}/ + map=if @md.date_modified \ + and @md.date_modified=~/\d{4}-\d{2}-\d{2}/ sitemap_date_modified else sitemap_no_date end @@ -169,18 +169,18 @@ WOK #{@rdf.comment_xml} <url> <loc>#{@env.path.url.remote}/#@fnb_utf8_xml/#{@fn[:toc]}</loc> - <lastmod>#{@md.dc_date_modified}</lastmod> + <lastmod>#{@md.date_modified}</lastmod> <changefreq>monthly</changefreq> <priority>0.7</priority> </url> <url> <loc>#{@env.path.url.remote}/#@fnb_utf8_xml/#{@fn[:doc]}</loc> - <lastmod>#{@md.dc_date_modified}</lastmod> + <lastmod>#{@md.date_modified}</lastmod> <priority>0.5</priority> </url> <url> <loc>#{@env.path.url.remote}/#@fnb_utf8_xml/#{@fn[:manifest]}</loc> - <lastmod>#{@md.dc_date_modified}</lastmod> + <lastmod>#{@md.date_modified}</lastmod> <priority>0.5</priority> </url> </urlset> |