| html_text_content | R Documentation |
Extract text, title, description and language from HTML
html_text_content(html)
html |
Raw HTML as a single string. |
A list with 'text' (cleaned, lowercased), 'title', 'description' and 'lang'. Missing elements are 'NA_character_'; 'text' is '""' when nothing could be extracted.
[page_signals()], which uses this to decide whether a page is classifiable.
html <- "<html lang='en'><head><title>Example</title>
<meta name='description' content='A demo page'>
<script>ignored()</script></head>
<body><p>Hello World</p><style>p{}</style></body></html>"
html_text_content(html)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.