Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Convert html-table-to-csv#133

Open
busterbeam wants to merge 1 commit intoliferooter:mainfrom
busterbeam:main
Open

Convert html-table-to-csv#133
busterbeam wants to merge 1 commit intoliferooter:mainfrom
busterbeam:main

Conversation

@busterbeam
Copy link

Like the app a lot, thought I would provide a useful tools that I think is helpful. could do with many more html convertors

commit message below.

This does not produce "Official CSV", the default separator is actually tabs, when it should be comma's. Easy to modify the parser object if needed. Instead of storing the string of data inside it is immediately passed out to insure low memory consumption and greater, speed so it can be written to the display buffer immediately. data is escaped on input and on output to ensure data safety. (not a HTML security expert.)

TODO:

  • Implement <caption> and <colgroup>
  • Add minimum <thead> and <tfoot> features e.g. horizontal divider line.
  • Manage multiple tables by id

This does not produce "Official CSV", the default separator is actually tabs, when it should be comma's.  Easy to modify the parser object if needed.  Instead of storing the string of data inside it is immediately passed out to insure low memory consumption and greater, speed so it can be written to the display buffer immediately.  data is `escape`d on input and on output to ensure data safety. (not a HTML security expert.)

TODO:
 - Implement `<caption>` and `<colgroup>`
 - Add minimum `<thead>` and `<tfoot>` features e.g. horizontal divider line.
 - Manage multiple tables by `id`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant