abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erling Wegger Linde" <erlin...@gmail.com>
Subject How to properly set Mime Type on an Entry
Date Thu, 21 Aug 2008 09:22:59 GMT

I've just switched from Propono to Abdera on the client side, and I
think Abdera gives you more control, so I like it so far =)

But I haven't figured out how to set the Mime Type correctly:

		entry.setContent(project.toN3(), "text/rdf+n3");	
		System.out.println(entry.getContentMimeType()); // THIS GIVES
"text/plain, what do I do wrong?


View raw message