Mercurial > libervia-backend
comparison src/plugins/plugin_blog_import_dotclear.py @ 2481:11ac6157fc73
plugin blog import dotclear: use a smaller and lower case prefix to generate ids
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 24 Jan 2018 09:10:12 +0100 |
parents | 8b37a62336c3 |
children | 0046283a285d |
comparison
equal
deleted
inserted
replaced
2480:dc55b854ccf3 | 2481:11ac6157fc73 |
---|---|
50 Export only one blog if you have many, i.e. select "Download database of current blog" | 50 Export only one blog if you have many, i.e. select "Download database of current blog" |
51 Depending on your configuration, your may need to use Import/Export plugin and export as a flat file. | 51 Depending on your configuration, your may need to use Import/Export plugin and export as a flat file. |
52 | 52 |
53 location: you must use the absolute path to your backup for the location parameter | 53 location: you must use the absolute path to your backup for the location parameter |
54 """) | 54 """) |
55 POST_ID_PREFIX = u"SàT_DOTCLEAR_IMPORT_BLOG" | 55 POST_ID_PREFIX = u"sat_dc_" |
56 KNOWN_DATA_TYPES = ('link', 'setting', 'post', 'meta', 'media', 'post_media', 'comment', 'captcha') | 56 KNOWN_DATA_TYPES = ('link', 'setting', 'post', 'meta', 'media', 'post_media', 'comment', 'captcha') |
57 ESCAPE_MAP = { | 57 ESCAPE_MAP = { |
58 'r': u'\r', | 58 'r': u'\r', |
59 'n': u'\n', | 59 'n': u'\n', |
60 '"': u'"', | 60 '"': u'"', |