I know how to parse and setup databases etc in php. However i was wondering how would i go about constantly checking a xml feed for a specific string in one of the tags and then every time this string is found adding the whole XML item( as in the tags etc) to a database.
What i really need help on is how i would make my script constantly be working and looking out for these strings? It would need to refresh the xml feed every 20 minutes or so to keep a look out for the string and then when it finds it add it to the database without me manually navigating to the php page every time.
So all i need is a idea on how this could be achieved? If you could help me it would be great and much appreciated!
Thanks!