diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-12 10:59:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-12 10:59:45 -0400 |
commit | ca30d95a78ca974c040c152b8c31bdd63f219e6b (patch) | |
tree | 46836ee0e155992c3be7199832791950e6a5519c /IkiWiki/Plugin | |
parent | c522fffe09eea30a97213af1ecddfe6833d131e7 (diff) |
rename uuid to guid
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 | ||||
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 2226e5723..2dcd1a90a 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -443,8 +443,8 @@ sub genfeed ($$$$@) { #{{{ ); if (exists $pagestate{$p} && - exists $pagestate{$p}{meta}{uuid}) { - $itemtemplate->param(uuid => $pagestate{$p}{meta}{uuid}); + exists $pagestate{$p}{meta}{guid}) { + $itemtemplate->param(guid => $pagestate{$p}{meta}{guid}); } if ($itemtemplate->query(name => "enclosure")) { diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 02c99e9f6..d7f56a8bd 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -84,14 +84,14 @@ sub preprocess (@) { #{{{ $pagestate{$page}{meta}{description}=HTML::Entities::encode_numeric($value); # fallthrough } - elsif ($key eq 'uuid') { + elsif ($key eq 'guid') { my $abs = $value; if ($abs =~ m/^[[:xdigit:]]{8}-[[:xdigit:]]{4}-[[:xdigit]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{12}$/) { $abs = lc "urn:uuid:$abs"; } - $pagestate{$page}{meta}{uuid}=HTML::Entities::encode_numeric($abs); + $pagestate{$page}{meta}{guid}=HTML::Entities::encode_numeric($abs); # fallthrough } elsif ($key eq 'license') { |