Jump to content

Recommended Posts

This is my first time working with ADF. I've been researching and found this link. 

http://adfxml.info/adf_spec.pdf

Apprantly ADF uses XML to format data. 

So say I have a car dealer that wants to receive leads in ADF format like this example. How do I go on about emailing this as an attachment? If I am using a PHPmailer, it requires a physical file to attach. So how do I save the bottom xml info as an attachment? Which file extension do I use?

<?ADF VERSION "1.0"?>
<?XML VERSION 1.0”?>
<adf>
<prospect>
<requestdate>2000-03-30T15:30:20-08:00</requestdate>
<vehicle>
<year>1999</year>
<make>Chevrolet</make>
<model>Blazer</model>
</vehicle>
<customer>
 <contact>
 <name part="full">John Doe</name>
 <phone>393-999-3922</phone>
 </contact>
 </customer>
<vendor>
 <contact>
 <name part="full">Acura of Bellevue</name>
 </contact>
</vendor>
</prospect>
</adf>

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.