RE: Epub package for MiniApp?

… someone will correct me if I'm wrong 😉

 

Okay, I’ll take the bait…

 

OCF was not a separate format that was adapted for EPUB, but an implementation for EPUB based on ODF’s packaging that was designed to also be usable for other formats (primarily as a future replacement for ODF).

 

The idea of it being a generic container was scrapped with 3.0, though, as it never panned out and it was a source of confusion about why other formats could be bundled together in an epub publication.

 

So as of the 3.0 revision, OCF requires a reference to an EPUB package document in the container file, and subsequently was tightened even further to only referencing package documents.

 

You could use OCF 2.0.1, of course, as it doesn’t require a specific content type, but even beside its age it might be confusingly publication-centric for an app spec. What they’ve defined looks not that dissimilar from LPF <https://www.w3.org/TR/lpf/> , except that again is bound to publications.

 

Matt

 

From: Lars Wallin <lars@colibrio.com> 
Sent: March 7, 2021 3:47 AM
To: Zheng Xu <zhengxu7806@gmail.com>
Cc: W3C Publishing Community Group <public-publishingcg@w3.org>; public-chinese-web@w3.org
Subject: Re: Epub package for MiniApp?

 

Hi Zheng 👋

The EPUB OCF is really a straight implementation of the Open Container Format, which was designed an a generic container format. I think it was a pre-existing format, someone will correct me if I'm wrong 😉

 

Anyway, what I mean to say is that the OCF should work fine for many types of content.

 

I need to do some reading on the MiniApp concept 🙂

 

Ciao 👋

 

On Sat, 6 Mar 2021, 18:08 Zheng Xu, <zhengxu7806@gmail.com <mailto:zhengxu7806@gmail.com> > wrote:

Reading this spec 
https://www.w3.org/TR/mini-app-white-paper/#constructor I can not help 
wondering if MiniApp could adopt Epub as container since we are both 
zipped packages.


I filed an issue for now 
https://github.com/w3c/mini-app-white-paper/issues/2 just for record.


Cheers,

-- 
Zheng Xu

W3C: https://www.w3.org/users/129468
Github: https://github.com/Jeffxz

Received on Tuesday, 9 March 2021 13:33:47 UTC