I need cms page content which has a short code in it, so it returns shortcode. It should return HTML instead of that. I need to solve this via soap API v1.Below is the output I got.
page title
{{block type="imagegallery/imagegallery" name="imagegallery" category_id="13" template="imagegallery/main_category_01.phtml" }} {{block type="imagegallery/imagegallery" name="imagegallery" category_id="15" template="imagegallery/main_category_01.phtml" }}
<?php
require_once('../app/Mage.php');
Mage::app();
$client = new SoapClient('http://localhost/project/api/soap/?wsdl');
$user_name = $_POST["user_name"];
$password = $_POST["password"];
$session = $client->login($user_name, $password);
$response = array();
$pageId = "41";
$page_sub_contain = Mage::getModel('cms/page')->load($pageId);
$page_main_contain = $page_sub_contain->getContent();
$result = $page_main_contain;
$response = array(
"status" => "1",
"message" => "suceess",
"contain" => $result
);
ob_start();
header('Content-type: application/json');
header('Pragma: public');
header('Cache-control: private');
header('Expires: -1');
echo json_encode($response);
exit;
?>