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)

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)

Returns the content of a text filename.

Parameters:

filename – relative filename

Returns:

content

source on GitHub

pyrsslocal.rss.rss_flask_helper.load_page(filename)

Loads the content of a file.

source on GitHub

pyrsslocal.rss.rss_flask_helper.root_dir()

Returns this directory.

Returns:

this path

source on GitHub