Functions

Summary

function

class parent

truncated documentation

_iteration_values

Iterators on all possible tuple of values taken into a list. Let’s assume you have two rows:

_setup_hook

does nothing

compile_rss_blogs

Compiles multiple blogs in one single blog. Uses RSS files.

enumerate_post_from_rss

Parses a RSS stream.

enumerate_rss_merge

Merges many rss file or url.

escape

extract_bing_result

extract the first results from a search page assuming it coms from Bing

get_binary_file

Returns the content of a binary filename.

get_js

Serves static files.

get_path_javascript

pyrsslocal contains some javascript script, it adds the paths to the paths where content will be looked for.

get_resource

Serves static files.

get_text_file

Returns the content of a text filename.

get_url_content_timeout

Downloads a file from internet (it assumes it is text information, otherwise, encoding should be None).

html_escape

Escapes any French character with an accent.

html_unescape

Removes HTML or XML character references and entities from a text string. keep &, >, …

internal_error

Intercepts an error.

iterate_on_json

Iterates on every field contains in the JSON structure.

load_page

Loads the content of a file.

main

Implements python -m pyrsslocal <command> <args>.

main_page

Serves the main page.

not_found

Intercepts an error.

query_bing

Returns the search page from Bing for a specific query.

root_dir

Returns this directory.

rss_download_post_to_database

Downloads all posts from a list of blogs stored in a database by function rss_from_xml_to_database().

rss_from_xml_to_database

Parses a list of blogs stored in a XML file using Google Reader format, stores the results in a :epkg:`SQLite`

rss_run_server

Starts a server and open a browser on a page reading blog posts.

rss_update_run_server

Creates a database if it does not exists, add a table for blogs and posts, update the database, starts a server …

run_python_script

Executes a script python as a string.

run_server

Runs the server.

table_extraction_from_xml_files

Goes through a XML file, extracts values and put them into a flat file.

table_extraction_from_xml_files_iterator

Goes through a XML file, extracts values and put them into an iterator.

to_html

Produces a HTML.

to_rss

Converts something into RSS.

url_logging

Serves static files.

write_subscriptions_example

returns an example of a subscriptions file

xml_filter

Goes through a XML file, returns XML content if a condition is verified, the result is put into a stream. …

xml_filter_iterator

Goes through a XML file, returns XML content if a condition is verified, the result is an iterator. …