Changeset 1133
- Timestamp:
- 01/18/08 21:19:16 (7 months ago)
- Files:
-
- trunk/lib/OpenGuides/RDF.pm (modified) (2 diffs)
- trunk/templates/node_rdf.tt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/OpenGuides/RDF.pm
r1105 r1133 84 84 foreach my $var ( qw( phone fax website opening_hours_text address 85 85 postcode city country latitude longitude 86 os_x os_y summary ) ) {86 os_x os_y map_link summary ) ) { 87 87 my $val = $metadata{$var}[0] || $defaults{$var} || ""; 88 88 $tt_vars{$var} = $val; … … 106 106 my $is_geospatial; 107 107 foreach my $var ( qw( os_x os_y latitude longitude address postcode 108 opening_hours_text ) ) {108 opening_hours_text map_link ) ) { 109 109 $is_geospatial = 1 if $tt_vars{$var}; 110 110 } trunk/templates/node_rdf.tt
r1081 r1133 11 11 xmlns:os="http://downlode.org/Code/RDF/Ordnance_Survey/schema/1#" 12 12 xmlns:owl="http://www.w3.org/2002/07/owl#" 13 xmlns:map="http://www.daml.org/2001/06/map/map-ont#" 13 14 xmlns="http://www.w3.org/2000/10/swap/pim/contact#" 14 15 > … … 62 63 [% END %] 63 64 65 [% IF map_link %] 66 <foaf:page> 67 <map:Map rdf:about="[% map_link %]" /> 68 </foaf:page> 69 [% END %] 70 64 71 [% FOREACH locale = locales %] 65 72 <foaf:based_near>
