Opened 16 years ago

Closed 16 years ago

#50 closed enhancement (fixed)

rdf output - minor nitpicking

Reported by: maks Owned by: Earle Martin
Priority: low Milestone:
Component: openguides Version: 0.50
Severity: minor Keywords: rdf
Cc:

Description

a friend of mine looked at the rdf output of london.o.o and vienna.o.o, he found 2 minor issues:

A) <rdf:Description rdf:about=""> the about should contain a link to the doc itself as the link will not change or should not change.

(Remark on irc: <@hex> BTW, as far as I know rdf:about="" is equivalent to rdf:about="URI-of-this-document", that's certainly how the RDF validator seems to interpret it.)

B) the other issue concerns <dc:contributor>Anonymous</dc:contributor> it should be: <dc:contributor><foaf:nick>Anonymous</foaf:nick></dc:contributor> see -> http://xmlns.com/foaf/0.1/

you can of course choose another FOAF Basics.

Change History (3)

comment:1 Changed 16 years ago by Earle Martin

Owner: changed from Dominic Hargreaves to Earle Martin
Status: newassigned

comment:2 Changed 16 years ago by Earle Martin

A) <rdf:Description rdf:about="">

What you quoted me saying on IRC was accurate, so this doesn't need to change.

B) the other issue concerns <dc:contributor>Anonymous</dc:contributor> it should be: <dc:contributor><foaf:nick>Anonymous</foaf:nick></dc:contributor>

That wouldn't validate as both are properties, and thus the RdfStriping would be wrong. However, the following is valid, and I have changed OpenGuides::RDF appropriately.

<dc:contributor foaf:nick="Anonymous" />

comment:3 Changed 16 years ago by Earle Martin

Resolution: fixed
Status: assignedclosed

(In [726]) fixes #50

Note: See TracTickets for help on using tickets.