vanch3d / nvl-slim Goto Github PK
View Code? Open in Web Editor NEWPlaying around with twig, PHP Slim and several APIs (Zotero, GitHub, LinkedIn, Piwigo, etc.) to get a research projects mashup
License: MIT License
Playing around with twig, PHP Slim and several APIs (Zotero, GitHub, LinkedIn, Piwigo, etc.) to get a research projects mashup
License: MIT License
Need to implement Twig Extensions (or something else) to replace context-dependent formatting of customs items (github & linkedin widgets in particular)
no more to say here...
The UI for images, both inline and on the strip, is confusing and, at the moment, clearly broken or badly configured. Need to rethink their integration
The default route to a publication directly leads to PubReader:
Generating the data for file-caching at first request takes too long and might time-out.
It might be better to switch the data collection to an AJAX request on client side.
Or get a cron job to update the cache on regular basis.
At the moment, only the year seems to be retrieved but the structure remains CSL-compliant (I think), resulting in an obscure data package, e.g. "issued": { "date-parts" : [["2008"]] }
Need to look at the whole chain
Both /unapi
and /unapi?id={pub}&format={format}
with correct parameters are considered successful requests and currently respond with a 200 status.
The last version of the unAPI documentation has a cryptic comment:
302 Found for responses to the UNAPI?id=IDENTIFIER&format=FORMAT function which redirect
https://web.archive.org/web/20070107163855/http://unapi.info/specs/unapi-version-1.html
but no mention of redirection in the description of the body.
However, revision 1 of the documentation clearly states:
3. UNAPI?uri=URI&format=FORMAT
[...]
Redirects the user to the object specified by URI in the format specified by FORMAT. The content-type should be the content-type specified in the element within the unAPI format response for this format.
https://web.archive.org/web/20070102033638/http://unapi.info:80/specs/unapi-revision-1.html
/unapi?id={pub}&format={format}
should be changed to 302
<abbr>
identifiers in the templatesproblem with d3.js?
For display in a continuous timeline, the scaling is ambiguous with broad dates.
Make sure to have at least year and month in the fields.
The "all publication" UI needs to be redesigned
For example:
The SVG icon for the search button is not scaled down properly (on Firefox 57) or not displayed at all (on Chrome 63)
Note: switch to FA?
The main menu is static, including the project links.
Would be better to get it dynamically, maybe based on a "starred" attribute for the project
PubReader is doing a good job but is very old now and need either an overhaul or replacement by something more up-to-date.
To consider:
Run checks and validation with WAVE
A great oversight: never commited the tests!
And, apart from the refactored unAPI ones, they are likely gone.
Check in other backups (if lucky) or recreate them as we go through more updates
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.