fromthepage
fromthepage copied to clipboard
Exporting markdown tables -- table is blank
I turned a complicated spreadsheet that the GRI had into a markdown table (using an online converter) and dropped it into a FtP page. Then I tried to export the table csv for the work in the export tab. The resulting csv had the right headers, but none of the data. (see fromthepage_tables_export_32126507_2024-07-26T15_35_37Z.csv )
Here's the work: https://fromthepage.com/display/read_work?work_id=32126507
I don't see any errors in the production log:
I, [2024-07-26T15:35:37.410309 #3177467] INFO -- : Processing by ExportController#table_csv as HTML
I, [2024-07-26T15:35:37.410493 #3177467] INFO -- : Parameters: {"work_id"=>"32126507"}
I, [2024-07-26T15:35:37.491396 #3177467] INFO -- : Rendered text template (Duration: 0.1ms | Allocations: 12)
I, [2024-07-26T15:35:37.491903 #3177467] INFO -- : Sent data fromthepage_tables_export_32126507_2024-07-26T15:35:37Z.csv (1.8ms)
I, [2024-07-26T15:35:37.498081 #3177467] INFO -- : Completed 200 OK in 87ms (Views: 1.5ms | ActiveRecord: 30.6ms | Allocations: 44698)
I, [2024-07-26T15:35:37.498383 #3177467] INFO -- : Oink Action: export#table_csv
There's a lot of special characters in the transcription -- back slashes, double semi-colons -- that might be affecting the export.