You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,18 @@ HTML-Table-to-JSON
3
3
4
4
Author: Colin Tremblay
5
5
6
-
Date: Tuesday, 12th November, 2013
6
+
Date: Friday, 15th November, 2013
7
7
8
8
## About
9
9
Easily scrape and parse a table stored on a web page.
10
10
11
11
This project is still in ALPHA, meaning it is not fully functional!
12
12
13
-
The current version is .6
13
+
The current version is .7
14
14
15
-
The project currently works on most HTML tables. Features similar to those in the javascript version (https://github.com/lightswitch05/table-to-json) by @lightswitch05 will be added soon.
15
+
The project currently works on most HTML tables. Nested tables and tables containing malicious inputs have not been dealt with.
16
+
17
+
Features similar to those in the javascript version (https://github.com/lightswitch05/table-to-json) by @lightswitch05 are being added incrementally.
16
18
17
19
## Usage
18
20
To get the parser, simply download the 4 php files in 'src.'
@@ -60,6 +62,11 @@ Note about php and optional arguments: If you wish to use an argument lower on t
60
62
61
63
sample.php has examples of the correct usage.
62
64
65
+
### TODO
66
+
- Override cell names/data
67
+
- Handle html tags within a cell better (as attribute of the cell). ex: links within the cell
68
+
- Do something with the style and/or class of a given cell, row, or column. This information could be useful in some cases and shouldn't be hard to access.
69
+
- Code cleanup/refactor
63
70
64
71
For support, feedback, suggestions etc. please email tremblay@grinnell.edu
0 commit comments