WebCorpus
adds further methods and meta data to Corpus
and therefore
constructs a derived class of Corpus
. Most importantly, WebCorpus
calls $PostFUN
on the generated WebCorpus
, which retrieves the main content
for most implemented WebSource
s. Thus it enables an efficient retrieval of new feed items
(corpus.update
). All additional WebCorpus fields are added to tm$meta
like $source
, $readerControl
and $postFUN
.
1 2 |
x |
object of type Source, see also |
readerControl |
specifies reader to be used for |
postFUN |
function to be applied to WebCorpus after web retrieval has been completed, defaults to x$PostFUN |
retryEmpty |
specifies if retrieval for empty content elements should be repeated, defaults to TRUE |
... |
additional parameters for Corpus function (actually Corpus reader) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.