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
escape    
extract_bing_result   extract the first results from a search page assuming it coms from Bing
get_binary_file   return 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   return the content of a text filename
get_url_content_timeout   download a file from internet (we assume it is text information, otherwise, encoding should be None)
html_escape   escape any French character with an accent
html_unescape   Removes HTML or XML character references and entities from a text string. keep &, >, <
internal_error   intercept an error
iterate_on_json   iterates on every field contains in the JSON structure
load_page   loads the content of a file
main_page   serves the main page
not_found   intercept an error
query_bing   returns the search page from Bing for a specific query
root_dir   returns this directory
rss_download_post_to_database   download all post 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 SQLite database
rss_run_server   starts a server and open a browser on a page reading blog posts
rss_update_run_server   create a database if it does not exists, add a table for blogs and posts, update the database, starts a server and open …
run_python_script   execute a script python as a string
run_server   run the server
table_extraction_from_xml_files   Goes through a XML file, extract values and put them into a flat file.
table_extraction_from_xml_files_iterator   Goes through a XML file, extract values and put them into an iterator.
url_logging   serves static files
write_subscriptions_example   returns an example of a subscriptions file
xml_filter   go through a XML file, return 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. …