There are a lot of ways to do it. It all depends on the server side
technology they are using, if any. I would assume PHP. With that said, it
depends on how PHP is configured.  If you can use fopen() to retrieve a url
that is the easiest way.

 $doc = fopen($url);

Or you can use DOMDocument and pull in a remote xml or (x)html file like so.

    $doc  = new DOMDocument();
    $doc->load($url);

The only problem with this method is that you have to have valid xml or html
or PHP will barf it back up.

It has been a while since I did this but I would take a look @ posts and or
libraries on how people handle pulling in and parsing RSS feeds with the
server side platform you/they are using.

HTH

G!

On Fri, Sep 24, 2010 at 9:43 AM, Richard Steele <[email protected]> wrote:

>
> Is it possible to package an image with a link and request it from a
> non-coldfusion website? I know that I can use cfcontent to stream a jpg file
> using a <img src> request, but can I use cfcontent and pull the html <a
> href> and <img src> to show the image with its associated link? Thanks in
> advance.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337476
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to