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

return the content of a binary filename

get_text_file

return 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]

return 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]

return 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