What are the DEDE collection filtering rules?
DEDE collection filtering rules often used in the collection process of Dreamweaver DEDECMS
Recommended learning:Dreamweaver cms
Generally in DEDE During the collection process, you need to filter or delete, or comment out some other people's information, such as hyperlinks, pictures, etc., you need to use these filtering rules to comment out all the resources that you do not want to collect. This greatly reduces the amount of spam collected and takes up space.
{dede:trim}<span(.*)>{/dede:trim} {dede:trim}</span>{/dede:trim} {dede:trim}<div(.*)>{/dede:trim} {dede:trim}</div>{/dede:trim} {dede:trim}<li>{/dede:trim} {dede:trim}</li>{/dede:trim} {dede:trim}<ul>{/dede:trim} {dede:trim}</ul>{/dede:trim} {dede:trim}<font(.*)>{/dede:trim} {dede:trim}</font>{/dede:trim} {dede:trim}<table(.*)>{/dede:trim} {dede:trim}</table>{/dede:trim} {dede:trim}<tbody(.*)>{/dede:trim} {dede:trim}</tbody>{/dede:trim} {dede:trim}<tr(.*)>{/dede:trim} {dede:trim}</tr>{/dede:trim} {dede:trim}<td(.*)>{/dede:trim} {dede:trim}</td>{/dede:trim} {dede:trim}<a(.*)>{/dede:trim} {dede:trim}</a>{/dede:trim} {dede:trim}<iframe(.*)</iframe>{/dede:trim} {dede:trim}<style(.*)</style>{/dede:trim} {dede:trim}<script(.*)</script>{/dede:trim} {dede:trim}<option(.*)</option>{/dede:trim} {dede:trim}<select(.*)</select>{/dede:trim}
The following is the code for filtering "video"
{dede:trim}<embed(.*)>{/dede:trim} {dede:trim}</embed>{/dede:trim} {dede:trim}<param(.*)</param>{/dede:trim} {dede:trim}<object(.*)</object>{/dede:trim}
The above is the detailed content of What are the DEDE collection filtering rules?. For more information, please follow other related articles on the PHP Chinese website!