Page 1 of 1

Attach image or file to a topic

PostPosted: Sun Mar 15, 2015 4:04 pm
by mordenkainen
What is the right way to add large binary information to a topic map? I suppose that I should use link of some kind and store the info externally on file system. What is the recommended way to present such links to Wandora?

Re: Attach image or file to a topic

PostPosted: Mon Mar 16, 2015 1:15 pm
by akivela
Interesting. We are just developing a support for data uri ( occurrences. Our master repository at Github already contains some commits related to the feature. For example, the user can drag and drop any binary file to occurrence table and Wandora includes the file into the occurrence as a data uri. Also, the user can export the data uri encoded binary occurrence back into a file. However, there are still angles in the data uri occurrence support we haven't touched yet. For example, applying an extractor to a data uri formatted binary is still a bit unmapped territory.

Some kind of data uri occurrence support should be in next Wandora release (not scheduled yet).

Beside the data uri occurrences, the usual method to add binary data into a topic map is url linking. Place your binary resource somewhere online and create a topic for the binary resource with it's url as topic's subject locator (or subject identifier). Or add the binary resource url to a topic as an occurrence. I think linking is a good solution in any case if the amount of data is large. It is still unknown how well the Wandora works with large amounts of data uri encoded binary data.

Kind Regards,
Aki / Wandora Team