I need a very small WP-plugin written. It should be easy for me to include on frontpage / footers.
The pluing will display an input form, for which the user will enter a domain name.
Upon submitting, the plugin will do the following:
1. Get the frontpage source htm code of the site, and do a regex to verify if certain string is present. Depending on the string, it will mark the website as being of a certain category. Also verify if it can find a contact-page / email-address.
2. Visit hostmaster of domain (only 2 TLD's are relevant for this version), and get users contact data. I will supply URLs, etc.
3. Send some emails (1 to site owner + 2 to the email found on site / hostmaster).
Depending on outcome of the above actions (ie. was one of the strings is found or not), it will display text A to user, otherwise display other text B.