Skip to content

Commit

Permalink
Fixed a few issues with MD. Made a small mini-design to become indepe…
Browse files Browse the repository at this point in the history
…ndent from Webfan-JS
  • Loading branch information
danielmarschall committed Aug 4, 2023
1 parent 599e465 commit cafd1b7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
16 changes: 13 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>WEID - An alternate OID notation extension</title>

<meta charset="utf-8" />
<title>WEID - An alternate OID notation extension</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="WeidOidConverter.js"></script>
</head>
<style>
@media only screen and (min-width: 801px) {
body {
margin-left: 20%;
margin-right: 20%;
}
}
body {
font-family: sans-serif;
}
</style>
<script>
function oidInputChanged() {
var tmp = WeidOidConverter.oid2weid(document.getElementById('oid').value);
Expand Down
16 changes: 5 additions & 11 deletions implementations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can obtain an OID as WEID and manage your own arc, e.g. by:
### Code
* JavaScript: [WeidOidConverter.js](https://github.com/danielmarschall/oidplus/blob/master/plugins/viathinksoft/objectTypes/oid/WeidOidConverter.js)
* PHP: [WeidOidConverter.class.php](https://github.com/danielmarschall/oidplus/blob/master/plugins/viathinksoft/objectTypes/oid/WeidOidConverter.class.php)
* Delphi: [WEID_Delphi.pas(https://github.com/danielmarschall/oidplus_dos/blob/master/WEID_Delphi.pas)
* Delphi: [WEID_Delphi.pas](https://github.com/danielmarschall/oidplus_dos/blob/master/WEID_Delphi.pas)
* Turbo Pascal: [WEID.pas](https://github.com/danielmarschall/oidplus_dos/blob/master/WEID.PAS) [VTSFUNCS.pas (Dependency)](https://github.com/danielmarschall/oidplus_dos/blob/master/VTSFUNCS.PAS)


Expand All @@ -23,13 +23,9 @@ We recommend the software [OIDplus](https://oidplus.com/) if you like to run you

<a name="convert"></a>

### Online OID/WEID Converter
### Online OID/WEID Converter
You can use our online converter to test the conversion between OID/WEID:




<h3>Online OID/WEID Converter</h3><p>You can use our online converter to test the conversion between OID/WEID:</p>
<h4>Convert OID to WEID</h4>
<p><b>Input:</b> <input type="text" value="2.999" name="oid" id="oid" oninput="oidInputChanged();" style="width:500px"></p>
<div id="weid2a"></div>
Expand All @@ -39,19 +35,17 @@ You can use our online converter to test the conversion between OID/WEID:
<p><b>Input:</b> <input type="text" value="weid:EXAMPLE-?" name="weid" id="weid" oninput="weidInputChanged();" style="width:500px"></p>
<div id="weid2b"></div>
<div id="oid2b"></div>
<br>
<br><br><br>
<a name="test"></a>
<br><br>

<!--
<a name="test"></a>
<h3>Online OID/WEID-Converter (Beta)</h3>
<p>You can use our online converter to test the conversion between OID/WEID:</p>
<frdlweb-oid2weid></frdlweb-oid2weid>
<br /><strong frdl-if-js-remove="2000">Loading...</strong>
<br /><br />
-->

<br />
<br />
<script>
oidInputChanged();
weidInputChanged();
Expand Down
6 changes: 3 additions & 3 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ The registry of sub-namespaces (URN prefixes) has currently following entries:

* Namespace `weid:` (Also called "Class C" WEID)
* Root OID is `1.3.6.1.4.1.37553.8`
* Example: OID `1.3.6.1.4.1.37553.8.32488192274` can be written as `weid:EXAMPLE-3` (3 is the check-digit)
* Example: OID `1.3.6.1.4.1.37553.8.32488192274` can be written as `weid:EXAMPLE-3` (`3` is the check-digit)
* The registration of WEID Alphanumeric OIDs beneath this arc is managed by Webfan.de in order of FRDLWEB. You can assign as Private WEID by Frdlweb here: https://registry.frdl.de/?goto=com.frdlweb.freeweid


* Sub-Namespace `weid:pen:` (Also called "Class B" WEID)
* Root OID is `1.3.6.1.4.1`
* Example: OID `1.3.6.1.4.1.37476.9999` can be written as `weid:pen:SX0-7PR-6` (6 is the check-digit)
* Example: OID `1.3.6.1.4.1.37476.9999` can be written as `weid:pen:SX0-7PR-6` (`6` is the check-digit)
* The registration of Private Enterprise Numbers (PEN) is managed by IANA. You can register a PEN here:
[https://pen.iana.org/pen/PenApplication.page](https://pen.iana.org/pen/PenApplication.page)


* Sub-Namespace `weid:root:` (Also called "Class A" WEID)
* Root OID is the OID tree root
* Example: OID `2.999` can bet written as `weid:root:2-RR-2` (2 is the check-digit)
* Example: OID `2.999` can bet written as `weid:root:2-RR-2` (`2` is the check-digit)


* More sub-namespaces can be added to this registry in the future. The sub-namespaces must be defined by the [WEID consortium](https://www.startforum.de/s/weid/) (ViaThinkSoft and WebFan) in a [Specification Change](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.6.1).
Expand Down

0 comments on commit cafd1b7

Please sign in to comment.