Skip to content

Barely works #1

@martinszy

Description

@martinszy

This code is not very useful, it extracts the text from my HTML and marks the titles in wiki format, nothing else.
All the work of exporting the zip file and unpacking it to obtain the html and then running the app I had to clone from github to only obtain a barely useful function make this a small waste of my time that I will document here for the next sorry soul that finds it.

If you happen to know of a code that works better, please let me know.

I also tried to use the wikinotes fork, but the python code was broken. I had to change the name of a module to get it to run, and then hardcode the filenames, and then it threw an error on me:

Traceback (most recent call last):
  File "wikicodify.py", line 199, in <module>
    wikicodify(input_file, output_file, wikidict)
  File "wikicodify.py", line 168, in wikicodify
    format = get_format(element, wikidict, match.group())
  File "wikicodify.py", line 48, in get_format
    for class_name in tag_classes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions