Comments (3)
I have modified the file as requested, and I can confirm that the XML files are now successfully transferring as expected
from excalibur.
In my tests with Dspace not all the file types worked.
The code in excalibur/inc/dspace/class-deposit.php
defines that this plugin only supports:
static public $supportedExportTypes = [
'pdf',
'print-pdf',
'epub',
'epub3',
'mobi',
'xhtml',
];
Where supportedExportTypes
are array keys from the following filter in In \Pressbooks\Utility\latest_exports
:
$filetypes = apply_filters(
'pb_latest_export_filetypes', [
'epub3' => '._3.epub',
'epub' => '.epub',
'pdf' => '.pdf',
'print-pdf' => '._print.pdf',
'mobi' => '.mobi',
'icml' => '.icml',
'htmlbook' => '.-htmlbook.html',
'xhtml' => '.html',
'wxr' => '.xml',
'vanillawxr' => '._vanilla.xml',
'mpdf' => '._oss.pdf',
'odf' => '.odt',
]
);
Can you modify $supportedExportTypes
, add 'wxr', 'vanillawxr'
, and tell me if it works for you?
If yes, are you recommending we support all files?
from excalibur.
@steven1350 -- we just got an email request from one of your colleague at eCampus Ontario on this issue. Some clarification would help me as I work on a response, namely, were you able to modify the array as suggested by @connerbw above? If so, do you have answers to the two questions posed?
from excalibur.
Related Issues (13)
- DSPACE submission via SWORD HOT 6
- Compatibility with Pressbooks 5 HOT 1
- Special Characters being escaped multiple times
- No licence data in DSpace HOT 2
- Switch release process to use wp dist-archive HOT 1
- DSpace Metadata Mapping Request from eCampus Ontario
- Move BSD licensed code into symbionts
- If there is an (ebook) cover in Book Info, include that in the SWORD package.
- Fix README
- Fix build process HOT 2
- Investigate using SWORD V2 when multipart deposit is fixed
- Support additional metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excalibur.