Saturday 14 September 2024 Added support for CSV format to my paste server =============================================== Recently I build a snippet-service, file-dropper and temporarily bookmarks server [1]. This service is aimed at TUI web browsers like Lynx, Links, and eww. Adding content in CSV format ---------------------------- The service now supports CSV format. Snippets in CSV format can be added by entering data into a textarea in an HTML form. CSV files can be uploaded through the HTML file uploader. The records are delimited by a new line. The fields are delimited with a semi-colon (;) optionally enclosed in double quotes ("). The semi-colon at the end of last field on the line can be omitted, in that case the service will add one. Display in table format ----------------------- CSV snippets and CSV files can be downloaded or displayed. When displayed, the service shows the CSV data in an HTML table, each field in its own TD cell. Easy way to add tabular data ---------------------------- This is a fast and easy way to add tabular data. To insert some data, only a semi-colon is required, this are for example valid formats: first field ; second field ; third field second record; next field; last field Or: "first field" ; "second field" ; "third field"; "second record"; "next field"; "last field"; Or: "first field" ; second field ; "third field" "second record"; next field; "last field"; The dislay of all three cases will be the same, a table with two rows, each with three fields. Common Lisp ----------- The service is build with Common Lisp, using Hunchentoot, the Common Lisp web server. The source code of the service can be found on Codeberg [2]. [1]: gopher://box.matto.nl/0/pastebin-and-file-dropper-server-on-codeberg.txt [2]: https://codeberg.org/mattof/hunchbin Last edited: $Date: 2024/09/14 14:23:06 $