.. _f-rssblogpost: module ``rss.rss_blogpost`` =========================== .. inheritance-diagram:: pyrsslocal.rss.rss_blogpost Short summary +++++++++++++ module ``pyrsslocal.rss.rss_blogpost`` description of a blog post :githublink:`%|py|5` Classes +++++++ +----------------------------------------------------------+-------------------------+ | class | truncated documentation | +==========================================================+=========================+ | :class:`BlogPost ` | A blog post. | +----------------------------------------------------------+-------------------------+ Properties ++++++++++ +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | property | truncated documentation | +================================================================================+==========================================================================================+ | :meth:`asdict ` | Returns all members as a dictionary. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`asrow ` | Returns all the values as a row (following the schema given by :meth:`schema_database`). | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`index ` | Defines the column to use as an index. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`indexes ` | Defines other indexes to create. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`pubDateformat ` | Returns the date to a given format. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`schema_database ` | Returns all members names and types as a dictionary. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`Status ` | Return the status. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`StatusTime ` | Returns the status. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`StatusTimeStr ` | Returns the status. | +--------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ Static Methods ++++++++++++++ +------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+ | staticmethod | truncated documentation | +==========================================================================================+===========================================================================+ | :meth:`fill_table ` | Fills a table of a database, if the table does not exists, it creates it. | +------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :meth:`schema_database_read ` | Returns all members names and types as a dictionary. | +------------------------------------------------------------------------------------------+---------------------------------------------------------------------------+ Methods +++++++ +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | method | truncated documentation | +================================================================================+=====================================================================================+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :py:meth:`__str__ ` | usual | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`add_status ` | Attaches a dictionary representing the status. | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`get_html_status ` | Returns a status written in :epkg:`HTML`. | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`html ` | Displays the blogs in HTML format, the template contains two kinds of informations: | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`to_html_item ` | Renders the blog post into :epkg:`HTML`. | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`to_rss_item ` | Converts the blog post into :epkg:`XML`. | +--------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyrsslocal.rss.rss_blogpost :members: :special-members: __init__ :show-inheritance: