Functions | |
| def | __fix_breadcrumbs__ |
| def | fetchurl |
| def | fix_latex |
| def | tidy |
| def wikidot.tools.__fix_breadcrumbs__ | ( | breadcrumbs, | |
| toplevel | |||
| ) |
| 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.| def wikidot.tools.fix_latex | ( | directory | ) |
| def wikidot.tools.tidy | ( | directory | ) |