TiddlyWiki and tiddler import tools for TiddyWeb
Project description
Import tiddlers, Cook recipes, and [TiddlyWikis](http://tiddlywiki.com)
into a [TiddlyWeb](http://tiddlyweb.com) [store](http://tiddlyweb.tiddlyspace.com/store).
If you wish to use the provided `twimport` twanager command
you must add to `twanager_plugins` in `tiddlywebconfig.py`:
```
config = {
'twanager_plugins': ['tiddlywebplugins.twimport'],
}
```
twimport has two primary purposes:
* Using the `twanager twimport` command to import content into a
running [instance](http://tiddlyweb.tiddlyspace.com/instance).
* Using the functionality in the plugin to help build instance
packages (e.g [tiddlywebwiki](https://github.com/tiddlyweb/tiddlywebwiki)
and [tiddlyspace](https://github.com/tiddlyspace/tiddlyspace))using
tiddler content stored in many locations.
This latter functionality relies on functionality provided by
[tiddlywebplugins.ibuiler](https://github.com/cdent/tiddlywebplugins.ibuilder)
and uses a modified form of the cook recipe format. Tiddlers
may be referred to with either a local file path, or a remote URI
and have an optional mime type:
```
tiddler: <uri> [mime type]
```
The mime type option is provided to allow setting the mime type
of the stored tiddler. If no type is provided the system will
attempt to determine the type based on HTTP response headers
or by guessing from the file extension.
If a tiddler uri ends in `.js` it will be processed as a
TiddlyWiki plugin (and, in the absence of a `.meta` file, get a
`systemConfig` tag). To avoid this behavior set the mime type
explicitly.
When a tiddler is loaded, the code will look for a meta file
in the same location. This optional file contains meta
information about the tiddler, such as tags, modifier, and
fields. The format is the same as the top section of a `.tid`
file.
into a [TiddlyWeb](http://tiddlyweb.com) [store](http://tiddlyweb.tiddlyspace.com/store).
If you wish to use the provided `twimport` twanager command
you must add to `twanager_plugins` in `tiddlywebconfig.py`:
```
config = {
'twanager_plugins': ['tiddlywebplugins.twimport'],
}
```
twimport has two primary purposes:
* Using the `twanager twimport` command to import content into a
running [instance](http://tiddlyweb.tiddlyspace.com/instance).
* Using the functionality in the plugin to help build instance
packages (e.g [tiddlywebwiki](https://github.com/tiddlyweb/tiddlywebwiki)
and [tiddlyspace](https://github.com/tiddlyspace/tiddlyspace))using
tiddler content stored in many locations.
This latter functionality relies on functionality provided by
[tiddlywebplugins.ibuiler](https://github.com/cdent/tiddlywebplugins.ibuilder)
and uses a modified form of the cook recipe format. Tiddlers
may be referred to with either a local file path, or a remote URI
and have an optional mime type:
```
tiddler: <uri> [mime type]
```
The mime type option is provided to allow setting the mime type
of the stored tiddler. If no type is provided the system will
attempt to determine the type based on HTTP response headers
or by guessing from the file extension.
If a tiddler uri ends in `.js` it will be processed as a
TiddlyWiki plugin (and, in the absence of a `.meta` file, get a
`systemConfig` tag). To avoid this behavior set the mime type
explicitly.
When a tiddler is loaded, the code will look for a meta file
in the same location. This optional file contains meta
information about the tiddler, such as tags, modifier, and
fields. The format is the same as the top section of a `.tid`
file.
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
Close
Hashes for tiddlywebplugins.twimport-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8726f9c70dfa9ab5628c4699a1ade0c5a07e3af8bf1fac74d1ac3577b2102a39 |
|
MD5 | 497cb1d20f20c3cce750796d6ba29c2c |
|
BLAKE2b-256 | e8ea662976e3675ac0497161c89f68c7dc767ea926a0f4fa2adc7586d68b4603 |