Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

As of netcurl 6.1.5, we start to laborate with DOMDocument again. As we are using html reading to generate RSS-links, DOMDocument and DOMElement plays an important part in fetching content instead of using regex-fetching as we in that case have to pars html tags and items manually. Instead we use this other method. In the test suite and this example we use a stored html-page from moviezine, which does not generate RSS data themselves. When we write this, our own wish is to be able to fetch all articles from their autogenerated list of news. We know that they have to kinds of elements where they store the content which also has classes applied to the element.

Features are available from the master branch.

In this particular case, we use xpath as the tasks (

serverTornevall Networks
/ #5) is based on. The elements we want to look for is: