FFExp2HTMLex.php - "Paging Edition" (customization of Claudio Cicali's FF archive-to-HTML script by Micah Wittman) - Converts the output of ffexp.php into multiple HTML page files - Version 0.5 (2015-03-12) - https://gist.github.com/wittman...
For those of us who aren't really scripters or programmers, how do we use this? I was able to use Claudio's script on MacOS via the Terminal. Not sure what to do with this, though. - Spidra Webster
Spidra, I'll try to explain a bit. In OS X terminal you can run the converter with this: (next comment) - Micah
php FFExp2HTMLex.php my_ff_stream.json - Micah
At minimum you have to open the FFExp2HTMLex.php file and put your FF username in the blank $username = ""; so it is $username = "spidra"; - Micah
Spidra, to clarify a bit: Claudio's script has two parts. Part 1 downloads your feed and saves it as a JSON file. Part 2 converts the JSON file into an HTML file. Micah wrote a replacement for part 2 that uses paging instead of one big file. - Stephen Mack
Thanks. I'm still having trouble writing the right thing in Terminal. Right now I'm in the WebServer Documents folder but the .json file is in the user documents folder. Not sure how to rewrite the command to do that. - Spidra Webster
chris, I'll do one better and put a few pages on my website (I've done a "Save As" in Chrome and have just uploaded that output so I don't have to upload my entire ff_images folder—which has everything—and would take a while. Hang on. - Micah
Okay, here it is: http://wittman.org/ff... - Micah
Spidra, can you copy the .json file to the other folder? - Stephen Mack
Did Chris delete his comment? - Stephen Mack
Oh, looks that way. - Micah
I was a bit worried to do that, Stephen, since I figured Claudio had written his whole script to place that folder and associated images there. I don't know what I'll break by moving it. - Spidra Webster
Yeah I was using FF on my phone, and my phone was lagging, and I got a little tap happy and poof goes the comment. - chrisofspades #FForever.
Looks like Claudio's script uses relative folder references for the images in the "ff_media" folder, so if you copy/move the folder, it'll work in any location. - Stephen Mack
Thank you. It's a big folder so I didn't want to duplicate it if I could avoid it. And thanks to Micah for writing so many custom things for FFers. - Spidra Webster
I keep getting the following error when I open up the ff_out.html file: C:\xampp\php\FFExp2HTMLex.php on line 201 Notice: Undefined variable: n i - DB, Lil LB's Dad
"n i" the error said? - Micah