I'm not sure what you're doing, but perhaps a service like
dyndns.org would help you. Their service is free, but you'll get a periodic email to confirm the account is still active. Most router/gateways nowadays have an option to automatically update a service like this.
In terms of parsing it depends on which OS you're on. If you're on Windows you can just use the IE ActiveX interface to navigate to the URL and get the HTML as a string. Then you can just use standard string functions to find the text. An example of using the IE ActiveX interface is
here. Another is
here (essentially does the same thing as the previous one, but with a callback). You can also do this using TCP/IP functions by sending the appropriate GET command and reading back what the server returns.