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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c710be1a7211eeda927631daf22c4242e7bdf5a627dca8cac575ad02390789 |
|
MD5 | c441af7fd882c060e3483fbb5dc10605 |
|
BLAKE2b-256 | b91a5590e2cdc3ffa2a15603dbba7dd4c0d1f89f3d6bdf3175c1eccffc11e4d2 |