Hi everyone,
I am trying to parse an opml file automatically. I generate this file by entering a string like the following into a browser: "http://www.searchtempest.com/makeopml.p ... sfeedname="
This makes the opml file and on my screen , I get a dialog box asking me to open or save a .opml file. Manually, I can save this, but how can I bypass this dialog box using curl, or alternatively, is there another way to receive and parse this file.
Thank you,
kc
opml file and curl?
Moderator: General Moderators
Re: opml file and curl?
Actually, a basic CURL procedure worked.
for some reason file_get_contents did not.
Thanks,
KC
Code: Select all
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec($ch);
curl_close($ch);
for some reason file_get_contents did not.
Thanks,
KC