module rss.rss_flask_helper

Short summary

module pyrsslocal.rss.rss_flask_helper

Helpers for rss_flask.py.

source on GitHub

Functions

function

truncated documentation

get_binary_file

Returns the content of a binary filename.

get_text_file

Returns the content of a text filename.

load_page

Loads the content of a file.

root_dir

Returns this directory.

Documentation

Helpers for rss_flask.py.

source on GitHub

pyrsslocal.rss.rss_flask_helper.get_binary_file(filename)[source]

Returns the content of a binary filename.

Parameters

filename – relative filename

Returns

content

source on GitHub

pyrsslocal.rss.rss_flask_helper.get_text_file(filename)[source]

Returns the content of a text filename.

Parameters

filename – relative filename

Returns

content

source on GitHub

pyrsslocal.rss.rss_flask_helper.load_page(filename)[source]

Loads the content of a file.

source on GitHub

pyrsslocal.rss.rss_flask_helper.root_dir()[source]

Returns this directory.

Returns

this path

source on GitHub