def rss():

    if not auth.s3_has_role(ADMIN):
        session.error = ERROR.UNAUTHORISED
        redirect(URL(f="index"))

    tablename = "msg_rss"
    table = s3db.msg_rss

    # To represent the description suitably
    # If it is an image display an image
    #table.description.represent = lambda description:  HTML(description)

    # CRUD Strings
    s3.crud_strings[tablename] = Storage(
        title_display = T("RSS Post Details"),
        title_list = T("RSS Posts"),
        label_list_button = T("View RSS Posts"),
        label_delete_button = T("Delete Post"),
        msg_record_deleted = T("RSS Post deleted"),
        msg_list_empty = T("No Posts available")
        )

    s3db.configure(tablename,
                   # Permissions-based
                   #deletable = False,
                   editable = False,
                   insertable = False,
                   list_fields = ["id",
                                  "date",
                                  "body",
                                  ],
                   )

    return s3_rest_controller()

# -----------------------------------------------------------------------------
Get posts given by filter criteria
dataset/ETHPy150Open sahana/eden/controllers/msg.py/rss--crossover with--dataset/ETHPy150Open gouthambs/Flask-Blogging/flask_blogging/storage.py/Storage.get_posts