Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
wp2html.py | 2010-05-06 | 7.6 kB | |
README.txt | 2010-05-06 | 1.9 kB | |
main.css | 2010-05-06 | 1.3 kB | |
Totals: 3 Items | 10.8 kB | 0 |
_________________________________________ ********* ABOUT AND DISCLAIMER ********** This script is written in Python 3.1, so make sure that you either have an up-to-date Python version, or that you convert the script. I wrote this in order to convert a laboratory notebook that I was keeping in wordpress into a flat HTML document for easy searching and portability. For this purpose, the program does some things that other users may not be interested in, but feel free to edit wp2html.py as you see fit. This program comes with absolutely no gurantee and, in fact, you should expect data loss (media entries, tags, and pages will for sure be lost in translation). I claim no liability for any data loss associated with use of wp2html.py. This is a simple Python script and, as such, should not harm your computer. None of the data parsed by the program is transmitted anywhere, and there is absolutely no ad/spy/malware included. _________________________________________ ************* HOW TO USE **************** Export an xml file from your wordpress Dashboard (Tools > Export). Open wp2html.py and give it the source file (the xml one) and the desired name for your html output. Open the html file in your favorite broser, and you're done! The html includes several css id's and classes for easy formatting. See the file 'main.cpp' included in the downloads folder on sourceforge. _________________________________________ ********* LICENSE AND CREDIT ************ wp2html.py is filed under GNU GPLv3, meaning you can pretty much do whatever you want with it. I only request that credit for the original program be included in your modified versions, and that you include the sourceforge URL. For example: #original script by Adam Coster, 2010. #https://sourceforge.net/projects/wordpress2html/ Of course, I welcome any offers to help with future generations of the script. ENJOY!