2 ms·
> How could Google even work if content could not be seperated from its visual presention? Approximately. Like it did and does. The simplest way is to just st
by TeMPOraL 3y ago
> How could Google even work if content could not be seperated from its visual presention?
Approximately. Like it did and does.
The simplest way is to just strip the markup (or, for purposes of indexing, just ignore any token that resembles a HTML tag). That'll easily get you 90% there. You'll lose important information that's tied to form, but that's a consequence of operating in plaintext land. If doing this to build an index of the web, you'll have problem with scoundrels stuffing irrelevant text made invisible to humans by markup/CSS/JS, but that's exactly the problem Google used to have for a long time, and the essence of what SEO is :).
- bazoom42 3y agoHow would you crawl the web in the first place if there was no way to recognize a link in the HTML?