HTMLPurifier PHP library homepage

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

HTMLPurifier PHP library homepage

Post by Ambush Commander »

As a library I'm working on nears completion, I also have to think about publicity and how I'm going to get the word out.

http://hp.jpsband.org/

I've mocked up a basic version of a website that will serve as the "Home Page" of the library.

So, I'd like you to comment:

- Is the design reasonable? Accessible?
- Is the summary of the library concise? Understandable?
- Does Background convince readers that this is a library they'd want to use?
- Anything else I should change?

I know that I should do some more linking, that'll be done when I get more time. Also, when it gets released, I plan on adding a download section, link to the repository, live demo, comparison charts of unfiltered and filtered html, more artwork and Doxygen-generated documentation. Anything I'm missing?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

I understood everything, except the comparison to other libraries as I haven't ever used any of them...

Other than that, clear and to the point so far...

Boj Doog!!! :D
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

Wow man. This library is going to be great, looking at the code you posted and the features listed. I'm looking forward to this :D

Quite usable. I have nothing to nitpick.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I'm sure I would use it. Looks like a great project.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Can't wait for you to finish it... I will use it for sure!
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Good
  • My pants got tight reading how this work
  • The site is very, very simple (of course there's no navigation whatsoever)
Not as good
  • webpage wrote:None of them, however, demonstrates a thorough knowledge of neither the DTD that defines the HTML nor the caveats of HTML that cannot be expressed by a DTD
    None & neither - that's a double negative. Change the 'neither' & 'nor' to 'either & 'or'.
  • It seems too plain. I'm really not a fan of the default font (though keep in mind I'm not a design guru). Since the WebDeveloper plugin allows me to, I added some CSS to make it look better to me. Add it if you want - its just a suggestion:

    Code: Select all

    body{
      font-family:Georgia,serif;
      font-size:10pt;
      background-color:#f9f9ff;
    }
    h1{
      border-bottom:1px solid #8393AF;
    }
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

looks great with pickle's change (IMO)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Great to see that the site is doing its job! I've merged in pickle's changes, they look fantastic.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Ambush Commander wrote:Great to see that the site is doing its job! I've merged in pickle's changes, they look fantastic.
nice! I can't wait for this... I will use it all the time.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

I've added a development log, if you want to follow along.

Attributes actually may take more time than anticipated... I ought to revise that percent figure to 65%...
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Ambush - I'm sure in your research for this, you found something that maybe I could use in the meantime (until you finish this baby)?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

I suppose SafeHTMLChecker.php is the closest you'll get to spec-compliant. I was actually quite excited to have found it until I did some testing and found that it wasn't perfect (see the comments labeled Edward Z. Yang at the very bottom). The other problem with it is that it spits out hard to understand not-wellformed errors if you make a typo or try to use HTML 4 syntax.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Oooooooh, this is exciting. Kind of like Christmas.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

It's even exciting for me. This is marvelous. I've finally got enough of the CSS spec implemented to start doing some integration testing with the entire library as a whole, and its shaping up in a marvelous fashion. For the live demo, I'll need to figure out an easy way to get the purified HTML validated, but it seems to be doing great against everything I've thrown against it.

::is excited::

I might be able to release the Beta tonight.

Demo

Try copy-pasting entire web-pages in there, and see what gets kept and what gets killed.

Edit - maybe this is the wrong forum
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

How come in some of the output the code shows < and in other areas of the same output it shows <?
Post Reply