File: basic/typical-rxp-mod.php

Recommend this page to a friend!
  Classes of Jill Lingoff  >  Sweeper  >  basic/typical-rxp-mod.php  >  Download  
File: basic/typical-rxp-mod.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Sweeper
Clean HTML to remove unwanted tags and attributes
Author: By
Last change:
Date: 2 years ago
Size: 711 bytes



Class file image Download

= array(

// not sure what this is for (2009-04-23)
//'(<TOCI_Leader>)([0-9a-zA-Z\s\.&;#]{1,10})(<\/TOCI_Leader>)' => '',

// page references
// this is not put into the table of contents section because page references could occur outside of it.
/*'(\.{4,})(\s*)([0-9ivx]{1,6})' => '',
'((&hellip;){2,})(\s*)([0-9ivx]{1,6})' => '',
'((&#8230;){2,})(\s*)([0-9ivx]{1,6})' => '',
// (spaced-out dots)
'(( \.){4,})(\s*)([0-9ivx]{1,6})' => '',*/ // disabled (2011-12-07); consider trim_page_reference() in ReTidy which is better

// sometimes we want the LI_Label (due to the way converter and SaveAsXML work).
//'(<LI_Label>)([0-9a-zA-Z\s\.&;#]{1,10})(<\/LI_Label>)' => '',



For more information send a message to info at phpclasses dot org.