hi all, is there any method that used to extract text from flash documents using php? any ideas will be appreciated..
Ok, stop right there. It is virtually impossible. Disassemble the source? Dear God! lol Does the SWF/FLA belong to you? How does the Flash object generate the text?
nothing is impossible i have seen this before somewhere, there must be a library or extension in php can perform the de-compiling thing... as u know google bot can extract text from flash.. how is that impossible?
Nothing is impossible, is one of those generic statements that people throw around. There are certain impossibilites at this very moment. Such as you using a brain cell lol I am joking of course Are you being serious? What evidence do you have? Google bot can not do that. However, flash can be optimized for web crawlers by placing certain descriptions tags or attributes in the flash object in the HTML. Seriously what are you trying to do? Whats the bigger problem? We may be able to help as trying extract text from Flash is virtually impossible.
you can try many things... 1. somehow decompiling the file and then reading it with php. 2. text recognition. I saw some character recognition in php -google it. good luck.
u need to update ur information there u go read this: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=72746 Code (markup): well all i want to do is to extract 1 word from justin.tv web-player. so if the channel is offline it will show offline word on the player..i need to extract this word so I can use it for further use, like excluding this channel from my list etc...
I stand corrected. It would be probably be simpler to make use of justin.tv API and check if they are broadcasting or not. I am not sure which method you have to call but check these out: http://apiwiki.justin.tv/mediawiki/index.php/REST_API_Documentation Surprising you mention Justin.tv as I am going to be making use of their API soon, hope we are not doing the same project.
In PHP no, but there's a commercial product that exists for it (I'm sure there's some legal agreement stating you won't use it on anyone but your own files, otherwise adobe probably would have sued them long ago). http://www.sothink.com/product/flashdecompiler/index.htm
im not sure that it helps him because he needs to access it from php. which is going to be very hard to do. look in the source of the page maybe something changes there if its on or off.