Php Text Process Xml To Csv

Job will be to strip 10 different datafeeds ( which I don’t have the exact format for) for a list of 2 fields

Say we have the following data feed of 3 items

<p>
blah blah blah blah
<a href=”http://www.somelink1.com”>someURL1.com<a>
blah blah
</p>

<p>
blah blah blah blah
<a href=”http://www.somelink2.com”>someURL2.com<a>
blah blah
</p>
<p>
blah blah blah blah
<a href=”http://www.somelink3.com”>someURL3.com<a>
blah blah
</p>

etc.

It would be output to a format like;
auto|someURL1.com|http://www.somelink1.com|redirect|none
auto|someURL2.com|http://www.somelink2.com|redirect|none
auto|someURL3.com|http://www.somelink3.com|redirect|none

Leave a Reply

Your email address will not be published. Required fields are marked *