$this->xml->addChild('ok', $res ? '1' : '0');
}
+ public function getMetadata() {
+ global $core;
+
+ $dao = new wsDAOBook($core->con);
+ $book = $dao->selectById($this->args['book_id']);
+
+ $this->xml->addChild('title', htmlspecialchars($book->nom));
+ $this->xml->addChild('date', $book->changedate);
+ }
+
public function getBookInfos() {
global $core;
$dao = new wsDAOBook($core->con);
$phonegap = CubeIT_Mobile_Phonegap::create($os);
$phonegap->setName($collection->nom);
$phonegap->setId($collection->settings['namespace']);
- $phonegap->setAuthor('Fluidbook', 'contact@fluidbook.com', 'http://www.fluidbook.com');
+ $phonegap->setAuthor('Fluidbook', 'contact@fluidbook.com', 'https://www.fluidbook.com');
$phonegap->setVersion($collection->settings['version']);
$phonegap->setBuild($collection->settings['build']);
if ($os == 'android') {
if ($this->action == 'references') {
//$root = 'fluidbook@www.fluidbook.com:/home/fluidbook/www/references/';
$root = '/mnt/sshfs/fluidbook/www/references/';
- $rootURL = 'http://www.fluidbook.com/references/';
+ $rootURL = 'https://www.fluidbook.com/references/';
} else if ($this->action == 'hosting') {
//$root = 'fluidbook@hosting.fluidbook.com:/home/fluidbook/hosting/';
$root = '/mnt/sshfs/fluidbook/hosting/';
protected function makeHTMLFooter() {
$res = '<footer>';
- $res .= '<h2><a href="http://www.fluidbook.com">Fluidbook : Solution de catalogues interactifs et brochures en ligne</a></h2>';
+ $res .= '<h2><a href="https://www.fluidbook.com">Fluidbook : Solution de catalogues interactifs et brochures en ligne</a></h2>';
$res .= '</footer>';
return $res;
}