Grandt / PHPePub

PHP Classes for dynamically generating EPub files.
http://www.phpclasses.org/package/6115
241 stars 83 forks source link

Public access to opf->addMeta #10

Closed bvanhaverbeke closed 11 years ago

bvanhaverbeke commented 11 years ago

Hello,

I would like to be able to add custom metafields in the opf. More in particular I would like to be able to add :

This could be solved to add a function like epub->addCustomMeta which directly runs opf->addMeta.

Thanks in advance.

Grandt commented 11 years ago

I'll look at it, but it probably won't be till sometime tomorrow.

But if you need it sooner than I can add it, lets settle on the definition public function addMeta($name, $content) { }

in the EPub class, I'll fill it in asap. There is no real reason to add the "Custom", as they are just key/value pairs.

Cheers

On 26-03-2013 13:48, bvanhaverbeke wrote:

Hello,

I would like to be able to add custom metafields in the opf. More in particular I would like to be able to add :

This could be solved to add a function like epub->addCustomMeta which directly runs opf->addMeta.

Thanks in advance.

— Reply to this email directly or view it on GitHub https://github.com/Grandt/PHPePub/issues/10.

Grandt commented 11 years ago

Sorry I never got back to you about this.

I've added a few more functions for metadata.