Using SVN to track changes inside ePub
Are you missing a feature? Request its implementation here.
-
- Posts: 37
- Joined: Fri May 20, 2011 6:07 pm
Using SVN to track changes inside ePub
Oxygen offers such great support for working with ePubs: the ability to edit and search inside without unzipping it is invaluable.
I'm starting to implement my epub work in an SVN repository. At a glance, it looks like the SVN client can't track differences inside an ePub, even though all the files inside the ePub are text files.
Is there a way to track changes inside an ePub using SVN without having to unzip it? If not, this feature would be a HUGE help in ePub production workflows.
I'm starting to implement my epub work in an SVN repository. At a glance, it looks like the SVN client can't track differences inside an ePub, even though all the files inside the ePub are text files.
Is there a way to track changes inside an ePub using SVN without having to unzip it? If not, this feature would be a HUGE help in ePub production workflows.
-
- Posts: 2885
- Joined: Tue May 17, 2005 4:01 pm
Re: Using SVN to track changes inside ePub
Hello,
Subversion(SVN) tracks changes at file level and as long as what you're keeping in the repository is the EPUB file, it will only track that file(as binary). It's true that the EPUB file is a container(with files) but SVN does not handle this aspect.
If the files contain work in progress I'd recommend keeping them outside of the EPUB on the SVN repository. Besides, with a simple script an EPUB can be constructed at any time from these files.
We frequently encounter people keeping their work in progress in EPUB files. Don't get me wrong this is quite possible and even preferred if you only need your work in one format(EPUB/XHTML).
However, it is generally good practice to keep your content in a more flexible XML document format(e.g. DocBook, DITA) then process that content into published formats(PDF, EPUB). This allows a lot of flexibility when a new published format appears or when you need to republish your content with a new formatting or layout(different headers/footers, decorations, etc).
Regards,
Adrian
Subversion(SVN) tracks changes at file level and as long as what you're keeping in the repository is the EPUB file, it will only track that file(as binary). It's true that the EPUB file is a container(with files) but SVN does not handle this aspect.
If the files contain work in progress I'd recommend keeping them outside of the EPUB on the SVN repository. Besides, with a simple script an EPUB can be constructed at any time from these files.
We frequently encounter people keeping their work in progress in EPUB files. Don't get me wrong this is quite possible and even preferred if you only need your work in one format(EPUB/XHTML).
However, it is generally good practice to keep your content in a more flexible XML document format(e.g. DocBook, DITA) then process that content into published formats(PDF, EPUB). This allows a lot of flexibility when a new published format appears or when you need to republish your content with a new formatting or layout(different headers/footers, decorations, etc).
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service