DotAdmin User Guide
get_content_text
/content/ajax/get_content_text/?[ARGS]
Returns the content text of a document as a plaintext response.
Arguments
Arguments are sent to this AJAX handler using the GET method. The arguments which can be used are listed below:
|
Key
|
Value
|
Meaning
|
|
document (REQUIRED)
|
ID STRING
|
ID of document required
|
|
format
|
html/plaintext Default: html
|
Return content as original HTML or plaintext (tags stripped out)
|
|
num_chars
|
INTEGER
|
Only return first [n] chars of content
|
|