Ticket #7 (new enhancement)

Opened 8 months ago

Add content negotiation

Reported by: http://rob.cakebread.info/ Owned by: cakebread
Priority: minor Milestone: 0.3.0
Component: doapfiend Version:
Keywords: Cc:

Description

As of now doapfiend requests and expects application/rdf+xml.

It should also accept application/n3+xml. Checking pingthesemanticweb.com's crawler archive doesn't show any DOAP or FOAF (with DOAP in it) serialized as n3 yet, so no hurry.

When using the -u option and giving the path to a file, we should check if the extension is .rdf or .n3 etc. and parse accordingly.

Note: See TracTickets for help on using tickets.