mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
add pdf and mobi libraries
This commit is contained in:
parent
2b58426b2d
commit
4188f38ad5
297 changed files with 126557 additions and 7 deletions
22
inc/3rdparty/libraries/send2kindle/MOBIClass/ContentProvider.php
vendored
Normal file
22
inc/3rdparty/libraries/send2kindle/MOBIClass/ContentProvider.php
vendored
Normal 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();
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue