Mercurial > libervia-backend
annotate MANIFEST.in @ 832:c4b22aedb7d7
plugin groupblog, XEP-0071, XEP-0277, text_syntaxes: manage raw/rich/xhtml data for content/title:
Implementation should follow the following formal specification:
"title" and "content" data can be passed in raw, xhtml or rich format.
When we receive from a frontend a new/updated microblog item:
- keys "title" or "content" have to be escaped (disable HTML tags)
- keys "title_rich" or "content_rich" have to be converted from the current syntax to XHTML
- keys "title_xhtml" or "content_xhtml" have to be cleaned from unwanted XHTML content
Rules to deal with concurrent keys:
- existence of both "*_xhtml" and "*_rich" keys must raise an exception
- existence of both raw and ("*_xhtml" or "*_rich") is OK
As the storage always need raw data, if it is not given by the user it can be
extracted from the "*_rich" or "*_xhtml" data (remove the XHTML tags).
When a frontend wants to edit a blog post that contains XHTML title or content,
the conversion is made from XHTML to the current user-defined syntax.
- plugin text_syntaxes: added "text" syntax (using lxml)
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 05 Feb 2014 16:36:51 +0100 |
parents | a3aa4d046914 |
children | 268278d9aef2 |
rev | line source |
---|---|
235
7a2ef5fe4e8d
distutils: added preinstall_check hack + some tuning while testing
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
1 include MANIFEST.in distribute_setup.py |
268
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
2 global-include *.py |
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
3 global-include *.ini |
229 | 4 global-include *.po *.mo |
5 global-include CHANGELOG COPYING* INSTALL README* | |
6 global-include *.sh | |
7 include src/sat.* | |
8 include frontends/src/jp/jp frontends/src/primitivus/primitivus frontends/src/wix/wix | |
273
3b5e856b3a32
Bridge: added mediawiki constructor in bridge constructor, usefull for documentation purpose
Goffi <goffi@goffi.org>
parents:
270
diff
changeset
|
9 include src/bridge/bridge_constructor/mediawiki_template.tpl |
270
4005bf3ce35d
updated MANIFEST.in to exclude bridge_constructor's generated dir
Goffi <goffi@goffi.org>
parents:
268
diff
changeset
|
10 prune src/bridge/bridge_constructor/generated |