From 270fd45c5d30c06f69e18488f08a7f6bdec95813 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 21 Apr 2011 19:52:39 -0400 Subject: meta: Add FOAF support. Closes: #623156 (Jonas Smedegaard) --- IkiWiki/Plugin/meta.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index cd6fa20ba..b857f453e 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -217,6 +217,13 @@ sub preprocess (@) { 'content="'.encode_entities($url).'" />'; } } + elsif ($key eq 'foaf') { + if (safeurl($value)) { + push @{$metaheaders{$page}}, ''; + } + } elsif ($key eq 'redir') { return "" if $page ne $destpage; my $safe=0; -- cgit v1.2.3