![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This Library tries to help you receiving dsb plans from iServ.
The module tries to login with your iServ credentials and extracts the iframes out of iserv.
The difficulty behind this is, the DSB consist of many many iframes and js hrefs.
After the module got the last html page with the final plan, it will parse it into json.
const DSBLib = require('dsbiserv');
const dsb = new DSBLib('myschool.de', 'max.mustermann', 'mypassword', 'A path to a cookie session cache (OPTIONAL)', true /*DEBUG OUTPUT YES OR NO*/);
// Now you have two options. Only get the html of the plan or get it parsed as json
// Only get the html:
dsb.getDSBPlans((error, Plans) => {
console.log(Plans); // Plans is a array with every Plan as string
});
// Get parsed:
dsb.getParsed((error, Plans) => {
// Plans: Array with objects
// Object looks like this:
// {
// "date": "20.1.2017" // For which day the plan is
// "plan": [
// {
// "Klasse(n)": "10ABCD11127ABCMZ8ABLCD9ABMNMZAG",
// "Std.": "7-8",
// "Fach": "AG",
// "Lehrer": "Lehrer",
// "statt": "Lehrer",
// "Raum": null,
// "Bemerkungen": null,
// "Entfall": true,
// "Stunden": [
// 7,
// 8
// ],
// "KlassenStufen": [
// 10,
// 7,
// ...
// ],
// "KlassenBuchstaben": [
// "A",
// "B",
// ...
// ],
// "Klassen": [
// "10A",
// "10B",
// ...
// ],
// "GanzerJahrgang": false
// }
// ],
// "html": "html string"
// }
});
// Or parse it by yourself:
dsb.parsePlan(HTML, (error, Parse) => {
// You know...
});
FAQs
A library to query the dsb plan from iServ
The npm package dsbiserv receives a total of 5 weekly downloads. As such, dsbiserv popularity was classified as not popular.
We found that dsbiserv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.