Διαφορές ανάμεσα στην αναθεώρηση του/της 21:39, 1 Απρίλιος 2012, που δημιουργήθηκε από τον/την tonicucoz, και την αναθεώρηση του/της 21:34, 1 Απρίλιος 2012
Σημείωση: το κείμενο με κόκκινο έχει διαγραφεί από την προηγούμενη αναθεώρηση, το κείμενο με πράσινο έχει προστεθεί σε αυτή την αναθεώρηση και το κείμενο με γκρι δεν έχει αλλαχθεί
Διαφορές στην καταχώρηση: ο τίτλος
how to send data to h-node.org
Διαφορές στην καταχώρηση: Το κείμενο της σελίδας του wiki
__TOC__

[p]In order to send data to h-node.org you need to carry out a simple HTTP request with the data transmitted by the POST method.[/p]

[p]
The server (h-node.org) takes the value of the entries of the devices from the data sent by means of the POST method.[/p]

[p]The data sent by the POST method are formed by a long chain of POST variables, each one having his own value. In the following you will find the complete list of variables that the server expects for each hardware category.[/p]

[h1]List of variables to be sent for each device[/h1]

[h2]Devices that are not notebooks[/h2]

[p]List of variables for the devices other than notebooks, netbooks or tablets[/p]

[h3]Common variables[/h3]
[p]
This is the list of POST variables that are common to all the hardware categories (other than notebooks).[/p]

[list]
[*] [b]model[/b]: the model name as taken from lspci or lsusb. It is the model name entry when you insert a device using the browser
[list]
[*] [i]data format[/i]: [a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/]+[/*]
[*] [i]maximum length[/i]: 99 characters (UTF-8)[/*]
[/list]
[/*]
[*] [b]other_names[/b]: a free text entry containing the name of the device as taken from the device box or as printed on the device itself
[list]
[*] [i]data format[/i]: free[/*]
[*] [i]maximum length[/i]: 1000 characters (UTF-8)[/*]
[*] [i]notice[/i]: use \r\n as line break character[/*]
[/list]
[/*]
[*] [b]pci_id[/b]: the vendorid:productid of the device
[list]
[*] [i]data format[/i]: [a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}[/*]
[/list]
[/*]
[*] [b]comm_year[/b]: year of commercialization
[list]
[*] [i]data format[/i]: numeric representation of the year. Example: 2012.[/*]
[*] [i]allowed values[/i]: [code]not-specified,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995,1994,1993,1992[/code][/*]
[/list]
[/*]
[*] [b]distribution[/b]: the name of the GNU/Linux distribution used for the test[/*] test
[list]
[*] [i]allowed values[/i]: [code]blag_90001 , blag_120000 , blag_140000 , dragora_1_1 , dragora_2_0 , dynebolic_2_5_2 , dynebolic_3_0_X , gnewsense_2_3 , gnewsense_3_0 , musix_2_0 , parabola , trisquel_3_5 , trisquel_4_0 , trisquel_4_5 , trisquel_5_0 , trisquel_5_5 , ututo_xs_2009 , ututo_xs_2010 , venenux_0_8 , venenux_0_8_2 [/code][/*]
[*] [i]example[/i]: blag_90001,gnewsense_3_0,trisquel_4_0[/*]
[/list]
[/*]

[*] [b]kernel[/b]: the version of the kernel libre used for the test[/*]
[*] [b]driver[/b]: driver used to make the device working[/*]
[*] [b]description[/b]: a free text entry containing the description of the device[/*]
[/list]

[h1]The URLs to be used for the POST requests[/h1]
The contents of this page are in the Public Domain. (see the CC0 page for detailed information). Anyone is free to copy, modify, publish, use, sell, or distribute the text for any purpose, commercial or non-commercial, and by any means.
h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
JavaScript license information