Description Usage Arguments Value Examples
View source: R/list_web_sources.R
Lists all the web sources on the Jazz server. All www resource links and urls are grouped under a "web source" which is just a name to allow removing them with a single call.
1 | list_web_sources(host = .host.)
|
host |
(Optional) the name of the jazz server host (including the port). Usually set just once via set_jazz_host(). |
Returns the web sources as a vector of string.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
set_jazz_host('127.0.0.1:8888')
page <- '<html>\n<body>\n<br/>Hello world!\n</body>\n</html>'
create_web_resource('my_test',
'/my_test/hello.html',
type_const[['BLOCKTYPE_RAW_MIME_HTML']],
page)
# See http://127.0.0.1:8888/my_test/hello.html with a browser.
list_web_sources()
delete_web_source('my_test')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.