NCGThompson / CS-485-Project-1

0 stars 0 forks source link

Display Current Device information #3

Closed NCGThompson closed 8 months ago

NCGThompson commented 9 months ago

From the assignment:

You can obtain the current values of the dataset at https://smstestbed.nist.gov/vds/current.

Within the data return from the sample and current endpoints are data items under each “device.” Each data item has a value and set of attributes, and each device has a set of data items. Keep in mind that despite the webpage for these HTTP requests looking like HTML, it is XML. If you view the source of the page, it’ll show you the XML result.

The following features must be enabled in your web application: The ability to list current data that automatically updates once a second.

If I understand react correctly, we can just dump the xml data now, and then make it pretty latter. I think displaying the current data is a good second step.

This repository might be useful: https://github.com/dwarfcoder/xml-viewer-angular-demo

NCGThompson commented 9 months ago

Do we actually need Angular to read the XML as described here, or do we just display it as an html object?

NCGThompson commented 8 months ago

We likely won't use #10, but either way just making it technically solved the issue.