Git Product home page Git Product logo

Comments (3)

steven1350 avatar steven1350 commented on July 28, 2024 1

I have modified the file as requested, and I can confirm that the XML files are now successfully transferring as expected

from excalibur.

dac514 avatar dac514 commented on July 28, 2024

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.

SteelWagstaff avatar SteelWagstaff commented on July 28, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.