Sedang Disiapkan

Write a php function to scrape the website of a school and return the name of the Principal and her email.

Write a php function to scrape the website of a school and return the name of the Principal and her email.

Given a school's URL as an input, find the principal and their email address. You might need to look at adjoining pages.

Achieve this be writing a php class or function that takes a url as a input and then returns the principal's name (first and last) and the principal's email. If you can't find needed info, then return some appropriate error code.

I'll attach a list of about 30 urls to test against, with the names and email of the principals. I'll also give you an addition list of up to 500 urls to test against, but I don't yet have those names so we'll just test by inspection. Your function should be able to find the principal info for most of the urls, within reason.

Also return the principal's title, like Principal or Director

Also their personal title Miss, Ms. Mrs. Dr, Mr., etc.

Also their phone number

If there is a contact form, instead of an email, list the url for the contact form.

Keep in mind, you might need to find the principal's name in one place, and then their email on another part of the site.

Kemahiran: PHP, Pengikisan Web

Lihat lagi: writing email address, writing an email, writing a address, php function for, number function, mr website, look find and write, function number, dr first, a. t. and t, school website php freelancer, school website php, school website php project, return html link php function, scrape website php login, write search function website php, search function website php, php website search function free, adding php email subscription website

Tentang Majikan:
( 18 ulasan ) Belmont, United States

ID Projek: #8823667