Sign in to follow this  
Followers 0
Guest smoke81

Trying To Make A Automated Html Editor

4 posts in this topic

What I'm trying to do is make a script that will look through some html code and delete what is not needed. I'm sure this is going to be alot harder than I can even think of. Although, I'm very new to writing scripts, and was looking for some help to lead me in the right direction. Saying this is even possible with auto it.

Thanks for your help!

Share this post


Link to post
Share on other sites



What do you mean with "unneeded"?

Do you want to remove some tags like <scripts> </scripts> or what?

Share this post


Link to post
Share on other sites

I guess I should of specified a little more, my bad.

Well when updating my site (which is php) When you post the news you post it in html format, and it only accepts <b> <i> <a> <em> <br> <strong> <blockquote> <tt> <li> <ol> <ul> tags. Sometimes when I receive news in a email to be posted it comes up witha ton of stuff that won't let me post the news easly. Would want to run it through this and have it replace the tags with what will work or delete what is not needed. I hope thats a lil more help. Sorry for not being clear on that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0