Advertisement

04.16.2005 at 04:37AM PDT, ID: 21391211
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

PHP script that monitors a list of URLs and notify me if a page has been updated

Asked by firepol in PHP Scripting Language

Tags: , , , ,

Hi guys, does it exist a PHP script that will notify me if a URL has changed (updated, modified) like the following:

given a list of links of websites I'm interested to follow and see the changes/updates, in example:

http://community.vugames.com/WebX?14@90.O2jSemUSn9j.10434099@.1dd9900e

http://community.vugames.com/WebX?14@90.O2jSemUSn9j.10433936@.1dd98641

http://community.vugames.com/WebX?11@90.O2jSemUSn9j.10435135@.1dd962aa

The list could be in a .txt file, or in a simple mysql db...

The script should to the following

1) list these links, so that I can click them

2) download the links (like if you open the link with your browser and "Save Page As..." > "Web Page, HTML only" but the PHP script should save it)

3) modify the filename, including e.g. the date and time in it. In example it the link is

http://community.vugames.com/WebX?11@90.O2jSemUSn9j.10435135@.1dd962aa

it could save it as community.vugames.com_WebX?11@90.O2jSemUSn9j.10435135@.1dd962aa_2005.04.16_16.32.45
(the link name should be converted in a way that it works under linux, so the slashes could be converted in underscores and the “http:” could be removed…)

4) compare the last saved version with the version saved before (that's why having a date and time in the file is useful)

I don't know the perfect way of comparing to be able to say if a URL has been updated or not, but if it's a site without banners (or at least with a fixed tag like banner.gif, where the banner.gif rotates, but the html looks always the same) i think that comparing the file size is enough...

What I want to achieve is to see in a forum (a forum that has no auto-notification via e-mail) if new replies have been added to the thread, or if they have been modified by the authors...

5) if the 2 pages are different, the script should notify me, e.g. including a warning or icon near the link

6) an ideal thing would be to have an "history" link and see when the pages have been updated, so that if i accidentally click "refresh" 2 times I don't lose this information

7) the perfect thing would be that if there are updates there will be an added link that if I click I see what are the changes (like the output of the “diff” command under linux, something simple should be enough)

Do you know if there is already such a script elsewhere in the open source world?

If not, can you script the simplest solution to do what I mentioned above?

Thanks a bunch, 500 points if you do this ;)

sincerely,

PaoloStart Free Trial
[+][-]04.16.2005 at 04:54AM PDT, ID: 13797029

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.16.2005 at 05:02AM PDT, ID: 13797048

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.16.2005 at 05:04AM PDT, ID: 13797050

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.16.2005 at 03:00PM PDT, ID: 13799145

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2005 at 11:36AM PDT, ID: 13827344

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Tags: notify, script, me, php, has
Sign Up Now!
Solution Provided By: Vampireofdarkness
Participating Experts: 4
Solution Grade: A
 
 
[+][-]04.20.2005 at 11:37AM PDT, ID: 13827358

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2005 at 12:03PM PDT, ID: 13827601

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2005 at 12:46AM PDT, ID: 13831498

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.18.2006 at 12:25PM PST, ID: 15990318

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.22.2006 at 05:13AM PST, ID: 16018269

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44