summaryrefslogtreecommitdiff
path: root/foaf/linkedin2rdf.pl
diff options
context:
space:
mode:
Diffstat (limited to 'foaf/linkedin2rdf.pl')
-rwxr-xr-xfoaf/linkedin2rdf.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/foaf/linkedin2rdf.pl b/foaf/linkedin2rdf.pl
index 3e4eb24..3349b73 100755
--- a/foaf/linkedin2rdf.pl
+++ b/foaf/linkedin2rdf.pl
@@ -20,9 +20,6 @@ my $NAMESPACES= {
ical => 'http://www.w3.org/2002/12/cal/icaltzd#',
cv => 'http://purl.org/captsolo/resume-rdf/0.2/cv#',
hresume => 'http://ontologi.es/hresume#',
-# TODO: somehow make RDF::Trine abbreviate labels
-# 'xsd:dateTime' => 'http://www.w3.org/2001/XMLSchema#dateTime',
-# 'geo:SpatialThing' => 'http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing',
};
my $doc = HTML::Microformats
@@ -38,6 +35,6 @@ my $output = rdf_string($model,'RDFXML',
);
# TODO: somehow make RDF::Trine generate stable IDs
-$output =~ s/(?<=rdf:nodeID=")B[a-f0-9]{32}(?=0[0-9]{3}")//g;
+$output =~ s/(?<=rdf:nodeID="B)[a-f0-9]{32}(?=0[0-9]{3}")//g;
print $output;