Also support "last X" REST interface
This commit is contained in:
1
templates/default-xml/index.tpl
Normal file
1
templates/default-xml/index.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<!-- RAW XML OUTPUT! -->
|
||||
4
templates/default-xml/info.txt
Normal file
4
templates/default-xml/info.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Name: XML Engine. EXPERIMENTAL. (Developers only)
|
||||
Author: Garvin Hicking
|
||||
Date: 06.06.2006
|
||||
Require Serendipity: 1.1
|
||||
BIN
templates/default-xml/preview.png
Normal file
BIN
templates/default-xml/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
7
templates/default-xml/template.inc.php
Normal file
7
templates/default-xml/template.inc.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
// THIS FILE IS WORK-IN-PROGRESS. Mostly proof-of-code.
|
||||
// Proceed at your own risk. Read the "template_api.inc.php
|
||||
// instructions.
|
||||
include_once S9Y_INCLUDE_PATH . 'include/template_api.inc.php';
|
||||
$GLOBALS['template'] = new serendipity_smarty_emulator_xml();
|
||||
$GLOBALS['serendipity']['smarty'] =& $GLOBALS['template'];
|
||||
Reference in New Issue
Block a user