Import binary content into TiddlyWeb via twanager
Project description
BIMPORT
(short for binary import)
This is a plugin for twanager that lets you import files into the store as binary content.
This is particularly useful if you want to keep the content type of that file intact. Images are a particularly good example of this requirement.
Usage:
twanager bimport <bag> <name> <URI>
this will import whatever lives at <URI> into <bag>. The resultant tiddler will be named <name>
CAUTION - If the content type of the file at <URI> is incorrect, the content type of the resultant tiddler will also be incorrect. This is particularly evident in file:// URIs, which base their content type on the file name extension. If you are importing via a file:// URI, be careful to use the correct extension on the file that you are importing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tiddlywebplugins.bimport-0.3.tar.gz
.
File metadata
- Download URL: tiddlywebplugins.bimport-0.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcd5a0e8d6e4f84cfa74ed655214093aa9e52ba6183b276d93a90e566c7e925 |
|
MD5 | 226e8c2a53ceb75f4585ff0aacf66d48 |
|
BLAKE2b-256 | 1a565ce5d63f35399cdf1bfeae75ef457237c5ff1eddd427fe191bd204eb3f14 |