1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

use directly MOBIClass

This commit is contained in:
tcit 2014-07-24 21:56:04 +02:00
parent c70bfefc68
commit fb9df0c269
47 changed files with 309 additions and 1551 deletions

View file

@ -0,0 +1,22 @@
<?php
abstract class ContentProvider{
/**
* Get the text data to be integrated in the MOBI file
* @return string
*/
public abstract function getTextData();
/**
* Get the images (an array containing the jpeg data). Array entry 0 will
* correspond to image record 0.
* @return array
*/
public abstract function getImages();
/**
* Get the metadata in the form of a hashtable (for example, title or author).
* @return array
*/
public abstract function getMetaData();
}
?>