Start Guide Rons HTML Cleaner
- Open a File
- The HTML Cleaner’s views
- Process Directory
Congratulations! You have downloaded and installed Rons HTML Cleaner successfully! Now what?
Follow this quick guide to get you started and make the most of the application as soon as possible.
Open a File
The first thing to do is open an HTML file, which can be done in one of three ways:
Open from Clipboard
A section of HTML formatted text can be copied to the clipboard and opened in Rons HTML Cleaner by clicking the Open Clipboard button.
An HTML located on the local system can be opened in Rons HTML Cleaner by clicking the Open File button and selecting the file required.
A web page can be opened in Rons HTML Cleaner by clicking the Open Site button and entering the site address. The site address can also be directly entered into the Source area in the main window.
The HTML Cleaner’s views
The HTML Cleaner is designed to process HTML, from a source into 'cleaned' views. In order to compare both source and processed views easily the main window has been split into the Source on the left side, and the Processed on the right.
A browser view, and an HTML code view (Document and HTMLbuttons) of the source HTML document.
A list of the links found in the source document, along with a validity check. One can see whether they are active or broken by a green tick or a red cross.
A list of the resources found in the source document, along with a validity check.
A browser view, and an HTML code view (Document and HTMLbuttons) of the source HTML document after it has been processed through a Cleaner (see below). Rons HTML Cleaner automatically cleans and tidies the HTML code while respecting the original document view, so if no Cleaner has been selected the output HTML is still tidy.
Cleaner rules can be created to make customized amendments (see next section).
A browser view, and an HTML code view (Document and HTMLbuttons) of the source HTML document after the content has been extracted. The content is counted as the main text of the document without unnecessary clutter like advertising or menus.
A text view of the source HTML document after the content has been extracted.
The core of Rons HTML Cleaners' power is its ability to create lists of HTML manipulations called Cleaners. Manipulations (or rules) can be stacked together and processed in sequence to change HTML for purposes such as cleaning Word, or other HTML documents, before they are published to the web in a blog or content management system (like SharePoint).
The list of rules that a Cleaner can contain is steadily growing but currently stands as follows:
- Add Tag
- Change Tag
- Change Tag Content
- Delete Tag
- Set Attribute
- Delete Attribute
- Replace Attribute Value
- Replace Text
- Text Encoding
To create a new Cleaner click the New Cleaner button, and proceed to add rules as needed, by clicking the Add New Rule button and selecting from the list of rules available. The currently viewed document will be updated with the results as changed are made, if the Preview button is pressed.
Once saved, Cleaners can be easily selected by choosing from the Cleanerlist in the Processed section.
Cleaners can also used to batch processed file in directories. Simply go to Process Directory, enter a source Directory, a destination directory, select the rule to apply and click Start.