projects
/
web.Reader
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6318c28
)
Reader/FeedBody.php
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Dec 2015 05:09:44 +0000
(13:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Dec 2015 05:09:44 +0000
(13:09 +0800)
Reader/FeedBody.php
patch
|
blob
|
history
diff --git
a/Reader/FeedBody.php
b/Reader/FeedBody.php
index
5b49b22
..
9da80ba
100644
(file)
--- a/
Reader/FeedBody.php
+++ b/
Reader/FeedBody.php
@@
-28,6
+28,9
@@
class Reader_FeedBody extends Pman
if (!$read->get($id)) {
$this->jerr("invalid page");
}
+ if (!empty($_REQUEST['as_json'])) {
+ $this->jok(file_get_contents($read->article()->toFilename()));
+ }
if (empty($_REQUEST['flag_read'])) {
echo file_get_contents($read->article()->toFilename());
exit;