-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,34 @@ | ||
My WordPress blog has been hacked, and for the time being I've decided to at least recover the content. | ||
My WordPress blog (http://blog.zarate.tv/) was hacked so I decided to at least recover the content. | ||
|
||
Luckily for me I had a recent backup and the DB looks good. | ||
Luckily for me I had a recent backup and the DB looked good (no hacky HTML/JS on posts). | ||
|
||
I could just re-install WP and import the backup, but I can't be bothered with maintaining WP again. | ||
I could just re-install WP and import the backup, but I can't be bothered with maintaining WP. | ||
|
||
This is a tool to go from WP's 3.2.1 backup file to a set of static HTML pages following WP's permalink structure. | ||
This is a tool to go from WP's 3.2.1 backup file to a set of static HTML pages following the permalink structure. | ||
|
||
User at your own risk! | ||
What it does: | ||
|
||
* Parses a WP backup XML file and outputs static HTML pages (index + a page per post or page *published*). | ||
* Allows for custom HTML template so you can customize a little bit the output. | ||
|
||
What it doesn't do: | ||
|
||
* Clean up your DB of dodgy-spamy links (you are royally screwed if this is your case). | ||
* Adapt to every single WP permalink structure (it follows the YYYY/MM/DD/post-title structure only). | ||
|
||
What it _might_ do: | ||
|
||
* Native binaries for simpler usage. | ||
* Allow custom CSS. | ||
* Work better with non-English characters in post titles. | ||
* Split the index output between pages and posts. | ||
* Category support. | ||
|
||
Let me know if you need anything else. | ||
|
||
To compile simple call compile.sh (requires bin folder and XAPI, install by typing haxelib install xapi). | ||
Then call neko bin/wpbackup-2-html.n for how to use. | ||
|
||
User at your own risk : ) | ||
|
||
JD |