Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Slice Num Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str For NameStore Call AttributeLoad NameLoad attr Str body If Call AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad Call AttributeLoad Str attr NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad For NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr TryExcept body For NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad If BoolOpAnd NameLoad CompareIn SubscriptLoad NameLoad Index Num Str body Continue If Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameLoad orelse If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Continue orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return ListLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareLtELt Num NameLoad Call NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num NameLoad kwarg body Expr Str Assign NameStore ListLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad body If UnaryOpNot CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareGtE Call NameLoad NameLoad NameLoad body Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body For TupleStore NameStore NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad body If CompareEq NameLoad NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Str Print Call AttributeLoad NameLoad attr NameLoad
N/A N/A re N/A os N/A codecs N/A textile operator attrgetter xierpa3.adapters.adapter Adapter xierpa3.toolbox.transformer TX xierpa3.toolbox.storage.article Article TextileFileAdapter N/A Adapter N/A N/A The TextileFileAdapter reads the articles from a tree of folder/text files, compiling
    the Textile source to HTML.

        >>> from xierpa3.sites import doingbydesign
        >>> # Root path where to find the article Simples wiki file for this example page.
        >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
        >>> adapter = TextileFileAdapter(articleRoot)
        >>> article = adapter.getArticle(id='index')
        >>> article.title
        u'Home'
        >>> article.featured[0]
        u'how-to-build-a-xierpa3-site'
        >>> article = adapter.getArticle(id=article.featured[0])
        >>> article.keys()[:4]
        [u'author', 'blogresponse', u'category', u'featured']
        >>> article.title
        u'How to build a site with Xierpa3'
        >>> article.featured[0]
        u'example-hello-world'
        >>> article.author
        u'Petr van Blokland'
        >>> article.topic
        u'A basic course in building sites the easy way.'
        >>> len(article.chapters)
        1
        >>> adapter.ranked[0]
        [Article blogresponse, featured, id, modificationTime, path, ranking, source, tag, title, url]
        >>> adapter.ranked[0].title
        u'Categories'
        >>> adapter.getIdPaths()[0]
        ('about', 'about.txt')

     N/A C N/A Adapter C N/A DATACLASS Article N/A CHAPTER_TAG =C= N/A FIELDVALUE N/A N/A re compile \$([\w]*) (.*) N/A COMMASPLIT N/A N/A re compile [,]*[\s]*([^,]*) N/A Adapter for Textile wiki file serving.  initialize N/A N/A self N/A N/A N/A N/A self _cache N/A N/A N/A self ranked N/A N/A N/A N/A self _readArticles N/A N/A N/A self _cacheArticleFieldReferences N/A _readArticles N/A N/A self N/A N/A N/A Read all articles available in the root tree path.

            >>> from xierpa3.sites import doingbydesign
            >>> # Root path where to find the article Simples wiki file for this example page.
            >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
            >>> adapter = TextileFileAdapter(articleRoot)
            >>> sorted(adapter.keys())[0]
            'about'

         N/A N/A id path N/A N/A self getIdPaths N/A N/A N/A N/A self updateArticle id N/A N/A self root path N/A keys N/A N/A self N/A N/A N/A 
            >>> from xierpa3.sites import doingbydesign
            >>> # Root path where to find the article Simples wiki file for this example page.
            >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
            >>> adapter = TextileFileAdapter(articleRoot)
            >>> sorted(adapter.keys())[0]
            'about'
         N/A N/A N/A N/A self _cache keys N/A __getitem__ N/A N/A self key N/A N/A N/A Access articles in the adapter through their id. If the article is not yet in the cache
        and it exists, it will be decompiled. If the file source of the article is newer than the
        version in cache, it will be updated.

            >>> from xierpa3.sites import doingbydesign
            >>> # Root path where to find the article Simples wiki file for this example page.
            >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
            >>> adapter = TextileFileAdapter(articleRoot)
            >>> adapter['index'].title
            u'Home'
         N/A N/A N/A self getArticle id key N/A updateArticle N/A N/A self id path N/A N/A N/A Update the article from *id* and *path*. Set the modification time, so we know
        when the file is updated. N/A article None N/A wiki N/A N/A self readWikiFile path N/A N/A wiki None N/A N/A article N/A N/A self compileArticle wiki N/A N/A article id id N/A N/A article source wiki N/A N/A article ranking N/A N/A N/A TX asInt N/A article ranking 0 N/A N/A article blogresponse N/A N/A TX asBool N/A article blogresponse N/A N/A article path path N/A N/A article modificationTime N/A N/A N/A os path getmtime path N/A N/A N/A self _cacheArticle article N/A article N/A readWikiFile N/A N/A cls fsPath N/A N/A N/A Read the raw wiki (Textile syntax) file and answer the unicode string. N/A extension N/A . N/A N/A cls C EXTENSION_TXT N/A N/A N/A N/A fsPath endswith extension N/A N/A fsPath extension N/A N/A N/A N/A os path exists fsPath N/A N/A f N/A N/A codecs open fsPath encoding utf-8 mode r+ N/A wiki N/A N/A f read N/A N/A N/A f close N/A N/A wiki None N/A wiki N/A classmethod _splitFieldValue N/A N/A self line N/A N/A N/A Split the string *line* into field name (starting with $ and ending with space)
        and string value. If the field is one of @self.COMMAFIELDS@, then the value
        must be a comma separated list. Split the string into a list of values.
         N/A found N/A N/A N/A self FIELDVALUE findall line N/A found N/A N/A N/A fieldName value N/A found N/A 0 N/A N/A fieldName N/A N/A self C ADAPTER_COMMAFIELDS N/A N/A value N/A N/A N/A N/A self COMMASPLIT findall value N/A -1 N/A N/A fieldName value N/A N/A None None N/A compileArticle N/A N/A self wiki N/A N/A N/A Compile the wiki text into an Article instance, but parsing the field definition, split
        on chapters and translate the chapter content through textile to html.
        See specification on :http://redcloth.org/hobix.com/textile/  N/A article N/A N/A self newArticle N/A text N/A N/A wiki N/A N/A wiki replace N/A line N/A N/A wiki split N/A N/A N/A N/A line startswith $ N/A N/A N/A fieldName value N/A N/A self _splitFieldValue line N/A N/A fieldName None N/A N/A N/A article N/A fieldName value N/A N/A N/A N/A text append line N/A N/A article chapters N/A N/A chapter N/A N/A N/A N/A join text split N/A self CHAPTER_TAG N/A N/A N/A N/A N/A article chapters append N/A N/A textile textile chapter N/A article N/A _cacheArticleFieldReferences N/A N/A self N/A N/A N/A (Re)build the dictionary of field relations. This should be done at any time a new article
        is cached or modified. Better to build from scratch if the source changes, than to keep track
        of changes. N/A N/A self _urls N/A N/A N/A self _categories N/A N/A N/A self _levels N/A N/A N/A id article N/A N/A N/A self _cache items N/A N/A url N/A N/A article urls N/A N/A N/A N/A N/A N/A N/A self _urls has_key url N/A N/A N/A N/A self _urls N/A url N/A N/A N/A N/A N/A N/A self _urls N/A url append article N/A category N/A N/A article categories N/A N/A N/A N/A N/A N/A N/A self _categories has_key category N/A N/A N/A N/A self _categories N/A category N/A N/A N/A N/A N/A N/A self _categories N/A category append article N/A level N/A N/A article levels N/A N/A N/A N/A N/A N/A N/A self _levels has_key level N/A N/A N/A N/A self _levels N/A level N/A N/A N/A N/A N/A N/A self _levels N/A level append article N/A _cacheArticle N/A N/A self article N/A N/A N/A Cache the article by @article.id@. And keep the article sorted in the @self._sorted@
        list of all articles. N/A N/A N/A self _cache N/A N/A article id article N/A N/A N/A self _rankArticles N/A _rankArticles N/A N/A self N/A N/A N/A Keep the article ranked in the @self._sorted@ list of all articles. N/A N/A self ranked N/A N/A N/A self _cache values N/A N/A N/A N/A self ranked sort key N/A attrgetter ranking reverse True N/A getRankedArticles N/A N/A self N/A N/A N/A Answer the dictionary of articles, sorted by rank. N/A N/A self ranked N/A getCachedArticle N/A N/A self N/A kwargs N/A N/A Answer the cached articles. If not available yet, read them through *self.getPaths()*. N/A id N/A N/A kwargs get id N/A article N/A N/A N/A self _cache get id N/A N/A N/A article None N/A N/A article modificationTime N/A N/A N/A os path getmtime N/A article path N/A N/A article N/A N/A self updateArticle N/A article id N/A article path N/A N/A N/A self _cacheArticleFieldReferences N/A N/A N/A article None N/A N/A N/A kwargs get url None N/A N/A article N/A N/A self getArticleByUrl N/A N/A kwargs get url N/A N/A N/A article None N/A N/A N/A kwargs get path None N/A N/A article N/A N/A self getArticleByUrl N/A N/A kwargs get path N/A N/A N/A article None N/A N/A N/A kwargs get id None N/A N/A article N/A N/A self getArticleByIndex N/A N/A kwargs get id N/A N/A kwargs get selector N/A article N/A getArticleByIndex N/A N/A self index selector N/A None N/A N/A Answer the article that is matching the *index* in sorting/selection of *selector*. N/A id N/A N/A sorted N/A N/A N/A self _cache keys N/A 0 N/A N/A N/A self _cache N/A id N/A getArticleByUrl N/A N/A self url N/A N/A N/A Answer the article that is matching *url* by one of the values in the @$url@ field.
        Answer @None@ if no matching article could be found. N/A article None N/A fields N/A N/A self getFields N/A articles N/A N/A N/A fields urls get url N/A articles N/A N/A article N/A articles N/A 0 N/A article N/A getCachedArticles N/A N/A self N/A N/A N/A N/A self _cache N/A getIdPaths N/A N/A self path idPaths N/A None None N/A N/A N/A path None N/A N/A path N/A N/A idPaths None N/A N/A idPaths N/A N/A extension N/A . N/A N/A self C EXTENSION_TXT N/A N/A N/A name N/A N/A os listdir N/A N/A self root path N/A N/A filePath N/A path name N/A N/A name N/A N/A name N/A 0 ._ N/A N/A N/A N/A N/A N/A os path isdir N/A N/A self root filePath N/A N/A N/A N/A self getIdPaths N/A filePath / idPaths N/A N/A N/A N/A N/A name endswith extension N/A N/A N/A N/A name N/A N/A name replace extension N/A N/A N/A idPaths append N/A name filePath N/A N/A N/A Exception N/A e N/A N/A e N/A idPaths N/A getChapters N/A N/A self article N/A N/A N/A N/A N/A article items None N/A N/A N/A N/A N/A article items N/A getChapterByIndex N/A N/A self index article N/A N/A N/A Find the chapter by **index** in the Article instance **article**.
        Answer **None** if the chapter index is not valid. N/A N/A 0 index N/A len N/A article chapters N/A N/A N/A N/A article chapters N/A index N/A None N/A getChapterTitleByIndex N/A N/A self index article N/A N/A N/A Find the title of the chapter by **index** in the Article instance **article**.
        Answer **None** if the index is not valid or the title cannot be found. N/A chapter N/A N/A self getChapterByIndex index article N/A N/A chapter None N/A N/A N/A N/A chapter find ./meta/title N/A None N/A getPageTitle N/A N/A self N/A kwargs N/A N/A article N/A N/A self getArticle kwargs N/A N/A article None N/A N/A N/A N/A self newArticle text N/A article name N/A None N/A getArticles N/A N/A self start count omit N/A 0 1 None kwargs N/A N/A Answer the sorted list of *count* pages/articles, starting on *start* index,
        selected from all articles. Sorting is based om the @article.ranking@ field.
        If *omit* is a list of article ids (or a single id), then skip these articles
        from the selection. N/A articles N/A N/A N/A omit None N/A N/A chapters N/A N/A self ranked N/A start N/A start count N/A N/A N/A N/A isinstance omit N/A list tuple N/A N/A omit N/A omit N/A item N/A N/A self ranked N/A start N/A N/A N/A N/A N/A item id omit N/A N/A N/A N/A articles append item N/A N/A N/A len articles count N/A N/A N/A articles N/A getMobilePages N/A N/A self count N/A None kwargs N/A N/A N/A N/A self getPages count N/A getArticle N/A N/A self N/A kwargs N/A N/A Answer the matching article, based on the available keywords in *kwargs*. The method will
        search in cached articles. If the file of the article changed, then it will be updated by
        compiling the Textile content again.
         N/A N/A N/A self getCachedArticle kwargs N/A getFeaturedArticles N/A N/A self id start count N/A N/A N/A Answer a list of featured articles in the article that has @id@ as identifier. N/A articles N/A N/A article N/A N/A self getArticle id N/A article N/A N/A N/A index featured N/A enumerate N/A N/A article featured N/A start N/A start count N/A N/A N/A index count N/A N/A N/A featuredArticle N/A N/A self getArticle N/A N/A featured attrib N/A id N/A N/A featuredArticle None N/A N/A N/A N/A articles append featuredArticle N/A articles N/A getFields N/A N/A self N/A N/A N/A Answer a @Article@ instance with dictionaries of all field names, related to lists of articles.
        Included @article.urls@, @article.categories@ and @article.levels@.

            >>> from xierpa3.sites import doingbydesign
            >>> # Root path where to find the article Simples wiki file for this example page.
            >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
            >>> adapter = TextileFileAdapter(articleRoot)
            >>> adapter.getFields()
            [Article categories, levels, urls]
         N/A article N/A N/A self newArticle N/A N/A article urls N/A self _urls N/A N/A article categories N/A self _categories N/A N/A article levels N/A self _levels N/A article N/A getMenuArticles N/A N/A self N/A kwargs N/A N/A Answer an ordered list of the menu articles, as indicated by the selectors *id* or other values in *kwargs*.
        Normally this will be the @home@ page of the site, containing the main menu options in @$menu@.
        The @article.pages@ are article article instances where the menu points to.

            >>> from xierpa3.sites import doingbydesign
            >>> # Root path where to find the article Simples wiki file for this example page.
            >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
            >>> adapter = TextileFileAdapter(articleRoot)
            >>> menuArticles = adapter.getMenuArticles(id='index')
            >>> for article in menuArticles:
            ...     article.id
            'articles'
            'products'
            'courses'
            'about'
         N/A articles N/A N/A article N/A N/A self getArticle kwargs N/A N/A article menu N/A N/A menuId N/A article menu N/A N/A menuArticle N/A N/A self getArticle id menuId N/A N/A N/A menuArticle None N/A menuArticle tag N/A N/A N/A N/A articles append menuArticle N/A articles N/A getLogo N/A N/A self N/A kwargs N/A N/A For now, answer the default DbD logo.

            >>> from xierpa3.sites import doingbydesign
            >>> # Root path where to find the article Simples wiki file for this example page.
            >>> articleRoot = TX.module2Path(doingbydesign) + '/files/articles/'
            >>> adapter = TextileFileAdapter(articleRoot)
            >>> adapter.getLogo()
            [Article src, url]
         N/A N/A N/A self newArticle url /home src //data.doingbydesign.com.s3.amazonaws.com/_images/logo.png N/A N/A N/A N/A __name__ __main__ N/A N/A test 
h2. markItUp! Universal markup editor

!../markitup/preview/picture.png(markItUp! Logo)!

*markItUp!* is a javascript over "jQuery(jQuery Website)":http://www.jquery.com plug-in which allow you to turn any textarea in a markup editor.

*markItUp!* is a lightweight fully customizable engine made to easily fit all developers needs in their CMS, blogs, forums or websites.

_Html, Textile, Wiki Syntax, Markdown, BBcode_ or even your own Markup system can be easily implemented.

* integrate it easily
* customize buttons and macros to fit all your need
* customize keyboard shortcuts
* customize toolbar and css look and feel
** skins
** icons
** dropdown menus
** separators
* use the engine from anywhere in the page
* implement any markup language even your own
* implement your own javascript macros even the most advanced
* allow multi-line edition
* preview ajax result dynamically in any markup parser
* offers userfriendly experience and effectiveness
     N/A N/A N/A textile textile test