One way to do it would be to get some multimedia software such as Macromedia
Director to open up the pages of your site using an embeded HTML browser and
then use a screen capturing plugin to script capturing the pages as they get
called up...

I do a lot of work in Director so I know its possible, so drop me an email
off list if you want more info on this technique before the thread drifts
too far off topic.

To keep it on topic should I mention the fantastic multimedia content
management system I wrote in CF that manages interactive media between
multiple developers working in MM Director? I thought not.

seeya!

-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig


-----Original Message-----
From: Raymond B. [mailto:[EMAIL PROTECTED]]
Sent: Monday, 21 May 2001 11:37 AM
To: CF-Talk
Subject: RE: What a task!


Haven't really been following this thread, but at it's highest level your
problem seems to break down into these three steps. (If you want quick fixes
skip to the bottom.)

1. Render the HTML
2. Convert rendered screen to image
3. Resize image


RENDER THE HTML
---------------

You might check out http://www.mozilla.org/ for mozilla's HTML rendering
engine if you want something you can bring into your own code. There are
some other engines that are open as well, I'll leave them to you to find.

Alternately there's closed source such as the popular IE. Which you decide
to use counts heavily on the next step.

CONVERTING TO AN IMAGE
----------------------

The whole purpose of the exercise is to get the render (R) to output to a
bitmapped image (I). Theoretically the easiest way would be get R > I;
somehow I doubt it's going to be as easy as a 'mozilla --url=www.foo.com >
bar.jpg' though.

Given the mozilla source you may be able find where you could redirect the
screen display though. I'm not overlly familiar w/ IE but it might have some
COM objects accessable to pull the information from.

RESIZE IMAGE
------------

So many programs and algorithms to accomplish this, choose whichever suites
you (http://www.imagemagick.org/ is one of my favourite utils for this).

CONCLUSSION
-----------

I realise this isn't exactly detail specific, but if you were floating
around wondering how to even begin tackling the problem this might provide
some grounding.

QUICK FIXES
-----------
http://www.html2jpg.com has a win9x/IE5 specific program to accomplish step
1 and 2 if you're on that platform.

http://www.tdb.uu.se/~jan/html2ps.html converts to PS, w/
http://www.imagemagick.org/  it's only a step away from a properly sized
jpeg and it's not platform specific. (I don't have a clue how the html2ps
script renders the HTML though)


-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: May 18, 2001 19:28
To: CF-Talk
Subject: Re: What a task!


How many thumbnails are there going to be? It might be more cost effective
to train a peon (no offense to any peons out there;-)) to use a screenshot
program....

jon
----- Original Message -----
From: "Michael Lugassy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 8:03 PM
Subject: What a task!


> I got this assignment recently:
>
> I need to create a thumbnail view of the front/home page of a given site.
that should be done automaticlly, ofcourse.
>
> for example: I run this: <CF_THUMBSITE site="http://www.imvamp.com";;>
> somehow I need to grab all of the site content and PICTURE IT as it were
> on a browser.
>
> this gots you thinking, ha?
>
> I know http://www.girafa.com does something similiar.
>
> if anyone can solve this, I'm hearing! :)
>
> Thanks,
>
> -=Michael
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to