Hi:
Is it possible to create a php script that creates a new MODx page? For example:
Have a script called add-job.php that you post an XML document to. The XML document might look like this:
<jobs>
<job jid="DE/003">
<title>Project Manager</title>
<location>London</location>
<type>Permanent</type>
<salary>£40,000-£46,000 + Benefits</salary>
<intro>Wehey... a cool job</intro>
<content>A big description, may need to be in CDATA tags.</content>
</job>
<job jid="DE/004">
<title>Some other job</title>
<location>London</location>
<type>Permanent</type>
<salary>£40,000-£46,000 + Benefits</salary>
<intro>Wehey... a cool job</intro>
<content>A big description, may need to be in CDATA tags.</content>
</job>
</jobs>
For each Job the script creates a new MODx page.
Is there a prebuilt plugin I can modify to my needs?.. or would I need to create something from scratch?
Many thanks in advance:
John