news2rss | R Documentation |
This function should take either HTML or Rd files and return a valid RSS 2.0 XML file.
news2rss(
news,
rss = NULL,
html = NULL,
encoding = "UTF-8",
channel = c(title = "", link = "", description = "", language = "", atom = "")
)
news |
Character string, path to the R NEWS file to be converted. |
rss |
Character string, path to the RSS.xml file to be written. If |
html |
Logical, whether |
encoding |
Character string, how the feed is encoded. |
channel |
A named character vector with information on this RSS feed:
|
No return value, writes a file or to stdout()
## Not run:
channel.info <- c(
title="roxyPackage",
link="http://R.reaktanz.de/pckg/roxyPackage",
description="Utilities to Automate Package Builds",
atom="http://R.reaktanz.de/pckg/roxyPackage/rss.xml")
rss.tree <- news2rss("~/R/roxyPackage/NEWS.Rd",
channel=channel.info)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.