-
Data feed url linking
Hi all,
Not even sure if this does belong in this section, but please redirect me if it doesn't. For those of us that have affiliate sites, most affiliates provide us with data feeds or specific data feed url with whcih we can link and extract information for our websites.
Can anyone tell me how one goes about connecting to one of these files? Is it a regex enquiry? And how would one specify which info needs to be extracted etc.
Many thanks Smiley
-
-
Usually data feeds are in the format of a XML file. In these cases the easiest solution is to use the SimpleXML extension. Using the function simplexml_load_file() you'll be able to load the file to manipulate with the SimpleXML extension.
If it's not XML, it will depend on the format of the data. Regular expressions are certainly a possibility for some formats.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks