pressbooks / excalibur Goto Github PK
View Code? Open in Web Editor NEWExcalibur is a SWORD protocol client for Pressbooks.
License: GNU General Public License v3.0
Excalibur is a SWORD protocol client for Pressbooks.
License: GNU General Public License v3.0
SWORD V1 uses METS as metadata. We test our plugin against the mets XML Schema Definition.
In theory, anything that passes our automated test is supported. Here's an example of someone adding http://purl.org/dc/elements/1.1/relation
to their implementation (SWORD V2). We could make similar tweaks to our plugin:
That being said, our experience is that DSPACE is sometimes lacking in what it supports. So trial & error and looking at the DSPACE source code to see what actually works is par for the course.
Check the boxes below by changing them from [ ]
to [x]
.
License data is not submitted into Dspace metadata when the book is exported
Expected behavior: License data is included in the metadata
Actual behavior: License data is missing from the metadata
Check the boxes below by changing them from [ ]
to [x]
.
Make compatible with PB5 Contributors model.
More info: https://pressbooks.org/blog/2018/01/17/pressbooks-5-developer-guide/
Old Asana ticket:
To keep with our "not our license and not managed by composer" convention, we should move https://github.com/pressbooks/excalibur/tree/dev/inc/protocol/swordv1 into: https://github.com/pressbooks/excalibur/tree/dev/symbionts/swordv1
I was looking at this code the other day and this is the unfortunate result of trying to fork a PHP library as a composer depedency, failing, and for some reason (probably because I wanted to use the autoloader, time constraints,) the code ended up here. There's probably a way to use the autoloader even after the code is moved?
This plugin uses SWORD V1 because we had issues with SWORD V2.
Investigate the feasibility of SWORD V2 when multipart deposit is fixed (or removed.)
Optionally, investigate doing a POST of an Atom Entry and a PUT of the Media Resource in two distinct HTTP requests over SWORD V2.
The Gruntfile generates README.md from a WordPress standard readme.txt
We should be updating readme.txt then running: yarn run readme
to generate an updated README.md
(that way the updater will have access to the changelog etc. as per WP conventions)
Add the release asset build script to Travis.
Then whenever we tag a version there’s a downloadable release which includes all the Composer dependencies.
Need help from @greatislander
Check the boxes below by changing them from [ ]
to [x]
.
When submitting to DSpace unsuccessfully (bad username etc), the escape characters are inserted into the fields, and re-escaped at submission.
For example, if the title is "Bob's Handywork", an unsuccessful submission will change the title to Bob\'s Handywork", and subsequent unsuccessful submissions escape the escape characters which can lead to "Bob\\\'s Handywork", "Bob\\\\\\'s Handywork", and so on
Expected behavior: Expected that the fields are not modified
Actual behavior: Escape characters are inserted into content which requires a manual correction
DSPACE submission via SWORD. Detailed specifications to follow; should adopt SELF-e submission UX as a basis.
Expected behavior: Profit!
Pressbooks: 4.0.0-RC1
WordPress: 4.8
PHP: 7.1
If there is an (ebook) cover in Book Info, include that in the SWORD package.
The image should be called cover.png. It will be loaded as one of the Bitstream files for each item.
Check the boxes below by changing them from [ ]
to [x]
.
Upon successful submission of an item to DSpace, not all of the file formats created in Pressbooks are submitted to DSpace.
Notably absent are formats such as "Pressbooks XML" and "Wordpress XML" (which are labeled as WXR files in the list of exported files in Pressbooks)
Sidenote: This request is from Ryerson University
Expected behavior: All formats are exported to DSpace
Actual behavior: WXR formats are not submitted to DSpace
Per an email from Peggy French on November 26, eCampus Ontario is interested in the following metadata mapping between Pressbooks Book Info & DSpace metadata fields:
Field in Pressbooks | Field in DSpace |
---|---|
Contributing author(s) | dc.contributor.author |
Short description | dc.description |
Identifier | dc.identifier |
Citation | dc.identifier.citation |
Editor | dc.contributor.editor |
Translator | dc.contributor.translator |
Reviewer | dc.contributor.reviewer |
Illustrator | dc.contributor.illustrator |
Primary subject (THEMA drop down) | dc.subject.classification |
Copyright license (from drop down) | dc.rights.license |
Keywords | dc.subject.other |
Steel & Hugh are meeting with eCampus Ontario on December 18 and can advise on how to proceed with this and other outstanding requests (like #14) at that time. For now, just wanted to capture this message publicly for future reference.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.