exhtml v0.1.0-beta.1 Exhtml

Exhtml serves HTML contents. It fetches content from backend storage and saves in its state. HTML contents are responded to user directly from state.

Summary

Functions

Deletes the content from a host

Gets html content from a host

Sets html content to a host with a slug

Sets the content fetcher

Fetchs and sets the content from the storage to a host’s table

Functions

delete_content(slug)

Deletes the content from a host.

get_content(slug)

Gets html content from a host.

set_content(slug, value)

Sets html content to a host with a slug.

set_content_fetcher(f)

Sets the content fetcher.

update_content(slug)

Fetchs and sets the content from the storage to a host’s table.