I'd like to request a couple of example snippets using PHP in a node, as I think these will demonstrate to others, both the usefulness and power of the module. If so, I'd like to request something along the lines of the following, which extracts a table of data once per day from a website, and converts and displays it, as a list:

  • Retrieve a page from a website, eg. US Dollar exchange rates
  • Extract the table (ie. using a start string and end string)
  • Remove the links
  • Convert the table into an unordered list
  • Display
  • Repeat every 24 hours

Second example

Take RSS field, and produce nodes for each, and update once per day.

Comments

westbywest’s picture

I am using the QP module to retrieve remote XML for a custom, in-house application which I unfortunately can't disclose.

However, I found this URL about using QP to access OpenAmplify very helpful:
http://technosophos.com/content/how-access-openamplify-querypath