View Single Post
Old 03-04-2004, 10:49 PM   #1
JÿGius³
Green Mole
 
Join Date: Oct 2003
Posts: 17
indexing flash movies with swf2html

Hi all.

I'm wondering if could be possible to index swf files.
There is a software that can be used to extract
text from swf files http://www.macromedia.com/software/f...ngine_faq.html
The problem is that with a pdf file, for instance, you have a link
as follows
<a href="pdf.pdf">click here!</a>.
When you search, phpdig returns you a link to pdf.pdf.
With a flash the problem is a little bit different, because
a flash file is like a "page" inside a host page.
For instance, I have a page and a flash inside it called moog.swf.
Here the page called index.html.

PHP Code:
<body>
    <
object id="c432115683" classid="clsid:" 
                
codebase="http://macromedia.com" width=140 height=120>
        <
param name=movie value="moog.swf"
        <
param name=quality value=high><param name="wmode" value="transparent"
        <
embed name=c432115683 swliveconnect="true" 
            
src="moog.swf" quality=high width=140 height=120 
            type
="application/x-shockwave-flash" 
            
pluginspage="http://www.macromedia.com">
        </
embed>
    </
object>

<
a href="pippo.html">ciao</a>
</
body
swf2html extracts the text from moog.swf; when I search for a word
contained in moog.swf, phpdig has to give me a link to index.html,
and not the link to moog.swf. That is, a flash movie is like
a "page slave" (moog.swf) inside the host page (index.html).

swf2html is ready to be used to index very complex flash files.
I've tested swf2html with a 1.8 MB flash movie, and works fine...
It has indexed the file very very quickly.

Any ideas ?

Best regards.

JÿGius³
JÿGius³ is offline   Reply With Quote