Bug 163103

Summary: Formatting of HTML tables in the clipboard (NOT to do with excel!)
Product: [Applications] konqueror Reporter: lrebrown
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 4.0.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description lrebrown 2008-06-03 00:41:32 UTC
Version:           3.9.5 (using KDE 4.0.4KDE 1.2)
Installed from:    0I Don't Know

I'm currently building a web based system in PHP. In part of the system I need the ability to copy and paste a large amount of data from tables on a third party website.

I've concluded that the best way to do this is for a user to highlight the entire table, and paste it into a HTML <textarea> form field. I can then run it through a PHP parsing algorithm which will process the formatting of the table that was placed in the clipboard, in order to extract the data (which it will then store and later produce its own tables from).

I have done an extensive study into this in several browsers, which you can find here: http://lrebrown.x10hosting.com/table_clipboard_test/

The problem is that it is completely impossible to process any of the formatting from konqueror!
Comment 1 Maksim Orlovich 2008-06-03 02:42:19 UTC
It's probably better for a script than a human being actually --- IIRC, it does one end-of-line between each column and two between each row.

And yeah, that sucks.