Page 1 of 1

PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 3:36 am
by kenmo
Hello!

I've got a nice new IDE tool to share... I know it's not very original (yet another PB-to-HTML converter) but hopefully this one has the easiest-to-use GUI and the most features.

Image

Features:
- quickly convert a single file (or a folder of them) into nicely formatted HTML pages
- configure 14 code styles, including optional line numbers style
- automatically turn IncludeFile, IncludeBinary, etc. into HTML links
- (when run from IDE) your syntax styles, current source path, and DLL path should be automatically detected
- colors can be copy/pasted (via right-click menu on those colored CanvasGadgets)
- import/export settings to "prefs" files which are (mostly) compatible with the IDE
- source is included!

Important Notes:
- I've only tested it on Windows, but feel free to get it working on Mac/Linux
- it requires the Syntax Highlighting library included in your PB installation (SyntaxHilighting.dll on Windows)

Example output: here

Download: here

I hope you find it useful, it's been sitting around for a while and I finally got around to putting it online. :)

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 9:25 am
by Inf0Byt3
Looks great, thanks for sharing!

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 12:44 pm
by luis
Nice idea, I'll try it soon !

Oh, and there is the source too... thank you for sharing it :)

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 6:55 pm
by loadstone
very good , thanks ~~~!! :D

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 7:05 pm
by netmaestro
Please excuse my obtuse reply but is this for posting code on a forum, is that the purpose?

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 7:16 pm
by Inf0Byt3
Nope, this outputs HTML for use on a website (as a stand-alone page or embedding in an existing page as a frame). There was another tool for generating BBCode (for the forum) but I cannot find the link :/.

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Wed Feb 13, 2013 9:41 pm
by davido
Hi kenmo,

Output looks great, unfortunately it does not accept the syntaxhighlighting.dll on my system.
Is that because it is 64bit windows 7?

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Thu Feb 14, 2013 4:20 am
by kenmo
@netmaestro - Infobyte is right, it currently outputs HTML pages that you have to upload somewhere (or keep for personal use). You can't directly post them in the forum. Maybe I will look into an option to generate forum-friendly BBCode formatting instead?

@davido - The included .exe was compiled with PB x86... maybe it can't load 64-bit DLLs. The source is included so you should be able to re-compile it as 64-bit and try again.

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Thu Feb 14, 2013 4:41 am
by J. Baker
Nice but if you wanted to copy and paste the code, it also copies the line numbers from the html. ;)

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Thu Feb 14, 2013 7:34 am
by davido
Hi Kenmo,

Hmm... doesn't it sound so simple when told the answer! :oops:

Thanks very much. :D

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Thu Feb 14, 2013 2:59 pm
by Inf0Byt3
@kenmo: If you have the time, it would be great to have an option for BBCode generation.

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Thu Feb 14, 2013 3:04 pm
by Shield
Nice tool! :)
But you should change the HTML output a little. It would be wise to use a formatting that allows
selecting and copying the code without line numbers. That's not easily possible at the moment.

(Also check the errors in your XHTML. :P ).


I think the user STARGATE made a tool for BBCode formatting.

Re: PureHTML (a PB-to-HTML IDE tool)

Posted: Sat Feb 16, 2013 12:00 am
by kenmo
D'oh! I can't believe I didn't think about copying code without copying line numbers... hmm.

Are there XHTML errors? When I started writing it I was ensuring it was Validated HTML, but that was months ago so maybe I changed something.

I will look into BBCode but I make no guarantees... I am pretty busy lately :?