Functions
wikidot::tools Namespace Reference

Functions

def __fix_breadcrumbs__
def fetchurl
def fix_latex
def tidy

Function Documentation

def wikidot.tools.__fix_breadcrumbs__ (   breadcrumbs,
  toplevel 
)

Definition at line 34 of file tools.py.

def wikidot.tools.fetchurl (   page,
  offline_name,
  breadcrumbs = '' 
)
Given a wikidot URL, fetch it, convert it and store it locally.

Inputs:
    page:           URL of the wikidot page
    offline_name    Local file name for storage purpose
    breadcrumbs     (Optional) Name of the root page. If given,
                    checks that the breadcrumbs reference this page
                    (child page). If not, page is discarded
Output:
    Links to other pages / images.

Definition at line 48 of file tools.py.

def wikidot.tools.fix_latex (   directory)
Given a directory, convert LaTeX code to PNG images for every HTML file.

Inputs:
    directory:      Source directory

Output:
    No output.

Definition at line 117 of file tools.py.

def wikidot.tools.tidy (   directory)

Definition at line 109 of file tools.py.



aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:18