Animated Vs html based websites
-
Hi all A quick question, I have built an MFC application and embedded a web browser control. How do I know the type of the webpage accessed, whether animated or html based? Thanks
llp00na
llp00na wrote:
I have built
"have" as in past tense?
llp00na wrote:
How do I know the type of the webpage
Don't you think that might have been something to study before developing the application? You could parse the HTML to find any information you require. Also there are HTTP headers that might contain information you require. If either of those are something you don't understand then you should consider starting to read (about them) and leave off the internet forums for a while. Both subjects are well documented and the documentation is freely available on the internet.
-
Hi all A quick question, I have built an MFC application and embedded a web browser control. How do I know the type of the webpage accessed, whether animated or html based? Thanks
llp00na
What do you mean by 'animated'? Also, pretty much all web-pages have at least an outer layer of HTML, no matter what their content.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
llp00na wrote:
I have built
"have" as in past tense?
llp00na wrote:
How do I know the type of the webpage
Don't you think that might have been something to study before developing the application? You could parse the HTML to find any information you require. Also there are HTTP headers that might contain information you require. If either of those are something you don't understand then you should consider starting to read (about them) and leave off the internet forums for a while. Both subjects are well documented and the documentation is freely available on the internet.
Let me try again I know what HTML and HTTP headers are. I am trying to detect this automatically. Let's say the user types in the URL of a website, I want the application to report back to him: The website you entered is "Fully nnimated" Or The website you entered is "HTML-Based" You got my question now???
llp00na
-
What do you mean by 'animated'? Also, pretty much all web-pages have at least an outer layer of HTML, no matter what their content.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Right - in that case, you probably want to parse the HTTP response (which is overwhelmingly likely to be HTML) and see if it has an instance of the Flash player object embedded in it. How do you identify the Flash object? I'd suggest looking at the HTML for pages that use Flash (load them in your browser and view the page source - the Flash object instance should be reasonably easily detectable). How do you differentiate between pages that use Flash for the majority of their content and pages that just have Flash adverts? Good question - I don't know.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Right - in that case, you probably want to parse the HTTP response (which is overwhelmingly likely to be HTML) and see if it has an instance of the Flash player object embedded in it. How do you identify the Flash object? I'd suggest looking at the HTML for pages that use Flash (load them in your browser and view the page source - the Flash object instance should be reasonably easily detectable). How do you differentiate between pages that use Flash for the majority of their content and pages that just have Flash adverts? Good question - I don't know.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Hi all A quick question, I have built an MFC application and embedded a web browser control. How do I know the type of the webpage accessed, whether animated or html based? Thanks
llp00na
What is an animated web site ? a fully flash (or silverlight) site ? or something else ? :confused:
This signature was proudly tested on animals.
-
What is an animated web site ? a fully flash (or silverlight) site ? or something else ? :confused:
This signature was proudly tested on animals.
-
After parsing the html source, how can you decide that the major content of a page is in flash or not ?
This signature was proudly tested on animals.
-
After parsing the html source, how can you decide that the major content of a page is in flash or not ?
This signature was proudly tested on animals.
-
Let me try again I know what HTML and HTTP headers are. I am trying to detect this automatically. Let's say the user types in the URL of a website, I want the application to report back to him: The website you entered is "Fully nnimated" Or The website you entered is "HTML-Based" You got my question now???
llp00na
llp00na wrote:
You got my question now???
Maybe. And maybe I don't care a bit about. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Website is a display. While some people unfortunately use diagonals to measure displays, I prefer width and height attributes. Fortunately, so do s in webpages, usually. All that's left to do is pick a "total area" number, & compare.
-
My main concern really is to detect the pages that use Flash for the majority of their content. Thanks for the try though
llp00na
llp00na wrote:
Thanks for the try though
Thanks for the try? Really? That is the answer to your question, period. Not surprisingly it's the same one I gave you. You seem to want us to believe that you have a clue about what you are doing. The problem is that your post don't indicate that in any way.