Construct a source for an input containing a set of articles exported from Europresse in the HTML format.
EuropresseSource(x, encoding = "UTF-8")
Either a character identifying the file or a connection.
A character giving the encoding of
This function imports the body of the articles, but also sets several meta-data variables on individual documents:
datetimestamp: The publication date.
heading: The title of the article.
origin: The newspaper the article comes from.
section: If available, the part of the newspaper containing
pages: If available, the pages where the article appeared.
Please note that it commonly happens that the encoding specified in Europresse HTML files does not correspond to the one actually used in the text: in that case, you will need to find out the correct encoding and specify it manually.
An object of class
EuropresseSource which extends the class
Source representing set of articles from Europresse.
readEuropresseHTML2 for the function actually parsing
getSources to list available sources.
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.